On Jun 22, 5:22 pm, furby <[email protected]> wrote:

> It's easy to create userprefs for google gadgets... and if you are
> using those gadgets inside iGoogle, the userPrefs make a perfect place
> to put setup info... But how does one go about saving those prefs when
> the gadget is being run from a page outside of Google?

You are correct, setprefs doesn't work in syndicated gadgets. The
preferences can be set when the gadget is configured by the page
owner, and retrieved using the _IG_Prefs object, but not saved.

If you think about it, where would they be saved to? On iGoogle, the
page owner and viewer are the same person, and he's logged into his
Google account - so the preferences get saved there. With a syndicated
gadget, the page viewer isn't necessarily logged into anything, so the
API has nowhere to save prefs on a per-user basis.

The best answer I know of is to use cookies, but of course those are
stored within a single browser instance - not in the cloud, as iGoogle
prefs usually are.

String
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iGoogle Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Gadgets-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to