Developer forum

Forum » Dynamicweb 9.0 Upgrade issues » Sort nodes in the navigation tree in backend

Sort nodes in the navigation tree in backend

Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Guys,

Anything I can do to set the sorting of the nodes in the tree navigation to have the most recent first?

I have a solution that is basically content with a lot of news and articles. I am using some content pickers to select the artciles that are features or show in special places and all new articles are at the end of the list. That's very annoying for the content editors.

Any chance I can change this behavior on the whole solution? Or at node level?

Thanks,

Adrian


Replies

 
Nicolai Pedersen
Reply

Hi Adrian

I am affraid that is not possible. You can however make a SQL script that will sort the pages by date based on their parent ids. That SQL can be put in a t-sql directly on the SQL-server and put into either a trigger that runs on inserts of new pages or scheduled to run every now and then.

BR Nicolai

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Nicolai,

Thank you for the answer. Since it's a very particular use case so far, I think that might work.

I would be a nice touch for the CMS part if it would be already integrated, maybe with the other feature request of showing the child nodes in the right pane for some content intensive nodes.

Thank you,

Adrian 

 
Nicolai Pedersen
Reply

Agreed, it would make good sense to support a feature like that. Will look at it when we work with the support for larger content trees (pages in folders). That will be after 9.2 release.

BR Nicolai

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi NIcolai,

Thank you. It makes sense.

Adrian

 

You must be logged in to post in the forum