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

Support archive

Low variables with grid and structure

Maarten 24 Apr 2014 10:38 problem, rejected

Hi,

I am trying to use structure with low variables and a grid field type to generate different menu's.

But I am only able to get the url for the structure entry. Any suggestions?

Working:


    {exp:low_variables:parse var="main_navigation_left"}
  • Page

  • {/exp:low_variables:parse}


Not working:



I have tried all kinds of combinations, none are working.

Replies

  1. Low 24 Apr 2014 11:15

    What's the variable type of the "main_navigation_left" variable? It's up to that variable to parse the content of it, so it's looking like LV itself isn't responsible for it...

  2. Maarten 24 Apr 2014 11:19

    "main_navigation_left" is of type "grid"

  3. Maarten 24 Apr 2014 11:22

    So what I mean is:

    {main_navigation_left:page} is parsing the URL of the structure entry.

    But I also need the title for instance. And I am not able to parse that (or any other field)

  4. Low 24 Apr 2014 11:23

    LV only calls the Grid functions, after which Grid should take care of the parsing. If the cell not being parsed is a Structure field, then even that cell is responsible for it. You'll have to ask either EllisLab about Grid, or the guys over at Structure; there's not much I can do from a LV perspective, I'm afraid.

  5. Maarten 24 Apr 2014 11:36

    Thanks Low for your reply. I already posted the question at the people at strucure. I will wait for their reply.

    Thanks again for the quick reply.

  6. Maarten 28 Apr 2014 08:56

    To round this up. I got an answer of Travis (structure):

    "Do you mean the Structure field? All it does it return the URL – that's
    intended."