PDA

View Full Version : by editting one template you can edit all X templates


Koss
09-16-2002, 06:14 PM
Basically this is what the hack does: if you edit your style template #1, the hack should automatically edit all other templates (depending on how many number of styles you have)

I know this feature will be available in vB3, but I was just wondering if anyone had any ideas on how to make such a feature. Its kinda of long way till vb3 comes out :cross-eyed:

-thanks

Xenon
09-16-2002, 08:05 PM
you can edit the global template set
this affects all templatesets just customized templates wouldn't be edited.

to edit the global set you have to enable debug mode (add $debug=1; in your config.php)

Koss
09-16-2002, 09:05 PM
awesome, thanks!! :)

Koss
09-16-2002, 09:07 PM
but how come when you edit the template it doesnt turn red?

Xenon
09-17-2002, 11:03 AM
when you edit the global set, you are changing the original template.

and vb checks if your custom templates fits with the global one.
if there is a difference it' shows as custom.

but when editing the global template no difference with the global one can be detectet ;)