Hi,
I'm using this to output multiple collections, (I've removed the rest of the template to keep things clear)
It works, but I was wondering if I could set the collectionKeys as a variable like this:
$test = "'Listen Up', 'Case Studies', 'Publications', 'Resources'";
As expected, this echoes as:
'Listen Up', 'Case Studies', 'Publications', 'Resources'
The same as the collectionKeys, so how come this doesn't work? $test is set at the top of my template, before the perch_collection.
perch:debug shows this error:
No matching collections found. Check collection name ('Listen Up', 'Case Studies', 'Publications', 'Resources').
Even though they are the correct collection names?