Quote:
Originally Posted by EquinoxWorld
Thank you so much for the reply. I'm almost there. Here's what I got ; I want to use this hook:
Code:
{vb:raw template_hook.forumhome_above_forums}
In a CMS html widget. I then created this plug in :
Code:
if (in_array(THIS_SCRIPT, array('index'))) {
$template_hook['forumhome_above_forums'] .= vB_Template::create('vbcms_widget_static_page')->render();
}
With product: vBulletin
hook location: Global Start
Execution order: 5
But when I place that hook in the widget , the output is still:
Code:
{vb:raw template_hook.forumhome_above_forums}
What am I missing?? Any information will be incredibly useful.  Thanks.
P.S.: I can change the hook that is going to be used. Maybe I need to create a new hook to use in the widget?
|
Try using the
forumhome_complete hook, not global_start (which is deprecated in 4.x anyway).
--------------- Added [DATE]1309016499[/DATE] at [TIME]1309016499[/TIME] ---------------
Sorry, I meant forumhome_complete, not parse_templates.