[pmwiki-users] Doubled Footers!

Jon Haupt jhaupt at gmail.com
Sun Feb 17 21:34:25 CST 2008

On Feb 17, 2008 1:17 PM, David Spitzley <dspitzle at wash.k12.mi.us> wrote:
> Yeah, but why does the SiteFooter itself show up twice?
> David


You might want to check your site's setting of $GroupFooterFmt.  In my
blog I use the following:

# also enable use of Site.SiteHeader and Site.SiteFooter
if ($group != $DefaultGroup && $group != $SiteGroup && $group !=
'BlogArchive' && $group != 'PmWiki') {
  $GroupHeaderFmt = '(:include {$Group}.GroupHeader
  $GroupFooterFmt = '(:nl:)(:include {$Group}.GroupFooter

Obviously you wouldn't want to exclude the $DefaultGroup because you
actually want the footer to show up there, but in general, you want to
make sure that the $GroupFooterFmt is set exactly the way you want it
to.  The above will show GroupFooter, if there is one, and if not,
it'll show SiteFooter.

Jon Haupt

More information about the pmwiki-users mailing list