Is there any reason this conditional wouldn't work?

{standard_page_events var_prefix="cat"}
    {exp:playa:coparents var_prefix="event" channel="events" child_id="{cat:entry_id}"}
        {if {event:count} == 1}<div class="banded"></div><hr>{/if}
  • 2
    Try {event:if count == 1}. May 1, 2013 at 16:42

3 Answers 3


Brandon's solution worked great! Thanks!

{event:if count == 1}

Ian's suggestion worked great for me. Here was my working code

{if '{thirdorder:static_map_3rd_order}'} 
    <img src="{thirdorder:static_map_3rd_order}" alt="{thirdorder:title}" style="padding:10px;" width="100%"/>

You may need to wrap it in quotes. Try this:

{if '{event:count}' == '1'}<div class="banded"></div><hr>{/if}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.