PDA

View Full Version : Template hack to copy all templates from Default into other styles


Mickey19781978
05-12-2005, 02:04 PM
Is such a thing around?
I am using 6 styles on my forum
And am looking for a way to just inherit all modifications made in Default

Is such a thing around?

Cheers,

Mickey

cinq
05-12-2005, 02:10 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=72288" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=72288</a>

Mickey19781978
05-12-2005, 02:40 PM
Thanks loads cing

cheers

Cyricx
05-12-2005, 03:17 PM
Couldn't you make all the other styles "child styles" of the default one?

Then your changes would filter down.

Thats what I do on my site and we have close to a dozen styles.

Mickey19781978
05-12-2005, 04:30 PM
i did that but for some odd reason it did not get implemented for all templates

Cyricx
05-12-2005, 05:45 PM
Yeah it would be because they all had their own defined templates.

Move them all under one style, then (if all of your styles use the same template changes), do a mass revert on all the other styles.

If you have custom templates you'll need to grab Zero's mass revert custom templates hack and revert those too.

What you'll be aiming for is your main default style will have black (default) and red (custom/modified) template names in it.

Your other styles will have black (default) and orange (inherented changes) template names.

It'll be a lil messy to get it all setup right, but trust me. It'll save you TONS of time :)