[pmwiki-users] GroupHeader above Title?

Mikael Nilsson mini at nada.kth.se
Wed Dec 14 12:08:33 CST 2005


ons 2005-12-14 klockan 12:02 -0600 skrev Patrick R. Michaud:

> > I'd like something like:
> > 
> > <!--GroupHeader-->
> > 
> > <!--PageTitleFmt-->
> >           <h1>$Title</h1>
> > <!--/PageTitleFmt-->
> > 
> > <!--PageText-->
> > <!--GroupFooter-->
> > 
> > Is there a way?
> 
> Eliminate the title from the template, and put !{$Title} in
> the GroupHeader.  Or, set the following in pmwiki.php:
> 
>     $GroupHeaderFmt = '(:include $Group.$GroupHeader:)(:nl:)!$Title(:nl:)';
> 
> which adds !$Title to the markup after the GroupHeader.
> 
> Note, however, that GroupHeader and GroupFooter are only displayed
> when ?action=browse (they're considered to be part of the page markup),
> so the page title might not appear with other actions.

Fair enough.... that's absolutely good enough for me.

Thanks!

/Mikael

> 
> Pm
> 
-- 
Plus ça change, plus c'est la même chose





More information about the pmwiki-users mailing list