PDA

View Full Version : Simple tip for boards with many styles


Lurk
20 Jun 2004, 19:00
This may not be a good tip, but it's very useful and reduces time for people hacking boards with many styles. This lets you mass modify/add templates without messing with the 'Master Style' that you can view in debug mode.

Create a main style. (note: this style does not have to be selectable)

I'm going to use 'Default Style' for this example
Create it so that your styles will be like this:
Default Style
-Style 1
--Child of Style 1
-etc
-etc
-etc

Logician
20 Jun 2004, 19:09
This may not be a good tip
This IS a good tip. :)

Reeve of shinra
20 Jun 2004, 19:31
Ive been doing that with my newest project. I find that haveing a default master style just for my template edits makes it easy to add child forums with a different look to them.

Xenon
20 Jun 2004, 19:43
We are doing this on vb.org as well :)

we even did it on vb2, but there it was a hack ^^

neocorteqz
20 Jun 2004, 21:33
been doing this ever since vB3 came out. :)

Lurk
23 Jun 2004, 18:11
yeah, well, i didn't like modifying the master style which i think you can access only in debug mode.

Zachery
23 Jun 2004, 18:18
Havent i been forcing this apon everyone since vB3 came ouyt?

Xenon
23 Jun 2004, 18:40
yeah, well, i didn't like modifying the master style which i think you can access only in debug mode.
you shouldn't do so, as the master style itself gets overwritten with each version upgrade...

Ryan Ashbrook
23 Jun 2004, 19:27
I've been doing this myself as well, it is very handy. :)

angelicGrace
30 Apr 2005, 19:53
lol I did that totaly by accident. when i added my first style i made it a child of the defualt and so when i went to install my first template modification, i found totaly by accident, that i only needed to edit the template to the default and not the rest. :) Definatly made for a happly surprised newbie to all of this.

deathemperor
06 May 2005, 15:32
it's only useful with custom templates, not modified I think

Xenon
09 May 2005, 08:43
hmm, i don't think so, we don't have much custom templates, but a lot of modified ones, and it's very usefull

deathemperor
09 May 2005, 10:08
hmm, i don't think so, we don't have much custom templates, but a lot of modified ones, and it's very usefull
then when child styles' templates got modified and you have a lot of child styles you still need to edit them one by one. My child styles are unique one by one, I can hardly edit one parent for all.

kall
09 May 2005, 11:54
then when child styles' templates got modified and you have a lot of child styles you still need to edit them one by one. My child styles are unique one by one, I can hardly edit one parent for all.
It's only not very useful if every template in the child styles is unique.

If not, its still useful for any template that is not unique.

Xenon
09 May 2005, 16:04
of course, if every childstyle is totally unique, then it wouldn't help.

It depends on the situation of course, but for example here on vb.org it is very usefull for normal templates