Forums / Developer / To set up extended attribute parameter in ezflow dynamic block in block.ini
Romeo Antony
Sunday 11 July 2010 12:53:20 am
[Dynamic1Sports] Name=1 items (Sports) NumberOfValidItems=1 NumberOfArchivedItems=3 ManualAddingOfItems=disabled FetchClass=eZFlowLatestImageObjects FetchFixedParameters[Class]=article FetchFixedParameters[Source]=72 FetchFixedParameters[extended_attribute_filter]=/ **************************/ ViewList[]=1_sports1ViewName[1_sports1]=1 sports (1)
Can anyone help me in setting up FetchFixedParameters[extended_attribute_filter]
Nicolas Pastorino
Monday 12 July 2010 12:21:25 am
Hi Romeo,
I am wondering where you found this parameters ? I can not find it in eZ Flow's default block.ini file.
On a more general note : what are you trying to achieve ?
-- Nicolas Pastorino Director Community - eZ Member of the Community Project Board eZ Publish Community on twitter: http://twitter.com/ezcommunity t : http://twitter.com/jeanvoye G+ : http://plus.tl/jeanvoye
Monday 12 July 2010 6:00:10 am
Hi Nicolas, thank you for your reply.
I will tell you the what I am trying to get.
I need to display articles class objectes which have image attribute.
That means I do not want to fetch article without image attributes.
For that , I need to use extended attribute.
I am using ezflow extension , In ezflow extension in dynamic blocks i want to display this articles class objects which have image attribute.
So I need to filter the article objects to fetch into dynamic blocks.
Can u plz help me how to set up extended attribute for this dynamic blocks.
Plz help me Romeo
Monday 12 July 2010 10:25:48 am
I would recommend using a custom eZ Flow fetch. Check the examples in ezflow/classes/fetches/.
You can then configure a block to use your custom fetch class through the FetchClass= directive.
Let us know how tings go,Cheers,
Tuesday 13 July 2010 5:12:09 am
Thanks a lot for your help Nicolas.I will try that and let you know the progress