Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
  #16  
Old 24 Nov 2011, 07:24
swatirajawat swatirajawat is offline
 
Join Date: Oct 2011
Want widget on each page

I hv create the new plugin with below given Code with global start.
bootstrap_framework();

vBCms_View_Widget::registerTemplater(vB_View::OT_XHTML, 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 24 Nov 2011 at 07:41 ---------------

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.

Last edited by swatirajawat; 24 Nov 2011 at 07:42.
Reply With Quote
  #17  
Old 29 Nov 2011, 11:23
swatirajawat swatirajawat is offline
 
Join Date: Oct 2011
hi i have waited a lot for the help, i have posted this query over vbulletin site and they gave me reference for this side but i am not getting any reply yet,pls help me in this query
thankyou.
Reply With Quote
Reply

Similar Article
Article Author Type Replies Last Post
vBulletin CMS Widgets 3x CMS widget : Widget with 3 tabs, like on Blogs page. Vaupell vBulletin 4.x Add-ons 55 23 Oct 2012 22:06



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Article Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 20:35.

Layout Options | Width: Wide Color: