Saturday 23 March 2013 4:35:43 pm - 1 reply
Hi,
i'm currently working on ezFlow powered news portal, and i'm stuck with one problem.
Article class is extended with custom attribute "show_on_frontpage" (checkbox), and one of the blocks need to display only articles which have that attribute 'true', but skip all others. Something like this:
"select * from articles where show_on_frontpage=1 limit 5 order by publish_time desc"
My block.ini is like this:
[HomeSlider] Name=Homepage Slider NumberOfValidItems=5 NumberOfArchivedItems=5 ManualAddingOfItems=disabled FetchClass=eZFlowLatestContent FetchParameters[Source]=NodeID FetchParametersSelectionType[Source]=single FetchParametersIsRequired[Source]=true FetchParameters[Classes]=string FetchFixedParameters[Limit]=5 ViewList[]=homepageslider ViewName[homepageslider]=HomepageSlider
I tried to made a copy of eZFlowLatestContent class (also changed fetch class in block.ini), and adding a custom parameters to it, but without success.
Any help is appreciated.
Modified on Saturday 23 March 2013 5:03:46 pm by djaba lesku
You must be logged in to post messages in this topic!