Forums / Setup & design / Move items in the tree

Move items in the tree

Author Message

Valenti salas

Monday 13 December 2004 2:37:01 pm

hello,

I want to know if is it posible to move items up and down in the content tree on the admin site, because I need to alter the order of the items in the public site and now this are showed in the insert order.

Alex Jones

Tuesday 14 December 2004 6:46:35 am

Valenti, you can do this by choosing to sort the container by <i>Priority</i>. Read 'Sorting content' (http://ez.no/ez_publish/documentation/day_to_day_use/sorting_content) for an explanation of how to change the way objects are sorted.

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Valenti salas

Tuesday 14 December 2004 11:40:27 am

many thanks, but the link is not active.
I will try to find some information in ez.no.

Valenti.

Valenti salas

Tuesday 14 December 2004 12:03:28 pm

I have changed the order by in the admin by priority, but it only effects the admin view, how I can do to see this order when I show the nodes in the public site?

maybe I have to use a sort-by parameter in the fetch? what is this parameter?

Thanks.

Vivienne van Velzen

Tuesday 14 December 2004 11:37:13 pm

Hi Valenti,

Check this link, it shows all the sorting options available with a content fetch:
http://www.ez.no/ez_publish/documentation/customization/tips_tricks/fetch_function_examples

Vivienne