putrasurya
06-23-2017, 06:14 AM
Hello, is there any documentation to explain what's going on in this code?
https://github.com/wayneluke/vB5-Addons/blob/master/Search_Box/product_rbs_searchbox.xml
thanks.
--------------- Added 1498205852 at 1498205852 ---------------
i also try to make hello world and edit code above, code below, but nothing appear when i'm drag the module to my custom page
<?xml version="1.0" encoding="ISO-8859-1"?>
<product productid="hello_world" active="1">
<title>hello world</title>
<description>hello world</description>
<version>1</version>
<url />
<versioncheckurl />
<dependencies>
</dependencies>
<codes>
</codes>
<templates>
<template name="hello_world" templatetype="template" date="1483365707" username="Wayne" version="1"><![CDATA[Hello World!]]></template>
</templates>
<stylevardfns>
</stylevardfns>
<stylevars>
</stylevars>
<hooks>
</hooks>
<phrases>
<phrasetype name="GLOBAL" fieldname="global">
<phrase name="hello_world_widgettitle" date="1480333644" username="Wayne" version="1"><![CDATA[Hello]]></phrase>
</phrasetype>
</phrases>
<options>
</options>
<helptopics>
</helptopics>
<cronentries>
</cronentries>
<faqentries>
</faqentries>
<widgets>
<widget guid="hello_world-81fc38c8-176f-415e-bc87-32013a905f6c7">
<template>hello_world</template>
<icon>module-icon-php.png</icon>
<isthirdparty>1</isthirdparty>
<category>Search</category>
<cloneable>0</cloneable>
<canbemultiple>1</canbemultiple>
<product>hello_world</product>
<definitions>
<definition>
<name>title</name>
<field>Text</field>
<defaultvalue>some value</defaultvalue>
<isusereditable>1</isusereditable>
<isrequired>1</isrequired>
<displayorder>1</displayorder>
<validationtype>force_datatype</validationtype>
<product>hello_world</product>
</definition>
</definitions>
</widget>
</widgets>
<pagetemplates>
</pagetemplates>
<pages>
</pages>
<channels>
</channels>
<routes>
</routes>
</product>
VB ver: 5.3.1
thanks
https://github.com/wayneluke/vB5-Addons/blob/master/Search_Box/product_rbs_searchbox.xml
thanks.
--------------- Added 1498205852 at 1498205852 ---------------
i also try to make hello world and edit code above, code below, but nothing appear when i'm drag the module to my custom page
<?xml version="1.0" encoding="ISO-8859-1"?>
<product productid="hello_world" active="1">
<title>hello world</title>
<description>hello world</description>
<version>1</version>
<url />
<versioncheckurl />
<dependencies>
</dependencies>
<codes>
</codes>
<templates>
<template name="hello_world" templatetype="template" date="1483365707" username="Wayne" version="1"><![CDATA[Hello World!]]></template>
</templates>
<stylevardfns>
</stylevardfns>
<stylevars>
</stylevars>
<hooks>
</hooks>
<phrases>
<phrasetype name="GLOBAL" fieldname="global">
<phrase name="hello_world_widgettitle" date="1480333644" username="Wayne" version="1"><![CDATA[Hello]]></phrase>
</phrasetype>
</phrases>
<options>
</options>
<helptopics>
</helptopics>
<cronentries>
</cronentries>
<faqentries>
</faqentries>
<widgets>
<widget guid="hello_world-81fc38c8-176f-415e-bc87-32013a905f6c7">
<template>hello_world</template>
<icon>module-icon-php.png</icon>
<isthirdparty>1</isthirdparty>
<category>Search</category>
<cloneable>0</cloneable>
<canbemultiple>1</canbemultiple>
<product>hello_world</product>
<definitions>
<definition>
<name>title</name>
<field>Text</field>
<defaultvalue>some value</defaultvalue>
<isusereditable>1</isusereditable>
<isrequired>1</isrequired>
<displayorder>1</displayorder>
<validationtype>force_datatype</validationtype>
<product>hello_world</product>
</definition>
</definitions>
</widget>
</widgets>
<pagetemplates>
</pagetemplates>
<pages>
</pages>
<channels>
</channels>
<routes>
</routes>
</product>
VB ver: 5.3.1
thanks