Forum OpenACS Q&A: Online, persistent and revisioned CSS editor

Collapse
Posted by Malte Sussdorff on
Just wanting to let you know that developer support on 5.4 has a new "uber" feature which is CSS editing. You see your current webpage, click on CSS and get all the currently used CSS files (yeah, webdeveloper can do that for you as well) on a new webpage. What webdeveloper cannot do for you is edit the file and *save it to disk*. Neither is it able to provide revisions for those CSS files that you edited or allow you to go back to a previous revision based on the description developer support stores in the content repository.

People might argue why this is not in package <insert package here>, especially as you might not want to give CSS designers developer support access, on the other hand this was the most convenient place to put it and whoever wants can take the code and stuff it somewhere else.

This has been a joint effort during the ]po[ developers conference between UNED and myself, so kudos for their hard work. Additionally this requires that you have working template::head::add_css commands and that none of your CSS files is loaded manually. Last but not least, make sure that you can access the CSS file from /resources/<insert package here>/....., as I need to somehow find the file on the harddisk 😊.