You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by Kevin Warrington <ke...@gmail.com> on 2009/05/01 22:29:25 UTC
Customize userPrefs
Hey guys,
I need some information regarding the customization of the userPrefs UI.
I would like to customize the gadget heading bars, eg. Title - settings -
toggle, along with the action that is triggered when one clicks settings.
Can the app be configured to trigger a popup instead of just the default
dropdown when someone clicks settings?
Thank you
Re: Customize userPrefs
Posted by Todd Seiber <to...@gmail.com>.
Have a look at gadgets.js. Modify the method handleOpenUserPrefsDialog
and/or showUserPrefsDialog.
On Fri, May 1, 2009 at 4:29 PM, Kevin Warrington <kevin.warrington@gmail.com
> wrote:
> Hey guys,
> I need some information regarding the customization of the userPrefs UI.
>
> I would like to customize the gadget heading bars, eg. Title - settings -
> toggle, along with the action that is triggered when one clicks settings.
> Can the app be configured to trigger a popup instead of just the default
> dropdown when someone clicks settings?
>
> Thank you
>
--
Todd Seiber
830 Fishing Creek Rd.
New Cumberland, PA 17070
h. 717-938-5778
c. 717-497-1742
e. todd.seiber@gmail.com
Re: Customize userPrefs
Posted by Tim Moore <tm...@atlassian.com>.
On May 1, 2009, at 1:29 PM, Kevin Warrington wrote:
> Hey guys,
> I need some information regarding the customization of the userPrefs
> UI.
>
> I would like to customize the gadget heading bars, eg. Title -
> settings -
> toggle, along with the action that is triggered when one clicks
> settings.
> Can the app be configured to trigger a popup instead of just the
> default
> dropdown when someone clicks settings?
Shindig doesn't provide the user prefs UI. That's up to the container
implementor (i.e., you) to handle, so you can do whatever you like.
The UI used in the sample container shipped with Shindig is only an
example and is probably not what you want to use in a production
application. It actually relies on iGoogle's implementation, loading
an external script from gmodules.com and storing saved pref values in
cookies. Real containers should generate their own UI, and provide
their own persistence mechanism.
-- Tim