View Full Version : About Templates
Elmer
09-12-2003, 12:50 AM
If i create a custome template, what code i have to add to the phpinclude_start to make the template work called by a variable like
$custometemplate ?
I want to create a custome template (sidetable) and make it work in FORUMHOME
any advise? :)
PennylessZ28
10-09-2003, 03:32 PM
Well, I knew how to do this in VB2, but it doesn't seem to work the same way in VB3, I was about to ask the same question.
I want to call up a custom template, any advice?
Dominus
10-09-2003, 03:48 PM
Just add this into index.php
eval('$forumhome_side = "' . fetch_template('FORUMHOME_SIDE') . '";');
Above
eval('print_output("' . fetch_template('FORUMHOME') . '");');
Add this
'FORUMHOME_SIDE',
under
'FORUMHOME',
in
// pre-cache templates used by all actions
$globaltemplates = array(
Zachery
10-09-2003, 04:19 PM
hacking and its discussion is not allowed here
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.