Monday 04 October 2010 10:45:05 am
More: take care about the sorting of nodes in the results of your block fetch function: ezflow assumes items are to be sorted by the value of the 'ts_publication' value in the return array. When this is not a publication date, things can get a little tricky, ie. you could use any ordered sequence of integers for sorting your items, but ezflow will still treat that value as a real timestamp, forgetting to update/show things with a date in the future, etc... I've found the usage of custom blocks to be better: fetch and sort in the template, and you're done. Of course, this has an impact cache-wise.
Principal Consultant International Business
Member of the Community Project Board
|