LISE - Multiple Category Filtering

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
rbaby
Forum Members
Forum Members
Posts: 144
Joined: Thu Feb 07, 2008 10:28 pm

LISE - Multiple Category Filtering

Post by rbaby »

Hi guys,

I'm using LISE and need to be able to display items that have all the categories specified, not any of. Basically cat1 AND cat2 AND cat3; currently the category="" filter is doing cat1 OR cat2 OR cat3 so it's basically displaying everything.

I have 2 levels of filtering:
- Language
- Type/Group
- Featured (yes/no)

I have a homepage that would only need to show language=english and featured=yes. A landing page that would need to show language=english and grouped by type/group.

I'm happy to use a separate field definition for this such as a checkbox group, but I'm unsure how to filter when I call the tag with a custom field. Any guidance would be appreciated.

Thank you.
tamsrud
Forum Members
Forum Members
Posts: 37
Joined: Mon Jun 06, 2011 6:25 am

Re: LISE - Multiple Category Filtering

Post by tamsrud »

LISE only support one category, so the other two must be a dropdown or similar. Checkbox for Features seems reasonable.

To filer on multiple fieds, you can use search.
search_*="" - Search a particular field. You can use 'title' or the alias of a field definition, e.g. search_title. Can be combined with fulltext search. Multiple search_* params can be combined.
Example
{LISEModule search_language='english' search_featured='1'}
rbaby
Forum Members
Forum Members
Posts: 144
Joined: Thu Feb 07, 2008 10:28 pm

Re: LISE - Multiple Category Filtering

Post by rbaby »

Thank you so much!
Locked

Return to “Modules/Add-Ons”