Page 1 of 1

template helper files

Posted: Wed Feb 27, 2008 10:15 pm
by jbjaaz
Hi all. I'm new to CMSMS and working through my first site.

Where should I be putting images and scripts related to a template? For example, I created a template and it's associated css file through the admin UI. The css references a number of background images and the html includes links to a couple of external javascript files.

I was hoping for some standardized location... ie "themes", but since the templates and css are stored in the database, they don't actually exist on the file system.

Am I free to organize them as I like or is there some best practice?

thanks.

Re: template helper files

Posted: Sat May 10, 2008 10:54 pm
by Dr.CSS
Most things are located in the uploads folder, you may want to add a folder for the template, named same as theme/template to keep images/JS in and then any images you want to include in the pages can go in uploads/images/FOLDERnAMEDaFTERtEMPLATE or just in uploads/images as this is where the add image link in the editor looks for them...