-
- 429 Posts
I would like to filter my PHX call by showing items which have a selected value among its string.
I have a list of check boxes, the user can select more than 1 check box value. I would like to use PHX to filter my Wayfinder call to only show nodes with a value matching any one of my selected check box options. But as the ’is’ filter requires an exact match and sees the check options as a single value it complicates my filtered lists.
Any suggestions. Thanks
-
- 24,544 Posts
You can create a custom modifier in PHX by just creating a snippet and using the name of the snippet as the modifier name. If PHX doesn’t recognice a modifier, it looks for a snippet of that name and runs it.
http://wiki.modxcms.com/index.php/PHx#Custom_modifiers
-
- 429 Posts