Search

Hi there, I need some pointers to how i can filter by multiple inputs. My situation is like this:

'Works' page with multiple items, each item has 'title', 'type', 'director', 'agency', etc...

Now,i can create a new ds to filter 'works' by {$director} and when i go to root/works/a-director/ i get the filtered results. that's nice, but... I read all the entries in the forum about filtering and such, but i can't manage to get the multiple filtering thing work. I would like to know how i can setup my ds to allow me to filter the works by director or by agency or by type...

thanks in advance, ea

you can take a look at this post: http://symphony21.com/forum/discussions/268/1/

whenever I have an issue with filtering I usually turn to this first and a really good source to learn much more about s2. You may want to do a search for Enumeration on that page. Basically, it allows you to set fallbacks if some parameter is not there. So for your situation, if you are filtering only with one value, but you wanted to use all those different fields as filters, you could probably write this:

{$director:$agency:$type:default_value}

thanks

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details