LV select Entries Separator
Hi Low,
I am using LV Select Entries for selecting sponsors for the homepage and it works great by using fixed_order = "{lv_sponsors}" However i don't quite understand what the differences of the separators are. Right now i set the separator as pipe line but if i change it to comma or new line it won't work anymore.
May you please explain this a bit more? Many thanks.
Replies
Low 28 Dec 2017 16:16
If you need the list of entry IDs to be separated by another character, then choose the appropriate one. I can imagine using the comma for SQL queries, for example (eg. SELECT * FROM exp_entry_titles WHERE entry_id IN ({lv_sponsors}); would result in a valid query when using a comma).
For most uses, the pipe will do just fine.