[pmwiki-users] title directive does not affect the whole title?
Dominique Faure
dominique.faure at gmail.com
Fri Nov 25 11:58:46 CST 2005
2005/11/25, Hans <design at softflow.co.uk>:
> Friday, November 25, 2005, 2:08:10 PM, Stephan wrote:
> > thank you Hans, this is what I was afraid of.....
>
> with gemini and fixflow skins you can use a custom markup
> (:nogroup:) which suppresses the display of the group name
> on the page. Comes in useful from time to time.
>
> Sometimes I fantasised if a (:grouptitle:) markup would be
> useful, to work similar to the (:title:) markup.
> But it seems technically a hard nut.
>
I use the following markup for several months without any problems
(extracted from Markup Extensions by John Rankin):
Markup('grouptitle', 'directives',
'/\\(:grouptitle\\s(.*?):\\)/ei',
"PZZ(\$GLOBALS['PCache'][\$pagename]['grouptitle']=PSS('$1'))");
$FmtP['/\\$Groupspaced/e'] =
'(@$PCache[$pagename]["grouptitle"]) ?
$PCache[$pagename]["grouptitle"] : $AsSpacedFunction(@$match[1])';
More information about the pmwiki-users
mailing list