You are not logged in.
steve, yes, and you’ll also have revisions of your pages and forms.
Woo! Let me know when it’s released. I’ve really been longing for this feature.
Last edited by FireFusion (2008-01-12 11:10:04)
Impressive stuff, Ruud – thank you.
If you were considering a future feature – one might be an option on the CSS edit window, next to “save”, to strip out comments and whitespace in the static version (but it still remains annotated in the editable version).
The reason I think it would need to be an option is that I’ve seen otherwise well-behaved stylesheets with maybe just a missing semi-colon suddenly break when stripping out comments and whitespace.
I’ve implemented this in all the txp based sites. This really speeds up things! Neat job!
“Take a point, stretch it into a line, curl it into a circle, twist it into a sphere, and punch through the sphere.”
— Albert Einstein
I have a problem with, I think, file permission.
The directory is created (at the same level of images one), named lovercase css and the path is correct (in advanced preferences I have this: Style directory: css).
Anyway, even if I choose a style file and save, nothing appears in the css directory.
What should I control?
Thnks in advance.
Last edited by candyman (2008-02-01 08:28:59)
Hi Rudd, just wanted to say thank you for this plugin, it makes a huge difference to the speed of my sites.
Ruud I’m having a slight problem with the plug-in. My host server uses PHP4 by default and I have been quite happy to use it this way up to now, but I decided this morning to switch to PHP5 which is available via the .htaccess rule
AddType application/x-httpd-php5 .php. Once I had switched, on the “Style” tab when saving a style sheet I get the following at the bottom of the page:-
Warning: fopen(/home/thebombs/public_html/css/default.css) [function.fopen]: failed to open stream: Permission denied in /home/thebombs/public_html/textpattern/lib/txplib_misc.php(571) : eval()'d code on line 72 Warning: fwrite(): supplied argument is not a valid stream resource in /home/thebombs/public_html/textpattern/lib/txplib_misc.php(571) : eval()'d code on line 73 Warning: fclose(): supplied argument is not a valid stream resource in /home/thebombs/public_html/textpattern/lib/txplib_misc.php(571) : eval()'d code on line 74
And it seems not to be changing the files in the CSS folder. Any way around this?