The Arcive of vBulletin Modifications Site. |
|
'calling' a template into another one... Details »»
|
|||||||||||||||||||||||||
Hi.
I'm trying to call a template into another one with a $templatename type call. :banana: How do I do it?? Does it require the templates name putting in 'templates used' line? Or how do I do it. Thanks! Tim Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
// This is what gives you the main template of the selected area
eval("dooutput(\"".gettemplate("templatename")."\" );"); // This gmake sit so you can put a template into another template usign a variable aslong as this is in the same section as the main templaet being called. eval("\$template2= \"".gettemplate("template2")."\";"); |
![]() |
|
|