Jump to:

10851 Posts in 2517 Topics by 1793 members

All other Modules

SilverStripe Forums » All other Modules » Solved!! - page-elements templates won't populate drop down

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 512 Views
  • honeybunny
    Avatar
    Community Member
    79 Posts

    Solved!! - page-elements templates won't populate drop down Link to this post

    I'm having a problem getting page-elements to populate the template drop down under the behavior tab in the cms. I'm running multiple sites under one install of ss 2.45 and for some strange reason page-elements works perfectly in some of the domains, but refuses to populate the templates in others.

    I've double checked the directories for typos, flushed, cleared cache, cleared the browser, deleted files, dropped tables, reinstalled the module, relinked and started over several times and it didn't solve the problem. I even went back to check for commonalities and potential conflicts with installed modules. I reviewed which modules were installed in the three domains that worked and compared them to the two domains that don't and didn't find anything out of the ordinary. All of the modules installed on the two domains that won't populate are installed in at least one, if not all of the other domains where the module is working. Nothing came up in the error logs and I tried dev mode hoping to find some sort of error but came up blank.

    Does anyone have any ideas what else I should look at or try?

    HB

    -----------------------------------------
    ETA: After setting this aside for a few weeks I realized that I hadn't tried changing the theme. Once I selected a new theme, page elements started working for both sites. It turns out that the thing they had in common, the one thing that none of the other sites had, was an open in new window command. As soon as I commented out that line in the php (and flushed) the original theme loaded the page elements templates. It was so simple, I can't believe that I didn't try it before doing anything else.

    HB

    512 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.