Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This patch allows to define the frontpage in case of when it is redefined through a view.
I replace "if ($drupal_title)" with "if ( drupal_is_front_page() )" and reverse logic in function page_title_page_get_title().
Comment | File | Size | Author |
---|---|---|---|
#1 | frontpage.patch | 907 bytes | JohnAlbin |
page_title.module_3.patch | 1.29 KB | VLAD_X@drupal.ru |
Comments
Comment #1
JohnAlbinThere’s a small bug in your patch. Here’s an updated patch with the fix.
Also, your patch file is strange. It gave me several “patch unexpectedly ends in middle of line” errors when trying to apply it. And I’ve not seen patch files with !’s in it.
- John
Comment #2
nicholasThompsonFixed in Drupal 5.x: http://drupal.org/cvs?commit=65460
Fixed in Drupal 4.7: http://drupal.org/cvs?commit=65461
Comment #3
killes@www.drop.org CreditAttribution: killes@www.drop.org commented