From Peugeot 508 sw - Wiki - everything you need to know about your Peugeot 508 sw

PmWikiJa: AllGroupHeader

Question

How do I create a Site.AllGroupHeader page which can contain styles and content for all pages in all groups?

Answer

If the group contains a wiki page called GroupHeader, that page will be included first in every group. Pmwiki achieves this by use of the variable $GroupHeaderFmt. This variable can be redefined in local/config.php to have a page Site.AllGroupHeader at the top of all wiki pages in all groups through the following:

 
$GroupHeaderFmt = '(:include $SiteGroup.AllGroupHeader:)(:nl:)'.
		  '(:include $Group.GroupHeader:)(:nl:)';

The variable $SiteGroup usually refers to Site/, so unless you change it, the page that defines the site wide header will be Site.AllGroupHeader. See Cookbook.MainGroupChange for more details about changing the default group.

Notes and Comments

 
$GroupFooterFmt = '(:include $SiteGroup.AllGroupFooter:)(:nl:)'.
		  '(:include $Group.GroupFooter:)(:nl:)';

See Also

Contributors

-- Pm, Christian, Hans


Category: Layout

Retrieved from https://www.508sw.eu/PmWikiJa/AllGroupHeader
Page last modified on September 10, 2011, at 08:48 PM