All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Using a set to reorder when using parent entries

David 11 Nov 2016 21:27 question, complete

So I've got a 'People' section working nicely, reordering using Low Reorder:

{exp:low_reorder:entries channel="people" disable="member_data|pagination|categories" set="people_order"}
{stuff}
{/exp:low_reorder:entries}

I'd like to be able to use this same ordering for parents (the services a person offers):

{parents field="person_services"}
{parents:stuff}
{/parents}

Sorry if this has been answered elsewhere but I've tried looking for a while and have not found a suitable answer.

Thanks!

Replies

  1. Low 11 Nov 2016 21:39

    Not the most elegant solution, but you'll have to use an embed (or Low Variables snippet) combined with the {parents:entry_ids field="person_services"} variable. For example:

    {embed parent_ids="{parents:entry_ids field="person_services"}"}


    and in the embed:

    {exp:low_reorder:entries set="people_order" entry_id="{parent_ids}" ...} 

  2. David 14 Nov 2016 10:34

    Thanks, that's sussed it :)