![]() |
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 |
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') . '";'); |
All times are GMT. The time now is 01:07 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|