Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Topic started by: Dustin on March 15, 2004, 03:09:23 PM

Title: Templates Vs Themes Understandings
Post by: Dustin on March 15, 2004, 03:09:23 PM
Please tell me if i understand this correctly

Template = The way everything looks, the general "shape" of the forums

Themes = Different Colors and images but still under a certain template

like if there was a stencil, that would be the template, but we could do two different themes of red letters and blue letters. ... Right?
Title: Re: Templates Vs Themes Understandings
Post by: pulpitfire on March 15, 2004, 03:13:43 PM
template = how a specific board looks

Theme = set of templates for all the boards.
Title: Re: Templates Vs Themes Understandings
Post by: David on March 15, 2004, 03:18:02 PM
A theme is a collection of templates, language files, and images.
Title: Re: Templates Vs Themes Understandings
Post by: Dustin on March 15, 2004, 03:22:53 PM
so theres no way to just quickly change the colors now?
Title: Re: Templates Vs Themes Understandings
Post by: David on March 15, 2004, 03:26:12 PM
Quote from: Dustin on March 15, 2004, 03:22:53 PM
so theres no way to just quickly change the colors now?
Yes, alter the style.css file in your theme.  Changing of the global look can be done in the index.template.php file.
Title: Re: Templates Vs Themes Understandings
Post by: Dustin on March 15, 2004, 03:27:22 PM
Quote from: David on March 15, 2004, 03:26:12 PM
Quote from: Dustin on March 15, 2004, 03:22:53 PM
so theres no way to just quickly change the colors now?
Yes, alter the style.css file in your theme.  Changing of the global look can be done in the index.template.php file.

but then i will also have to change the images to match it correct?  Would i have to creat e a new directory in order to do this without overwriting the others?
Title: Re: Templates Vs Themes Understandings
Post by: Acf on March 15, 2004, 03:28:01 PM
less hardcoding... the theme file's look a litle like the yse source mixed with the template file.
Title: Re: Templates Vs Themes Understandings
Post by: Tyris on March 16, 2004, 12:38:20 AM
Quote from: Dustin on March 15, 2004, 03:27:22 PM
Quote from: David on March 15, 2004, 03:26:12 PM
Quote from: Dustin on March 15, 2004, 03:22:53 PM
so theres no way to just quickly change the colors now?
Yes, alter the style.css file in your theme.  Changing of the global look can be done in the index.template.php file.

but then i will also have to change the images to match it correct?  Would i have to creat e a new directory in order to do this without overwriting the others?
I think at the moment yes... however I'm sure I'm reading somewhere that theres a way to make things default to the 'default' theme... so technically you could use the default theme except with your new css file... dunno how this could be done if at all (atm) though...