Trying to filter a Collection with two filters like this:
PHP
....the info works, but the template is not found. Should the 'template' line be somewhere else?
Trying to filter a Collection with two filters like this:
....the info works, but the template is not found. Should the 'template' line be somewhere else?
Yes, the template is not part of the filter options and needs to be set in the first array, as follows.
Thanks! But now it's not showing any content at all....
Its most likely that the filter you're using is returning no results, or there are errors in your template file. You can use the <perch:noresults> and <perch:showall> to debug the template. You should also be able to see the SQL query if you have PERCH_DEBUG set to true, which you can then check to see if the query is correct.