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

Support archive

Having an issue displaying variables when clicking on variable groups in CP

thatdeadpixel 17 Apr 2017 14:23 question, complete

EE v3.5.4
LV v3.0.4

I installed LV on a site and setup a a Group. I created some variables and assigned them to the Group. When I click on the Group name I get the settings for that group instead of the list of variables to add content to. It's a development site so I haven't purchased a license yet, maybe that is the issue? I've attached a screenshot showing that I have some variables setup and added to the Groups. And i have attached a screenshot that shows the settings page after clicking on a Group.



Replies

  1. Low 18 Apr 2017 07:09

    Correct, when you haven't entered a license key, each you will be redirected to the main Settings page. Enter a license key and all will be well.

  2. thatdeadpixel 18 Apr 2017 14:52

    Thanks Low, one more quick question...can I reorder variables within a group?

    Low 18 Apr 2017 15:49

    Yes, by drag/dropping them in the group details, see http://gotolow.com/addons/low-variabl...

  3. thatdeadpixel 18 Apr 2017 15:32

    Another question, sorry. I'm trying to figure out the template code to display channel entry data from a "Select Entries" variable. I have something like the attached code and it's not spitting out the content. What is the correct format? Thanks!

     
    {exp:low_variables:pair var="lv_home_services"}
    div class="col span_6_of_12 feature_block""
    article
    h1{lv_home_services:services_home_box_heading}/h1
    h2{lv_home_services:services_home_box_subheading}/h2
    p{lv_home_services:services_home_box_summary}/p
    a href="/services/{url_title}" class="button style1">Get More Information /a
    /article
    /div
    {/exp:low_variables:pair}


    Edit: I had to remove the html tags for things to display correctly.

    Low 18 Apr 2017 15:51

    The Select Entries var type will save the entry IDs as a pipe-separated list. Enable Early Parsing for that variable and then you can use the var-syntax as a parameter value, for example:

    {exp:channel:entries entry_id="{lv_home_services}"} 
    ...
    {/exp:channel:entries}


    ...or use the fixed_order parameter if the order matters.

  4. thatdeadpixel 18 Apr 2017 16:02

    thanks Low. After turning on Early Parse, and editing the variable, I'm getting an error when trying to Save. It mentions Ansel in the error, but that isn't even the type of field I'm editing.

    thatdeadpixel 18 Apr 2017 16:05

    I deleted the variable and created a new one and it worked fine.

    Low 18 Apr 2017 16:07

    Good. FWIW, the error looks like a JS-error, not a server side error. Not something LV can influence if the error is triggered by a 3rd party var type...