[pmwiki-users] Sitewide headers/footers

Patrick R. Michaud pmichaud at pobox.com
Mon Sep 25 16:51:50 CDT 2006


On Mon, Sep 25, 2006 at 11:36:24PM +0200, Marco Ferretti wrote:
> Wow, that was FAST !
> 
> > > sorry to raise this up again but I'm afraid I didn't understand how to
> > > set the group footer sitewise.
> >
> > Use the following:
> >
> >     $GroupFooterFmt .=
> >       '(:nl:)(:include {$SiteGroup}.SiteFooter basepage={*$FullName}:)';
> >
> > This adds Site.SiteFooter to be displayed in addition to any
> > Group.GroupFooter.
> 
> thanks a lot ! 
> So, in case I create a group called MySite I can use  $GroupFooterFmt .=
>        '(:nl:)(:include MySite.SiteFooter basepage={*$FullName}:)';
> right ? 

That's correct!

> > By default, all pages in the Site.* group (except for Site.SideBar)
> > are locked against editing except by the admin password.
> 
> This puzzles me : 
> 
> # $DefaultPasswords['admin'] = crypt('secret');
> 
> shouldn't this disable password ? 

PmWiki ships with a locked admin password by default.
If you want to truly disable the admin password (not recommended :-),
then use:

    $DefaultPasswords['admin'] = '';

Pm




More information about the pmwiki-users mailing list