Replicant
05-04-2015, 10:55 PM
I just finished creating a custom widget. It shows up in SiteBuilder with the correct icon, but VB seems to want to name it kind of odd.
~~widget_polls_widgettitle~~
The template name is widget_polls. I was wondering if anyone knows which item in the XML file names the widget. Currently, I have "title" in the <name> tag in the XML file and that got me nowhere. Here is the definition block from the XML file.
<definition>
<field>Text</field>
<name>title</name>
<defaultvalue>Current Polls</defaultvalue>
<isusereditable>1</isusereditable>
<isrequired>0</isrequired>
<displayorder>1</displayorder>
<validationtype>force_datatype</validationtype>
</definition>
~~widget_polls_widgettitle~~
The template name is widget_polls. I was wondering if anyone knows which item in the XML file names the widget. Currently, I have "title" in the <name> tag in the XML file and that got me nowhere. Here is the definition block from the XML file.
<definition>
<field>Text</field>
<name>title</name>
<defaultvalue>Current Polls</defaultvalue>
<isusereditable>1</isusereditable>
<isrequired>0</isrequired>
<displayorder>1</displayorder>
<validationtype>force_datatype</validationtype>
</definition>