Jump to:

22972 Posts in 11596 Topics by 2824 members

General Questions

SilverStripe Forums » General Questions » Drag and Drop

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: 574 Views
  • Daris
    Avatar
    Community Member
    6 Posts

    Drag and Drop Link to this post

    I have a page with six video flv's I would like to be able to re order them as new ones are added so the newest is at the top How do I add this facility to silverstripe Thanks

  • swaiba
    Avatar
    Forum Moderator
    1769 Posts

    Re: Drag and Drop Link to this post

    Well the only drag and drop I know is this one...
    http://silverstripe.org/sortweight-module/

    But if you just want the latest at the top then the DataObject that contains the stuff you can add a default sort..

    $default_sort = 'Created DESC'; // or 'ID DESC';

    hope this helps

  • Daris
    Avatar
    Community Member
    6 Posts

    Re: Drag and Drop Link to this post

    swaiba,
    Thank you so much for taking the time to reply That's what I wanted to know Many thanks once again Regards

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