Low Variable with Select Entries fieldtype, includes Relationship
I had a Low Variable which used Playa to select which "feature" entries should appear on the home page and in what order. I decided to eliminate Playa and changed the fieldtype over to the native Select Entries with the drag and drop columns. That part works great. The problem is how do I change my template syntax? I've looked in the LV docs and fussed with this for hours to no avail.
Code for original template (using Playa) here: https://gist.github.com/amywitty/6aec...
Thanks!
Replies
Low 19 Dec 2017 19:10
If you choose a pipe as separator for the Select Entries variable, the output of the var will be a pipe-separated list of entry IDs, which you can then feed to the Channel Entries tag, provided that Early Parsing is also enabled for the var.
So, make sure you've enabled early parsing, have the separator set to a pipe, and then use the channel:entries tag like so:
Amy Witty 19 Dec 2017 19:28
Thank you! This is working. Also, note to self: remember to clear the page/template cache while testing.