Bioscanners Project PmWiki - GroupHeaders and GroupFooters |
||
--> (:comment included in PmWiki localisation headers and footers :) authors (intermediate) Every WikiGroup can have
To create a group header, just create a new page called The default If a generic If you want a header or footer to appear when you print a page (action print), simply create a page called You can also set the variable See also How do I set the same header or footer for all pages/groups? The header and footer for each page are controlled by the variables ### If you use Site.SiteHeader and Group.GroupHeader $GroupHeaderFmt = '(:include {$SiteGroup}.SiteHeader' . ' basepage={*$FullName}:)(:nl:)' . $GroupHeaderFmt; ### If you use Site.SiteHeader instead of Group.GroupHeader $GroupHeaderFmt = '(:include {$SiteGroup}.SiteHeader' . ' basepage={*$FullName}:)(:nl:)'; ### If you use Site.SiteFooter and Group.GroupFooter $GroupFooterFmt .= '(:nl:)(:include {$SiteGroup}.SiteFooter' . ' basepage={*$FullName}:)'; ### If you use Site.SiteFooter instead of Group.GroupFooter $GroupFooterFmt = '(:nl:)(:include {$SiteGroup}.SiteFooter' . ' basepage={*$FullName}:)'; Note that single quotes must be used in the lines above. See also the Cookbook:AllGroupHeader recipe. Instead of using an additional page, you could set any wiki text in $GroupHeaderFmt .= "Global message here.";
(:comment included in PmWiki localisation headers and footers :) This page may have a more recent version on pmwiki.org: PmWiki:GroupHeaders, and |
|
Edit -
History -
Print -
Recent Changes -
Search
Page last modified on August 09, 2022, at 10:27 AM Using Modified Blue Zinfandel Wordpress Theme created by Brian Adjusted for by Dr. Detlef Groth www.dgroth.de |