Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 24 Sep 2012, 20:03
stledger stledger is offline
 
Join Date: May 2011
Widgets/Modules

Anyone found out how to create widgets yet? I haven't really had much chance to look around and find out how, I imagine it's like a template thats within the widget?
Reply With Quote
  #2  
Old 25 Sep 2012, 10:27
nhawk nhawk is offline
 
Join Date: Jan 2011
Widgets are a part of products. And there are different types of widgets.

The way I've been creating them is to manually add them into the <widget> section of the product install XML.

In the sample below, a PHP widget would be created with 2 fields. One field is the title for the widget, the other contains PHP Code...


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

A completely custom widget is done in much the same way, except you specify your own template, etc. and the fields can be whatever you want them to be.

Last edited by nhawk; 25 Sep 2012 at 10:33.
Reply With Quote
  #3  
Old 25 Sep 2012, 17:24
Badshah93's Avatar
Badshah93 Badshah93 is offline
 
Join Date: Jun 2010
Real name: Aayush Agrawal
If you have experience of creating widgets for cms, then it will be very easy to create widget/module for vB5.

You can pull fetch_rows (ex: for latest threads) by creating a class in core/vb/api folder and then by using

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Then {vb:each} will be use for printing each row.
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
vBulletin CMS Widgets Add drop shadow and shading to vBAdvanced modules like vBCMS widgets benstillman vBulletin 4.x Template Modifications 16 25 Dec 2013 23:47



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

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 18:20.

Layout Options | Width: Wide Color: