Share » Forums » Extensions » eZ Flow » Shuffle works only with fetch blocks?

Shuffle works only with fetch blocks?

Shuffle works only with fetch blocks?

Tuesday 09 August 2011 3:28:15 am - 2 replies

Author Message

Felix Laate

Tuesday 09 August 2011 4:41:59 am

You could use a shuffle operator. Add e.g. the http://projects.ez.no/swark_for_ez_publish_4 extension, and then use the shuffle operator to randomize the order of the $valid_nodes array.

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Denitsa M.

Tuesday 09 August 2011 4:56:14 am

Thank you for your reply, but my meaning is exactly not to use any operator in templates. It is pointless system to return all N items into the valid_nodes array, when it can return only X items; imagine if N is 100 and X is 3, then this is just a waste of resources. If it was up to an operator usage, you do not even need an extra extension to do this with template code.

Iguana IT - http://www.iguanait.com

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

36 542 Users on board!

Forums menu