Zhin Jio
03-12-2003, 06:01 AM
Hey all,
I have a question regarding styles vs. templates. My impression up to now is that the 'Style' portion of the show defines the overall look of the page, color/font/property-wise ... creating definitions for many variables that are used later on, especially in the templates (eg, {linkcolor} and the like).
The templates were/are a series of layout elements that get called from the various php scripts to lay down the page design.
And most importantly, that these two things are managed completely separately from one another. For example, it should be possible to have 10 different color styles that ALL use the same body of templates (like 'Default', for example).
Is this impression incorrect?
The reason I'm asking is because I tried creating a new style yesterday, to give users some different look/feel options and encountered problems.
Steps:
1) from admin cp, Add Style:
Title: plForum
Replacement set : Default
Template set : Default
User selectable : yes
2) created a new directory under my images directory called plForum to house all the images
3) copied ALL of the default images in, and then modified the ones I wanted to
4) modified the plForum style to have new color definitions
What I found was that both the plForum AND the Default style definitions were changed. In fact, any changes I made to the Default were ALSO reflected into plForum, and vice versa.
Clearly this doesn't seem to be correct behavior. Did I do something wrong? Is there a step I missed? Did I maybe do something accidentally that I didn't mention here?
Thanks in advance for the assistance.
Regards,
- ZJ
I have a question regarding styles vs. templates. My impression up to now is that the 'Style' portion of the show defines the overall look of the page, color/font/property-wise ... creating definitions for many variables that are used later on, especially in the templates (eg, {linkcolor} and the like).
The templates were/are a series of layout elements that get called from the various php scripts to lay down the page design.
And most importantly, that these two things are managed completely separately from one another. For example, it should be possible to have 10 different color styles that ALL use the same body of templates (like 'Default', for example).
Is this impression incorrect?
The reason I'm asking is because I tried creating a new style yesterday, to give users some different look/feel options and encountered problems.
Steps:
1) from admin cp, Add Style:
Title: plForum
Replacement set : Default
Template set : Default
User selectable : yes
2) created a new directory under my images directory called plForum to house all the images
3) copied ALL of the default images in, and then modified the ones I wanted to
4) modified the plForum style to have new color definitions
What I found was that both the plForum AND the Default style definitions were changed. In fact, any changes I made to the Default were ALSO reflected into plForum, and vice versa.
Clearly this doesn't seem to be correct behavior. Did I do something wrong? Is there a step I missed? Did I maybe do something accidentally that I didn't mention here?
Thanks in advance for the assistance.
Regards,
- ZJ