Sunday 08 June 2008 10:45:39 am
Hi, After a complete day to try to make works eZ Flow, I'm asking me if eZ Flow is complete ! I just want to use overflow rules between two dynamic blocs who will display the same content (articles). The first block will have 4 items visibles, and the second block will display 10 item. So I would like the first block to display articles 1 to 4, and the second block to display articles 5 to 14. So I have defined my blocks like this :
[block2]
Name=block2
NumberOfValidItems=10
NumberOfArchivedItems=0
ManualAddingOfItems=disabled
FetchClass=fetcharticles
FetchParameters[]
FetchParameters[Source]=nodeID
FetchParameters[Class]=Class
# Single / Multiple
FetchParametersSelectionType[Source]=single
FetchParametersSelectionType[Class]=multiple
FetchParametersIsRequired[]
# True / False
FetchParametersIsRequired[Source]=true
FetchParametersIsRequired[Class]=true
ViewList[]=vue_liste
ViewName[vue_liste]=Vue liste
[block1]
Name=block1
NumberOfValidItems=4
NumberOfArchivedItems=0
ManualAddingOfItems=disabled
FetchClass=fetcharticles
FetchParameters[]
FetchParameters[Source]=nodeID
FetchParameters[Class]=Class
# Single / Multiple
FetchParametersSelectionType[Source]=single
FetchParametersSelectionType[Class]=multiple
FetchParametersIsRequired[]
# True / False
FetchParametersIsRequired[Source]=true
FetchParametersIsRequired[Class]=true
ViewList[]=vue_liste
ViewName[vue_liste]=Vue liste
The fetcharticles class returns the articles ordered by publication date DESC, without limit. Then, I added the two blocks into my zone, set the parameters and selected block2 into the overflow dropdown of the block1. But I have the same content into the blocks, even if I run the ezflow cronjob... I'm going to became crazy with eZ Flow =( Thanks in advance for your help !
eZ Publish Freelance
web : http://www.webaxis.fr
|