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
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
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
swaiba,
Thank you so much for taking the time to reply That's what I wanted to know Many thanks once again Regards