The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
How to get new template to display on home page
Hi, I have created a new template and am trying to get it to display in the index.php page of Vbulletin forums. The problem is that I can only get my new template or the existing template to display but not both at the same time. See below for more explation:
I created within vBulletin admin the 'forumhome_feature' template. Now I want to display this template within the Forum home page. I added it to the following: Code:
// pre-cache templates used by all actions $globaltemplates = array( 'FORUMHOME', 'forumhome_event', 'forumhome_forumbit_level1_nopost', 'forumhome_forumbit_level1_post', 'forumhome_forumbit_level2_nopost', 'forumhome_forumbit_level2_post', 'forumhome_lastpostby', 'forumhome_loggedinuser', 'forumhome_moderator', 'forumhome_pmloggedin', 'forumhome_subforumbit_nopost', 'forumhome_subforumbit_post', 'forumhome_subforumseparator_nopost', 'forumhome_subforumseparator_post', 'forumhome_feature' ); But now I can only get it to display by itself without any of the other home page templates or page output using this code at the end: Code:
eval('$HTML = "' . fetch_template('forumhome_feature') . '";'); eval('print_output("' . fetch_template('GENERIC_SHELL') . '");'); Code:
eval('print_output("' . fetch_template('FORUMHOME') . '");'); Thanks in advance for the help. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|