Descarregueu  el navegador Mozilla Firefox, per a una visualització web millor i més segura
Descarregueu l'Adobe Reader, per a documents PDF

authors (intermediate) Every WikiGroup 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:

  • adding a disclaimer or heading to all of the pages of a group
  • defining custom WikiStyles that may be used for all pages in a group
  • replacing the default headers and/or footers for pages in a group (e.g., using (:noheader:) and or (:nofooter:) -- see PageDirectives).

To create a group header, just create a new page called YourGroup.GroupHeader. Group headers allow authors to create groups with custom headers and footers without having to coordinate with a wiki administrator.

The default GroupHeader or GroupFooter can be suppressed on an individual page (such as a group's HomePage) by using the (:nogroupheader:) and (:nogroupfooter:) markups on that page.

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 (:include Site.GroupHeader:). See IncludeOtherPages.

<< Wiki Groups | DocumentationIndex | WikiTrails >>

How do I set one header for all pages/groups?

The header for each page is controlled by the $GroupHeaderFmt variable. Thus a site-wide groupheader can be added with

$GroupHeaderFmt .=
  "(:include {$SiteGroup}.SiteHeader:)(:include {$Group}.GroupHeader:)(:nl:)

See also the Cookbook:AllGroupHeader page.

Any form of markup is valid in $GroupHeaderFmt, thus one can do

$GroupHeaderFmt .= "Global markup text here.";
Page last modified on June 02, 2006, at 07:43 PM
Edit - History - Print - Recent Changes - Search<
Creative Commons License © 2004-2011 Antiblavers.org i altres contribuïdors | visites
Aquesta obra està subjecta a una Llicència de Creative Commons, tret d'on s'indique el contrari.
Funcionant gràcies a PmWiki, PunBB, Coppermine, PHP, MySQL, Apache i GNU/Linux.