I hv create the new plugin with below given Code with global start.
bootstrap_framework();
vBCms_View_Widget::registerTemplater(vB_View::OT_X HTML, new vB_Templater_vB());
$widgetID = 16; // the id of the widget
$widgettype = 'SectionNavExt'; // type of the widget you want to output
$widget = vBCms_Widget::create('vBCms', $widgettype, $widgetID);
$output = $widget->getPageView()->render();
But how to apply this on
all pages .
As i added {vb:raw widget} on the forum dispay page also. can u explain me full process .
--------------- Added [DATE]1322124074[/DATE] at [TIME]1322124074[/TIME] ---------------
I hv created the plugin from the above given code with global_start. And added {vb:raw widget} on forum display template.
After doing this form display is white page. I hope i m doing something wrong .so can u explain full process to add widget on each page.
|