Share » Forums » Setup & design » 'sort_by' sort just the parent .....

'sort_by' sort just the parent .. porblem !

'sort_by' sort just the parent .. porblem !

Tuesday 24 January 2006 11:44:26 am - 4 replies

Author Message

Kristof Coomans

Tuesday 24 January 2006 11:09:22 pm

You will only get the direct childs of $top_cat because it's a list fetch. If you want further descendants, try the tree fetch instead (http://ez.no/doc/ez_publish/technical_manual/3_6/reference/modules/content/fetch_functions/tree).

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Selmah Maxim

Wednesday 25 January 2006 1:00:02 am

Same problem ... not sorting the child, maybe cuz of multible "{section}" ?!

I toke the code from here, for tree listing, with depth 1 ... what to do ?!

Selmah Maxim

Wednesday 25 January 2006 1:27:21 am

The sort_array is setted on 'published' , how to change this ?!

Selmah Maxim

Wednesday 25 January 2006 1:31:56 am

Oppss ....

I forget to say, that am trying to sort the childs from the same category... but even with tree didn`t work !

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu