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

Support archive

Low variable select entries returning no results

Chris 23 Jul 2014 14:42 problem, rejected

I'm having an issue where a select entries variable in a channel entries tag returns no matches.

'{exp:channel:entries
channel="schedule"
dynamic="no"
entry_id="{featutred_event_ids}"
show_future_entries="yes"
}'

In this case, I'm trying to get the entry with the id 477.

'"477|{featutred_event_ids}"'
Displays "477|477", so things look right, but

' {if {featutred_event_ids} == "477"}SAME{if:else}WHA?{/if}'
displays: WHA?

I've tried all three early parsing options, and template debugging isn't showing up for some reason. :\

We're also using low variable version 2.4.0

Any ideas?

Replies

  1. Chris 23 Jul 2014 14:47

    Oh! Turns out I didn't turn on early parsing for that specific variable.

    Works perfectly! :D

    Thanks!

  2. Low 23 Jul 2014 14:54

    Looks like the var isn't added as an early parsed var. I'd recommend upgrading to the latest version to be sure, and get template debugging working (are you logged in as SuperAdmin and is the CP under the same domain as the front-end?)

    Also, what other extensions are you running? It is possible there is a conflict there.

  3. Chris 24 Jul 2014 20:24

    Thanks for your help!

    Everything's working now. Turns out I didn't realize I had to turn on the individual variable for early parsing.

    Still don't know why template debugging isn't working. I am a super admin. But that's for another day. :)

    Thanks for looking into this.