Share » Forums » Developer » (will not work when used as multiple...

(will not work when used as multiple selector)

(will not work when used as multiple selector)

Monday 23 January 2006 6:14:55 am - 1 reply

Author Message

Fabricio Guerrero

Tuesday 24 January 2006 9:49:08 am

Hi,

Trying to bump this up... I've done a work around for this.. My need was or is to be able to Filter Multiple Selection Attributes.

Since all over this site it specifically indicates that the "attribute_filter" cann't filter these type of Attributes I rewrote the fetch using the 'search' 'text' feature... this way i can perform a text search in the Multiple Selection Attribute and get the Articles assigned to either one or multiple categories...

example fetch:

{def $search=fetch( 'content', 'search',
hash( 'text', 'value_looking_for_here',
'class_id', 25,
'class_attribute_id', multiple_selection_attribute_id_here,
'offset',$view_parameters.offset,
'limit', $numberOfObjects,
'sort_by', array( 'published', false() )
))}
{set search_result=$search['SearchResult']}
{set search_count=$search['SearchCount']}

...here start looping...

Does anybody have any other ways to filter a Multiple SelectionAttribute?

Regards,
Fabricio

http://www.solobromasychistes.com <<Joomla Site :P
http://www.recipesforhealthyfood.com/ <<Drupal Site :P
http://www.ezforge.com/ <<future ezCommunity, Articles, forums and more...

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu