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

David Spitzley dspitzle at wash.k12.mi.us
Mon Jun 18 15:47:32 CDT 2007


>>> "Patrick R. Michaud" <pmichaud at pobox.com> 6/18/2007 2:54 PM >>>
Option 1:  A page that acts as a "fallback GroupHeader" when
a group doesn't have one.  In this scenario, when viewing a page,
we first look for a page named GroupHeader in the current group,
if that exists we use it, otherwise we use the "fallback" page
if it exists.
Option 2:  A page that is automatically added to the beginning
of every page's markup, regardless of any group-specific GroupHeader
page -- i.e., a "site-wide header".  

--------------------------------------------

I think it would make more sense to add both to the out of the box functionality as distinctly named elements.  Both are natural things that anybody dealing with headers would want to do.  So I'd vote for the pairing of DefaultGroupHeader and SiteHeader to cover both options.


David




More information about the pmwiki-users mailing list