[pmwiki-users] 2.2.0: add Site.SiteHeader and Site.SiteFooter

Patrick R. Michaud pmichaud at pobox.com
Mon Jun 18 16:25:00 CDT 2007


On Mon, Jun 18, 2007 at 05:20:52PM -0400, The Editor wrote:
> Being as it's easy enough to add a skin section for something like an
> allgroupheader, I'm not really convinced it needs to be in core. Seems
> it should go in the skins, like it already does.

Note that having a header in a skin is not at all the same as
what GroupHeader does.  For one, skin components are processed
*after* the main page contents, while a GroupHeader page is
added to the main page contents before it is processed.

Second, a page that is loaded via <!--wiki:...--> in a page
template is processed as if it were a standalone page, and all
internal link and page variable references are relative to
that page.

The GroupHeader page (and presumably its site-wide counterpart)
is processed as if it is an integral part of the main page's contents.

Pm



More information about the pmwiki-users mailing list