Jump to:

23453 Posts in 18904 Topics by 2877 members

General Questions

SilverStripe Forums » General Questions » New page dropdown list problem

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 587 Views
  • Borgopio
    Avatar
    Community Member
    14 Posts

    New page dropdown list problem Link to this post

    Hi all,

    in CMS I've noticed that sometimes the dropdown list used to select which new page type wish to create fail to load (is empty) or list the page types allowed for the last page I've modified.

    I cannot really understand why it happen, maybe it's a strange behaviour of $allowed_children? It happen either when $allowed_children list something or when its set to 'none'. But, I repeat, it happen random.

    Any suggest?

  • jizzman
    Avatar
    Community Member
    23 Posts

    Re: New page dropdown list problem Link to this post

    Yes, I have also noticed this on occasion. I've found I've had to select an existing page (and try a create) to 'refresh' the list.

  • novaweb
    Avatar
    Community Member
    115 Posts

    Re: New page dropdown list problem Link to this post

    After experiencing this problem, have you run /dev/build then tried again? Is this on your local machine or on a server somewhere?

  • Borgopio
    Avatar
    Community Member
    14 Posts

    Re: New page dropdown list problem Link to this post

    I'm also able to "workaround" everytime with a lot of refresh or sort-of.
    I think dev/build is unnecessary anyhow the problem happen randomly (even after a dev/build), on a local machine or online.

    Maybe a strange behaviour that "yes happen" but never noticed as a real problem to fix?

  • jizzman
    Avatar
    Community Member
    23 Posts

    Re: New page dropdown list problem Link to this post

    2.4.6

    I just experienced this again. My conditions are a flat tree of different page types where most disallow child pages: i.e.

    Site:
    -> page type 1 (no)
    -> page type 2 (no)
    -> page type 3 (no)
    -> page type 4 (yes)
    -> child page type 1
    -> page type 5 (yes)
    -> child page type 2
    -> page type 6 (no)

    Refreshing the browser to reload the CMS did not work. I had to click on an instance of a page type that allows child pages, click on a child page, then click on the parent page again. The page creation list dropdown was then restored to normal.

    I'm running on a local XAMPP server - Mozilla Firefox - Windows XP SP3 (Linux people stop laughing and saying I deserve it!

    With version 3 on the horizon it probably doesn't matter.

    J

    587 Views
Page: 1
Go to Top

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

Comments on this website? Please give feedback.