7 users online. Create an account or sign in to join them.Users
Edit CSS and JavaScript via Backend
This is an open discussion with 8 replies, filed under Troubleshooting.
Search
CSS editing feature is removed from rev. 5..
See this link for more info: http://symphony21.com/forum/discussions/11/1/
I know that this feature has been removed. I'm looking for a way to get it back :)
PS: As explanation, why I'm looking for this feature: My ftp access to a Symphony install at work is limited to the IP adress in my office. So I can't edit anything when I'm at home. It's possible to access the utilities and pages via the backend but not the scripts and styles ... That's why I'm looking for a solution.
Couldn't you store your css and js in entries? I'm guessing you might have to use the content type header extension that's floating around here somewhere to get browsers to treat it right. Just a thought...
Couldn't you store your css and js in entries?
Well, that would be possible, but usually I like to work directly with the files on the server. This is a very comfortable way, when I need to adjust small things in the CSS: I can use my editor of choice, benefit from syntax highlighting etc.
If all my stylesheets and scripts were entries the only way to edit anything would be Symphony's backend. This is quite handy in case of "emergencies" (changing things at home) but not in my normal workflow (at work).
Since this is an edge case, I wonder whether the best solution would be to install a web-based file editor on your domain, to allow you to manually edit any of the files, Symphony-based or not.
I haven't used these before, but something along the lines of phpFileManager or File Thingie?
This is very old topic, but i’ve similar problem as Nils had.
So i’ve started developing extension called Front Coder. It is available on githib: http://github.com/icek/front_coder. It is in early stage of development but listing and editing of css and javascript files works.
It expects css files in workspace/css and javascripts in workspace/js, these 2 directories should have write-access for server user.
Extension contains Edit Area, but in future this will be splitted into separate extension.
Any comments and suggestions are welcome.
PS. Tested in 2.0.6 only.
See also FileManager, which works (for the most part) in versions earlier than 2.0.7.
Create an account or sign in to comment.
In Symphony 1.7 it was possible to edit CSS und JavaScript files directly in the backend. Just like you can edit utilities in 2.0. Is there a way to mimic this feature in rev. 5?