UserPref - Activates "Edit" Dropdown Option on Gadget?

Eddie Connatser September 17, 2013

After adding a few "UserPref"s to my custom gadget's XML, when I add the gadget to my dashboard and try to configure it through the dropdown/Edit option, nothing happens. Am I missing something? Here is the code below:

<?xml version="1.0" encoding="UTF-8" ?>

<Module>

<ModulePrefs title="Pref Test" author_email="adent@example.com" directory_title="Pref Test D-Title"
screenshot="http://labs.atlassian.com/svn/GADGETS/trunk/jira-issues/basic/jira-issues-screenshot.png"
thumbnail="http://labs.atlassian.com/svn/GADGETS/trunk/jira-issues/basic/jira-issues-thumbnail.png">

<Require feature="minimessage" />
<Optional feature="dynamic-height" />

</ModulePrefs>


<UserPref name="show_date" display_name="Show Dates?" datatype="bool" default_value="true"/>
<UserPref name="difficulty" display_name="Difficulty" datatype="enum" default_value="4">
<EnumValue value="3" display_value="Easy"/>
<EnumValue value="4" display_value="Medium"/>
<EnumValue value="5" display_value="Hard"/>
</UserPref>

<Content type="html">
<![CDATA[
Hello, world!
]]>
</Content>

</Module>

Thanks in advance!

1 answer

0 votes
seb bernier April 21, 2015

I am having the same exact problem. Can someone post an answer to this?
Thank you.

Suggest an answer

Log in or Sign up to answer