Forums / Setup & design / Can I do this?

Can I do this?

Author Message

Vicente Olivan

Tuesday 29 January 2008 1:03:49 pm

Default, on ez publish, if I ordered the first 5 articles or items for priority/descending, this happens:

article | priority 5
article | priority 4
article | priority 3
article | priority 2
article | priority 1
article | First published
...
article | Last published

But I want

article | priority 1
article | priority 2
article | priority 3
article | priority 4
article | priority 5
article | Last published
...
article | First published

Can I reverse order, in admin and site public?
I tried to change the <b>children.tpl</b> template in admin design with <b>'sort_by' array (array ( 'priority', true ()), array ( 'published', true ()),</b> but it doesn´t works.
Thanks in advanced

Vicente Olivan

Tuesday 29 January 2008 4:48:55 pm

Hi
I had a stupid mistake:

'sort_by' array (array ( 'priority', true ()), array ( 'published', true ()) <b>)</b>,

I´m trying set value ascending/descending to priority array...
Some suggestion or documentation?
Thanks