PDA

View Full Version : Create Routes / Pages / widgets with vbulletin product


bridge2heyday
04-29-2016, 10:00 PM
Hello ,
As I can't find a useful vbulletin 5 developer documentation anywhere , I was trying to learn it by reverse engineering some of the few products available here on vb.org
on some products .. I can see the product XML file have it's own pages /routes /widgets
<routes>
<route guid="">
<regex></regex>
<class></class>
<arguments></arguments>
<product></product>
</route>
</routes>
and widget
<widgets>
<widget guid="">
<template></template>
<icon></icon>
<isthirdparty></isthirdparty>
<category></category>
<cloneable></cloneable>
<canbemultiple></canbemultiple>
<product></product>
<definitions>
<definition>
<field></field>
<name></name>
<defaultvalue></defaultvalue>
<isusereditable></isusereditable>
<isrequired></isrequired>
<displayorder></displayorder>
<validationtype></validationtype>
<product></product>
</definition>
</definitions>
</widget>
</widgets>
and pages
<pages>
<page guid="">
<title></title>
<metadescription></metadescription>
<moderatorid></moderatorid>
<displayorder></displayorder>
<pagetype></pagetype>
<product></product>
<parentGuid></parentGuid>
<pageTemplateGuid></pageTemplateGuid>
<routeGuid></routeGuid>
</page>
</pages>
Where can I create pages/widgets/routes/pagetemplates and assign them to a product like we do with settings/phrases/hooks/templates ?
Thanks!

noypiscripter
04-30-2016, 04:59 AM
This may help you.

https://vborg.vbsupport.ru/showthread.php?p=2514295#post2514295

bridge2heyday
04-30-2016, 07:31 AM
This may help you.

https://vborg.vbsupport.ru/showthread.php?p=2514295#post2514295
Thanks , I've already seen this , but it don't answer my questions

robertw795
05-02-2016, 12:51 PM
vBulletin 5 documentation is nearly non-existant, and the documentation that does exist barely helped me out. I just wrote my widget in the XML file, same goes for my templates. Then I edited the templates from the control panel.