The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Add custom templates in FORUMHOME
Hello All
I am facing a problem. I made a custom template with some image and hypertext links and i would like the template to appear on my Main Forum Home Page. I edited the FORUMHOME template and mentioned $<custom_template> below the $navbar line. But I am not able to see the template contents when I load the page. When I copy the custom template contents and paste directly in FORUMHOME, it displays properly. This template needs editing frequently and I don't want to modify FORUMHOME each time. So kindly help to work on this with a custom template. Thanks |
#2
|
||||
|
||||
One way to do it is to create a hook in the FORUMHOME where you want your template to go ("$template_hook[my_forumhome_hook] ") and then create a plugin (at forumhome_start or forumhome_complete) to call the template and put it in the place of your template hook:
eval('$template_hook[my_forumhome_hook] .= " ' . fetch_template('custom_template') . '";'); |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|