#Multiplaya
- Author: Mark Croxton
- Requires: ExpressionEngine 2
- Playa 4.1.0.3+
Extends the Playa module to allow retrieval of parent/child relationships for multiple entry ids. Specifically, you can add multiple entry ids to the entry_id parameter.
- Copy the multiplaya folder to ./system/expressionengine/third_party/
- In the CP, navigate to Add-ons > Modules and click the 'Install' link for the Multiplaya module
Get related entries which have ALL the parents listed - use '&' as a delimiter.
{exp:multiplaya:parents entry_id="20&31&73"}
...
{/exp:multiplaya:parents}
Get related entries which have ANY of the parents listed - use '|' as a delimiter
{exp:multiplaya:parents entry_id="20|31|73"}
...
{/exp:multiplaya:parents}
Get related entries which have ALL the children listed
{exp:multiplaya:children entry_id="20&31&73"}
...
{/exp:multiplaya:children}
Get related entries which have ANY of the children listed
{exp:multiplaya:children entry_id="20|31|73"}
...
{/exp:multiplaya:children}
Works in the same way with the other standalone Playa tags, with the exception of the siblings tags.