[pmwiki-users] (:title:) of (:include:) included pages overrides page title
list_ob at gmx.net
Fri Feb 6 08:47:11 CST 2009
Petko Yotov wrote:
>>> "PZZ(IsEnabled(\$GLOBALS['PCache'][\$pagename]['=p_title'], false) ||
>>> \$zz=array('title' => SetProperty(\$pagename, 'title',
>> The code above eliminates the title from included pages, but (:title:)
>> from GroupHeader still overrides (:title:) on the page.
>In config.php it should start with 'xtitle' instead of 'title'.
> Markup('xtitle','<include', #... etc.
Then it doesn't even suppress the title from included pages.
Even funnier: if both GroupFooter and GroupHeader set a title, display
of the pages GroupFooter and GroupHeader shows the title of the other
page, respectively. Therefore...
>While this works, we may adopt a different approach for the core,
...I agree with this suggestion. If there is consensus about changing
the behaviour, it seems the best solution to me.
I wouldn't invest too much time in quick fixes.
More information about the pmwiki-users