Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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