Closed (won't fix)
Project:
Page Title
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 May 2007 at 17:25 UTC
Updated:
8 May 2007 at 20:40 UTC
After install, creating a new site in "sites" folder will generate the " page_title_page_get_title()" error, the front page is unavailable to setup.
I think the error is cused by the fact that the module is not enabled (yet), so the function is not available.
My dirty fix was to put
if (function_exists('print page_title_page_get_title()')) { print page_title_page_get_title();}else {print $head_title;}
in the tpl.php theme file.
I did not tried if the bug appear in the "template.php" instalation.
I am not a php programmer, so probably this fix is not the best option, I hope you'll find a better one.
Comments
Comment #1
TinTin_Pinguin commentedOoops, the right code is :
if (function_exists('page_title_page_get_title')) { print page_title_page_get_title();}else {print $head_title;}Now tested also :P
Mea clupa
TinTin
Comment #2
nicholasthompsonHehe - always the way - the error is found soon after posting about it :-)
Comment #3
nicholasthompsonHehe - always the way - the error is found soon after posting about it :-)