I really think Orkut needs a developer updates and announcements list or
feed (or both) where they can notify us when pushes are being made and
changes are being pushed out. Facebook has this, and it's extremely helpful
to prepare for so we can come back and notify them if something broke
because of the change.
Jesse
On Feb 18, 2008 8:09 AM, Jerome <[EMAIL PROTECTED]> wrote:
>
> Hmmm... that's weird. Before posting here last night, I verified in
> the "CodeRunner (0.7)" gadget that the function with the enum I posted
> above took me to the Canvas. I just tried again, and now I am getting
> an error too.
>
> Jerome
>
> On Feb 18, 5:52 am, Mark Otero <[EMAIL PROTECTED]> wrote:
> > Hi Jerome,
> >
> > Thank you for the reply. However, the solution that you provided does
> > not work. I checked "Firebug" and it appears that the function
> > gadgets.views.requestNavigateTo(...) is not fully implemented.
> >
> > Here's the Javascript:
> >
> > return {
> > 1751 requestNavigateTo : function(view, opt_params) {
> > 1752 // TODO: Actually implementing this is going to require
> > gadgets.rpc or
> > 1753 // ifpc or something.
> > 1754 var prefs = new gadgets.Prefs();
> > 1755 var ifpcRelay = gadgets.util.getUrlParameters().parent || '';
> > 1756 gadgets.ifpc_.call("remote_iframe_" + prefs.getModuleId(),
> > 1757 "requestNavigateTo",
> > 1758 ["remote_iframe_" + prefs.getModuleId(),
> > 1759 view.getName(),
> > 1760 opt_params],
> > 1761 ifpcRelay,
> > 1762 null,
> > 1763 '');
> > 1764 },
> >
> > It appears that whoever was working on implementing this function
> > decided to stop after they realized that it required more work than
> > they initially bargained for.
> >
> > Were you able to use the function call?
> >
> > - Mark
> >
> > On Feb 17, 5:01 pm, Jerome <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > > Hi Mark,
> >
> > > In 0.7, the gadget API allows to switch views. For instance, the
> > > following call would move to the canvas view:
> > > gadgets.views.requestNavigateTo(gadgets.views.ViewType.FULL_PAGE);
> >
> > > You could create a A link with a onclick calling this API function.
> >
> > > There is a more detailed example available here:
> http://code.google.com/p/opensocial-resources/wiki/NavigationBetweenV...
> >
> > > Hope this helps.
> >
> > > Jerome - LjmSite
> >
> > > On Feb 17, 4:06 pm, Mark Otero <[EMAIL PROTECTED]> wrote:
> >
> > > > Hi - is there a way to link to the canvas view on the profile view?
> > > > For example, "click here to go to canvas"? I know that users can
> > > > select "view more" but is there a way to link to the canvas view
> > > > page?
> >
> > > > The opensocial.requestNavigateTo(...) function does not work and
> does
> > > > not appear to be a part of the 0.7 specification.
> >
> > > > Thanks!- Hide quoted text -
> >
> > - Show quoted text -
> >
>
--
Jesse Stay
The Social Media Guru
Partner, CSO: http://www.SocialOptimize.com
Co-Author: I'm on Facebook -- Now What???
http://FacebookAdvice.com
Blogger: http://www.jessestay.com
http://www.socialoptimize.com/blog
Phone: (801) 853-8339
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Orkut 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/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---