Jump to:

7938 Posts in 1541 Topics by 945 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » Sortable data object breaks silverstripe

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Page: 1
Go to End
Author Topic: 525 Views
  • Bronwyn
    Community Member
    16 Posts

    Sortable data object breaks silverstripe Link to this post

    Hi, I have an Awards object which has a many to many relationship to a staffpage, and a many to one relationship to an awardsholder. I am trying to make the object sortable, but whenever I put either of:
    (from http://www.ssbits.com/snippets/2010/a-data-object-manager-cheatsheet/)


    SortableDataObject::add_sortable_many_many_relation("StaffPage", "AwardObject");

    in mysite/ _config.php, it breaks the site when I rebuild it. Any help much appreciated.

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.