template helper files

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
jbjaaz

template helper files

Post 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.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: template helper files

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

Return to “[locked] Installation, Setup and Upgrade”