PmWiki »
Group Headers |
|
|
authors (intermediate) Every Wiki Group can have GroupHeader and GroupFooter pages that contain markup that should be included at the beginning or end of each page within the group. This feature is useful for:
To create a group header, just create a new page called The default GroupHeader or GroupFooter can be suppressed on an individual page (such as a group's HomePage) by using the If a generic GroupHeader is used in one wikigroup (say, the Site wikigroup), then the code can be easily duplicated in the GroupHeader of any other group by using
<< Wiki Groups | Documentation Index | Wiki Trails >> How do I set one header for all pages/groups? The header for each page is controlled by the
$GroupHeaderFmt = '(:include {$SiteGroup}.SiteHeader:)(:nl:)' . $GroupHeaderFmt;
(note that single quotes must be used so that See also the Cookbook:All Group Header page. Any form of markup is valid in $GroupHeaderFmt .= "Global markup text here.";
|
| If you would like to help improve this site, please Contact Us and we will give you the password to edit pages. | |
| Page last modified on August 15, 2006, at 02:50 PM PmWiki Info | |