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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 30 2025 21:41:56
Script start
Timing: Jan 30 2025 21:41:56
Module start 'layout'
Timing: Jan 30 2025 21:41:56
Module start 'content'
Timing: Jan 30 2025 21:41:56
Module end 'content'
Timing: Jan 30 2025 21:41:56
Script end

Main resources:

Total runtime0.0211 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0043 588.1250151.2109
Module start 'layout' 0.00430.0034 739.3359220.6875
Module start 'content' 0.00760.0120 960.0234997.7734
Module end 'content' 0.01960.0015 1,957.796933.9922
Script end 0.0211  1,991.7891 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002511.6722140.0002
Check MTime0.00104.7530140.0001
Mysql Total
Database connection0.00062.854310.0006
Mysqli_queries0.00199.141730.0006
Looping result0.00000.042910.0000
Template Total0.00115.110.0011
Template load0.00094.093110.0009
Template processing0.00020.960110.0002
Override
Cache load0.00062.773110.0006
General
dbfile0.00021.081980.0000
String conversion0.00000.022640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs