PDA

View Full Version : ability to choose the default template-set


Mas*Mind
Sat 17th Feb '01, 8:49pm
It would be even more flexible if you can flag a template-set as the default template-set so that when a new template-set is created the templates of this default template-set would be used

Freddie Bingham
Sat 17th Feb '01, 9:11pm
And how complicated do you wish to make the templates become?

leadZERO
Sun 18th Feb '01, 1:29am
Personally I don't see much of a use for the multiple template styles anyway. Can you imagine the work to make even a simple change to multiple templates across say 10 template sets? They are a nice feature but in order for it to really become useful you would have to do something like template inheritance where you could flag certain parts as "inherited" from another set. However, implementing this would be a major headache I'm sure. Supporting multiple style sets imo just isn't feasible.

Are any people out there actually developing multiple style sets?

Wayne Luke
Sun 18th Feb '01, 2:03am
Templates will inherit from the global set installed with vBulletin. So there is some inheritance in there already..

I am working on multiple template sets. I have worked it out...

For co-branding I only have to edit three templates and the style variables to adapt the forums to any other site's look and feel.


I also want some forums to have different headers and newreply templates so that is 2 templates for that set.. All the while they will inherit from the default set.

Then I want to offer three different style sets to my members. The first will be a default set so I will just use Default as that set. The second will be a "Classic" set which will have less features and be missing a few nifty toolbars for automatically inserting smilies and vB Code but still be fully functional. The third set will be a "SPF Lite" version with less graphics and more text. For "Classic" and "SPF Lite" I figure I have to edit 15-25 of the templates and let the rest inherit from the default group.

So all-in-all I edit 30-50 templates and can have 3 different looks and feels for my members to play with. If you do it right you can create a whole new look and feel without touching any of the templates and just change the replacement variables. Especially if you use "imagefolder" heavily in your default templates.

Mas*Mind
Sun 18th Feb '01, 5:23am
Nice wayluke :)

What I really meant was something like: 'Create new set based on another set' but I guess that would make it very complicated yeah...

Wayne Luke
Sun 18th Feb '01, 2:13pm
In a way you can. You can download the style you want to be the basis of your new style then upload it into that new style.

chrispadfield
Sun 18th Feb '01, 5:15pm
Originally posted by wluke
In a way you can. You can download the style you want to be the basis of your new style then upload it into that new style.

you beat me to it :)