Just poking through the files, it's not real obvious where themes are, except admin themes.
Looking at a theme in admin in he default installation, I grabbed a string from a stylesheet and searched the CMSMS installation directory for it and it doesn't seem to be in there.
Are theme files in the database somewhere then? So the backend admin is the only way to write a theme?
Is there some way to at least temporarily write the HTML and CSS in regular files instead? Seems a bit annoying to make every single change in a stylesheet through a web interface while developing...
[solved] are theme "files" in the database?
[solved] are theme "files" in the database?
Last edited by jpatti on Mon Jul 05, 2010 8:22 pm, edited 1 time in total.
Re: are theme "files" in the database?
Templates ans Stylesheets are being saved in database, you could use TemplateExternalizer Module http://dev.cmsmadesimple.org/projects/externalizer.
I personally got used to develop directly in the Admin interface with EditArea syntax highlighter module.This module allows you to use a text editor to edit templates, stylesheets PLUS pages! It exports them to temporary files on the server and watches these files for modifications which are automatically imported into the database and take immediate effect.
Re: are theme "files" in the database?
Thanks for the advice, that component sounds handy, I'll have to grab it.
I can't see deciding I like a web-based form better than a local text editor. Maybe to do quick edits, but not to start a template from scratch...
I can't see deciding I like a web-based form better than a local text editor. Maybe to do quick edits, but not to start a template from scratch...