Forums / Developer / To fetch articles that contain only images
Romeo Antony
Tuesday 22 June 2010 4:55:33 am
Can you please tell me how to fetch articles with image attribute only. I do not want to fetch articles that do not have image attribute .how do I do that when I use dynamic blocks
Andrew Duck
Tuesday 22 June 2010 5:23:26 am
I would suggest building an extended attribute filter. Filter the ezimage datatype on the is_valid attribute to determine if the attribute has image content or not.
Andrew Duck, Executive Director, Quiqcorp Limited eZ Certified Developer and Trainer. Member of the Community Project Board http://quiqcorp.com | http://twitter.com/andrewduck