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

The Editor editor at fast.st
Mon Jun 18 16:36:50 CDT 2007


On 6/18/07, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> 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.


Ok, I withdraw my comments. I had problems with ZAP forms in sidebars
etc for this exact reason. Count me on board. I don't suppose you
could add a sidebar to the main page while we are at it... :)

Cheers,
Dan



More information about the pmwiki-users mailing list