2007-09-15, 05:17 AM
2007-09-18, 06:06 PM
If you want to edit the "index" template, you need to do that in the normal index template. Global templates should only be used for modifications/plugins which are applied to all the themes.
(Also you should try to name your global templates after names which aren't currently used, or else you will end up not being able to access them)
(Also you should try to name your global templates after names which aren't currently used, or else you will end up not being able to access them)
2008-06-01, 05:42 AM
Hello everybody, I have a piece of HTML code that I would like to use in all my forum templates, but I don't want to add it on all the template sets, and if I need to edit it, I don't want to edit it in all the template sets.
Should I create a new global template to do this? I did this, but I don't know how to "call" the code from the other template sets. Like: {$global_template_name} ?
Or... what is the best way to do this?
Your quick help is really appreciated
Should I create a new global template to do this? I did this, but I don't know how to "call" the code from the other template sets. Like: {$global_template_name} ?
Or... what is the best way to do this?
Your quick help is really appreciated
2008-06-01, 08:07 AM
You can create a global template, and it'll work, as long as you don't override that template in one of your custom themes.
For example, if you have a custom index template in Theme 1, it'll override the custom index template in the Global templateset.
For example, if you have a custom index template in Theme 1, it'll override the custom index template in the Global templateset.
2008-06-01, 04:53 PM
Oh, thank you so much, but how do I "call" the content of the custom global template from the other template sets?
I've tried {$custom_global_template_name} but it doesn't seem to show anything :/
I've tried {$custom_global_template_name} but it doesn't seem to show anything :/
2008-06-03, 01:08 AM
You'll need PHP to call stuff from another template.
Consider making a plugin.
Consider making a plugin.