PDA

View Full Version : 'calling' a template into another one...


Tim Wheatley
08-07-2002, 08:19 PM
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

Neo
08-08-2002, 01:56 AM
// 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")."\";");