[solved] are theme "files" in the database?

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
jpatti
Forum Members
Forum Members
Posts: 41
Joined: Mon Jun 28, 2010 1:43 am

[solved] are theme "files" in the database?

Post by jpatti »

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...  
Last edited by jpatti on Mon Jul 05, 2010 8:22 pm, edited 1 time in total.
uniqu3

Re: are theme "files" in the database?

Post by uniqu3 »

Templates ans Stylesheets are being saved in database, you could use TemplateExternalizer Module http://dev.cmsmadesimple.org/projects/externalizer.
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.
I personally got used to develop directly in the Admin interface with EditArea syntax highlighter module.
jpatti
Forum Members
Forum Members
Posts: 41
Joined: Mon Jun 28, 2010 1:43 am

Re: are theme "files" in the database?

Post by jpatti »

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...
Post Reply

Return to “Layout and Design (CSS & HTML)”