Share » Forums » Developer » Priorities of nodes ?

Priorities of nodes ?

Priorities of nodes ?

Wednesday 23 March 2011 6:12:44 am - 2 replies

Author Message

Marko Žmak

Wednesday 23 March 2011 7:23:46 am

What's the code of your fetch?

Note: The drag&drop functionality was removed in newer versions of eZP (i believe it was in 4.3), so you shouldn't much rely on it. What version of eZP do you have?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Fou Jino

Thursday 24 March 2011 12:53:14 am

Hi Marko,

Here my fetch :

{def $folders-level3 = fetch( 'content',
'list',
hash( parent_node_id, $folder-level2.node_id, 'class_filter_type', 'include',
'class_filter_array', array( 'folder' ) ))}

But in fact, I had a wrong fetch at level of "sort by", because I used this line for parameter of my sort :

'sort_by', array( 'priority')

And the right line is :

'sort_by', array( 'priority', true() )

So it solved, thanks anyway !!

Foujino ~ http://www.foujino-blog.be

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

36 542 Users on board!

Forums menu