View Full Version : how do i call a new template i made?
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
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
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.