Thread tagged as: Question, Runway

Draw from multiple collections?

Wondering if this is possible...

using perch_content, I was able to have to pass in _id values from several different regions and get back a list:

<?php perch_content_custom(array('Case Studies','Downloads','Other Resource Links'),  array(
    'filter'=> '_id',
)); ?>

would this same thing be possible using collections?

Thanks, Monty

Monty Lewis

Monty Lewis 2 points

  • 4 years ago
Duncan Revell

Duncan Revell 78 points
Registered Developer

Yup. I believe that perch_collection works in exactly the same way as perch_content_custom.

You probably don't need the 'page' option though.

Yes!!! So happy! Made the switch and it works! Thanks! (six exclamation marks)