antknight Posted November 29, 2012 Share Posted November 29, 2012 Would it be possible to have a module that allowed editing the actual page templates and css etc from the admin? Perhaps using something like http://ace.ajax.org/ That would be sweet! 2 Link to comment Share on other sites More sharing options...
netcarver Posted November 29, 2012 Share Posted November 29, 2012 Hi @antknight, great to see a newer face on the forum so firstly: welcome! As with most things PW, the answer is almost certainly "yes" but in this case you'd probably be compromising the permissions on your template & css files in order to do it. I know that some other CMSs do have this kind of feature though (like Textpattern, which I like a lot.) Can I ask what your rationale for the request is? Do you need to develop on a live server or something? It might be that mounting the server partition locally over SSH would be both faster and more secure in such cases. 3 Link to comment Share on other sites More sharing options...
ryan Posted November 30, 2012 Share Posted November 30, 2012 That's a pretty nice code editor there, thanks for the link. Will have to take a closer look. For the most part though, ProcessWire assumes you have your own tools for editing things like your templates and CSS files, and is trying to stay out of your way in that regard. There are also some security issues with enabling direct editing of PHP files on the server. Though I still think this is a good idea for a non-core module, to provide editing capability of template files for those that want it. 1 Link to comment Share on other sites More sharing options...
antknight Posted November 30, 2012 Author Share Posted November 30, 2012 @netcarver Thanks! I just thought it might be handy to quickly edit template files, I seem to remember playing with something similar with http://get-simple.info/ Link to comment Share on other sites More sharing options...
Nico Knoll Posted December 1, 2012 Share Posted December 1, 2012 Would be nice to have a module for this! Because in school the FTP ports are closed ( ... -.- ) so I only can change the template of the website at home... And with this wordpress like template editor it would wasy to do this in school, too. Link to comment Share on other sites More sharing options...
Nico Knoll Posted December 1, 2012 Share Posted December 1, 2012 So, had same free time: https://github.com/NicoKnoll/TemplateEditor (just beta) 7 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now