On 8/29/06, <b class="gmail_sendername">Hans</b> <<a href="mailto:design5@softflow.co.uk">design5@softflow.co.uk</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
update of stylepage.php:<br><a href="http://www.pmwiki.org/wiki/Cookbook/CSSInWikiPages">http://www.pmwiki.org/wiki/Cookbook/CSSInWikiPages</a><br><br>I fixed $EnableStylePage, which did not work.<br><br>I also changed the condition under which the caching routine works, as
<br>it failed to create cached css files sometimes, i.e. when no<br>filemodtime or LastModTime was present.<br><br>It now starts with the modified condition:<br><br> $fmodtime = @filemtime($cssfile);<br> if ($fmodtime < $LastModTime || $fmodtime==0 || $LastModTime==0) {
<br><br>I don't know if this is the best way, but I had to add the two OR<br>conditions to get it creating css files.<br><br>Hans</blockquote><div><br><br>Hans,<br>
<br>
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.<br><br>Jon<br></div></div>