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

Jon Haupt jhaupt at gmail.com
Tue Aug 29 09:56:41 CDT 2006

On 8/29/06, Hans <design5 at softflow.co.uk> wrote:
> update of stylepage.php:
> http://www.pmwiki.org/wiki/Cookbook/CSSInWikiPages
> I fixed $EnableStylePage, which did not work.
> I also changed the condition under which the caching routine works, as
> it failed to create cached css files sometimes, i.e. when no
> filemodtime or LastModTime was present.
> It now starts with the modified condition:
>    $fmodtime = @filemtime($cssfile);
>    if ($fmodtime < $LastModTime || $fmodtime==0 || $LastModTime==0) {
> I don't know if this is the best way, but I had to add the two OR
> conditions to get it creating css files.
> Hans


stylepage.php is still not creating CSS files for me.  In fact, if I create
a fake Site.StyleSheet.css file in /pub/cache, PmWiki deletes it, but
doesn't create a new one.  I've tried different permissions, etc., but
nothing doing.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20060829/f90ed5d1/attachment.html 

More information about the pmwiki-users mailing list