Log in

View Full Version : how do i call a new template i made?


RDX1
11-19-2002, 12:40 PM
i made a template called ads, and now i want to call it up on forum home templates, ect

Xenon
11-19-2002, 05:00 PM
well you have to include something like this in your index.php:

eval("\$ads = \"".gettemplate("ads")."\";");

then you can use $ads in your forumhome templates

RDX1
11-19-2002, 07:11 PM
thanks

Dean C
11-20-2002, 07:36 PM
Also wherever you put the code make sure you add the name of the template to the nearest $templatesused variable or you'll add an extra query to whichever page your doing it on :)

Regards

- miSt