Login | Forgot password | Register

X

What is OpenID?

OpenID is an Internet-wide identity system that allows you to sign in to many websites with a single account.

With OpenID, your ID becomes a URL (e.g. http://username.myopenid.com/). You can get a free OpenID for example from myopenid.com.

For more information visit the official OpenID site.

Jump to:

370 Posts in 100 Topics by 134 members

Widgets

SilverStripe Forums » Widgets » WidgetAreaEditor not saving its instance ID on Page Type

Discuss SilverStripe Widgets.

Page: 1
Go to End
Author Topic: WidgetAreaEditor not saving its instance ID on Page Type 655 Views
  • Wellfire
    avatar
    Community Member
    1 posts

    WidgetAreaEditor not saving its instance ID on Page Type Link to this post

    Currently have extended the WidgetArea to appear on other pages. I get the WidgetAreaEditor showing up in the CMS correctly, and newly placed widgets get saved to the correct WidgetArea.

    However, the Page that contains this widget area (Sidebar) does not update with the correct WidgetArea ID (SidebarID) and instead remains with a value of 0. I've tried to force it using write, onBeforeWrite, and onAfterWrite, but I can't get it to work correctly. The closest I've gotten is to force every single Page to have the same widgetArea, which is not what I want or need.

    Any help on associating the new widgetArea and its ID with the containing Page would be greatly appreciated!

  • FungshuiElephant
    avatar
    Community Member
    49 posts

    Re: WidgetAreaEditor not saving its instance ID on Page Type Link to this post

    Not really sure I understand what you mean, better start off with some basics...

    What version of SS are you running?
    How have you extended the WidgetArea? Do you mean that you've modified a page to include a WidgetArea?
    Can you post a picture showing what you mean, with the associated code?

    I think that the WidgetAreaId will probably be the same for all pages of a given type. It will only be the widgets within it that change. So it may be that what you are experiencing is correct. What are you trying to do?

    More questions than answers so far!

    655 Views
Page: 1
Go to Top

Currently Online: motly, Euphemismus, RichHead, Thomas B. Nielsen

Welcome to our latest member: fearofbuttons

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.