Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

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.

Customising the CMS /

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

Reordering Menu - DESC


Go to End


1045 Views

Avatar
johnp

Community Member, 8 Posts

25 September 2012 at 10:52pm

Hi Guys,

I am trying to put pages in Descending order in Menu(2). Currently I have to drag and drop the pages in the CMS. I have tried several ways to achieve this with no success. for example,

static $default_sort = "Created DESC";

In Page.php, but no Luck.

Can anyone help

Thanks