Forums / Setup & design / Fetching only polls from the folder

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Fetching only polls from the folder

Author Message

John Smith

Friday 11 March 2005 12:47:19 am

hi there,

Can anybody please tell me how to only fetch poll's from the folder in which there are many images, articles, polls and links.

Regards

Łukasz Serwatka

Friday 11 March 2005 12:50:39 am

poll=fetch( 'content', 'list', hash( parent_node_id, $node.node_id,
                                                    class_filter_type, include,
                                                    class_filter_array, array( 'poll' ),                                     
                                                    sort_by, $node.sort_array ) )

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

John Smith

Friday 11 March 2005 12:52:57 am

thanks mate

My fault was 'Poll', it should be 'poll'.
sorted