Shindig provides a metadata REST API that parses the spec and returns
JSON:
http://www.google.com/codesearch/p?hl=en#y-Zfa3TVISY/trunk/Application/
Models/applications/applications.php&l=101
It's used in the load_get_application function:
http://www.google.com/codesearch/p?hl=en#y-Zfa3TVISY/trunk/Application/
Models/applications/applications.php&l=137
The user prefs are provided in the returned object. Partuza stores
them in the 'settings' column of the 'applications' table:
http://www.google.com/codesearch/p?hl=en#y-Zfa3TVISY/trunk/Application/
Models/applications/applications.php&l=171
-- Tim
On May 15, 2009, at 2:22 PM, Kevin Warrington wrote:
Thank you for the resources. I am having trouble understanding where
the $vars variable is populated, specifically for finding out where
$vars['application'] is created.
I guess I'm missing where I can access the UserPref's defined in the
gadget xml, so I can build a custom form for the user using a similar
method to application_settings.php.
On Fri, May 15, 2009 at 2:59 PM, Tim Moore <[email protected]>
wrote:
Are you using Java or PHP Shindig? You could look at Partuza to see
how it handles the UserPrefs UI
http://www.google.com/codesearch/p?hl=en#y-Zfa3TVISY/trunk/
Application/Views/applications/application_settings.php
On May 15, 2009, at 12:44 PM, Kevin Warrington wrote:
Hey Guys,
I am trying to generate editable user preferences. I have defined a
<UserPref> tag within my xml and the form xml is not being
returned when I
try to edit. All i get are a 'Save' and 'Cancel'.
A call is being made to http://gmodules.com/ig/gadgetsettings?
Is this the correct url I should be using? The gadgets I am
creating will
be for private use only, to be used internally within a company.
So I guess
does Shindig have a way of extracting the UserPref info from the
gadget xml,
without having to go to gmodules.
Can someone guide me in the right direction?
Thank you,
Kev