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 commented