[Solved] Themes, Templates, CSS and Images

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
xest
New Member
New Member
Posts: 3
Joined: Tue Aug 19, 2008 2:10 pm

[Solved] Themes, Templates, CSS and Images

Post by xest »

Hi everyone - What a great CMS system.

I am making changes to the default Stylesheets and Templates and the documentation and layout is very straightforward and easy to understand.

The bit I am having problem with is where should Template images go?

I can see that in the CMS root there is a images folder that contains cms/logo1.gif which is referred to in the default CMS for the Header H1 replacement. The only other place I can find is in the uploads folder, which doesn't look to bethe right place.

My initial thoughts are to create a sub-folder within images based on the name of the template, but is there a standard way of doing this before I start down this route?

Thanks in advance for any comments/help.

X
Last edited by xest on Wed Aug 20, 2008 6:12 am, edited 1 time in total.
christiaans
Power Poster
Power Poster
Posts: 300
Joined: Tue Mar 04, 2008 10:37 am

Re: Themes, Templates, CSS and Images

Post by christiaans »

I usually just create my own folder called 'media', and store all media (duh!) files there. So for instance, images would go in media/images/ and icons would go in media/icons/

It doesn't matter where you place them, as long as you know how to reach them!
xest
New Member
New Member
Posts: 3
Joined: Tue Aug 19, 2008 2:10 pm

Re: Themes, Templates, CSS and Images

Post by xest »

Thanks for that Chris.

I was planning on converting a few themes across to CMSMS and wanted hem to be in the standard layout for easy import. I will have a look at the sample themes later.

X
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Themes, Templates, CSS and Images

Post by RonnyK »

I allways use the /uploads folder as the base for non-CMSMS logic. Meaning that as /uploads is the default folder for imagemanager and filemanager, I put all in folders under that base-folder.

Ronny
xest
New Member
New Member
Posts: 3
Joined: Tue Aug 19, 2008 2:10 pm

Re: Themes, Templates, CSS and Images

Post by xest »

Looking at the Themes available at themes.cmsmadesimple.org I see that they all use a sub-folder off the uploads directory. I guess this is a folder that is accessible from the imagemanager and filemanager as Ronny pointed out and those folders also have the ability to be written to which helps for themes that are uploaded through the GUI.

I guess that I felt the /uploads/myTheme/logo.png paths didn't quite feel right, but looks like I was on the write tracks.

Off to convert templates now.

X
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Themes, Templates, CSS and Images

Post by Dr.CSS »

Hey [solved] OK?...
Post Reply

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