[pmwiki-users] CSS in Wiki Pages: new stylepage.php

Patrick R. Michaud pmichaud at pobox.com
Tue Aug 29 11:08:27 CDT 2006

On Tue, Aug 29, 2006 at 11:03:52AM -0500, Jon Haupt wrote:
>    On 8/29/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
>      On Tue, Aug 29, 2006 at 10:35:13AM -0500, Jon Haupt wrote:
>      >    The read password for Site.StyleSheet is set to nopass.
>      The stylepage.php recipe doesn't know how to deal with "nopass",
>      it just knows that there's a read password of some sort on the
>      page so it refuses to cache it.
>    Ah, makes sense.  This is a production site which is fairly restrictively
>    controlled--i.e. there is a Site group read password and only those pages
>    which are necessary are made readable to the public.  My other site
>    doesn't have a Site group password.

In stylepage.php, change line 88 from

       if ($stylepage['=passwd']['read']) {


       if ($stylepage['=passwd']['read'] 
           && $stylepage['=passwd']['read'] != '@nopass') {

And be sure to use '@nopass' for the read password in 
Site.StylePage instead of 'nopass'.


More information about the pmwiki-users mailing list