5 votes
Accepted

PHP error when using Low Variables with Grid and Assets

Okay, this definitely is an Assets issue, but here's a temporary fix. Open up ft.assets.php and look up the grid_replace_tag method, around line 1771. In there, you can see this line of code: $...
  • 11.3k
3 votes

Save As File & Low Variables

Enabling Save As Files in Low Variables does have a slight performance impact. In order to tie in to native EE functionalities, LV needs to update the native exp_global_variables table with the data ...
  • 11.3k
2 votes

Low Variables — Batch Creation

Check out the Variable creation options bit. Batch creation of multiple identical vars happens when using multiple suffixes when creating a variable.
  • 11.3k
2 votes

No output on a Playa Low Variable

Adding to this, I had to put transcribe=“disable” inside of the Playa tag (not the ece loop) to get it to output. Credit goes to EE Harbor.
  • 21
2 votes
Accepted

Trying to nest Low Variables

Ah, Parse Order. This particular issue takes place in phase #5 of the linked PDF: parsing of module and plugin tags. This works as follows: The first {exp:-tag encountered in the template is parsed. ...
  • 11.3k
2 votes
Accepted

Table doesn't exist after upgrade

Seems related to this bug report. If you have a conditional checking for something like this: {if grid_field:total_rows > 0} try changing that to this: {if '{grid_field:total_rows}' > 0}
  • 11.3k
2 votes
Accepted

Low Variables causes php 7 warnings in ee 3.1

No, there is no roadmap for making LV—or any other Low add-on—compatible with PHP7.
  • 11.3k
2 votes

Assets in Grid In Low Variables - multiple files

I reported this bug to Pixel & Tonic, and they right away got working on a "duct-tape" type fix. It seems, to get this working, in Assets 2.6, you can change line 1810 of system/expressionengine/...
2 votes
Accepted

Variables overwritten by database

Low Variables variable syncing works like this. Note that each time you save a LV in the Control Panel, its DB edit date is updated: Vars marked save as file are fetched from the DB; Variable ...
  • 11.3k
1 vote

Deleted Template Variables (created via Low Variables) keep reappearing

Low Variables extends the native Template Variables, so for every LV, there is a TV. Just leave 'em and if you need to delete them, do so via LV.
  • 11.3k
1 vote

How to use Swtichee and/or Low Variables to optimise an if if:elseif if:else conditional statement

Frankly, ExpressionEngine code conditions to convert in switchee or law variables will not increase page speed. To enhance the performance, you should try this plugin for if condition:(EE2) URL To ...
1 vote

Assets in Grid In Low Variables - multiple files

When using the Parse or Pair tag to output a Grid field, the tag will act the same as a regular Channel Grid field would. That means you can use the same template tags and parameters. That means the ...
  • 11.3k
1 vote
Accepted

Low Variable and Matrix count not showing

I found it! I was trying to use a LV field tags to get the row count of a matrix field while I needed to use the matrix field tag {row_count}. {exp:low_variables:pair var="lv_Form"} ...
1 vote

Conditional with Low Variables, Matrix and Playa

As with others you've spoken to, I'm very out of practice with EE. However, if you look at the EE manual for conditionals, the way you've written this is recommended against. If you look here, it will ...
1 vote
Accepted

Save As File & Low Variables

Lol wut? Unless your database is behind a caching service (like memcache) and therefore loaded in memory, grabbing your files from your database is much more overhead. Where do you think database ...
  • 5,900
1 vote
Accepted

Using Low Variables & P&T Pill in a Conditional

Make sure Early Parsing is enabled for that Pill variable, then use this syntax: {if lv_metasocial_meta_title_display == "title_site_name"} ...which is EllisLab's recommended syntax for conditionals....
  • 11.3k
1 vote
Accepted

Low Variables parsing grid

Alright, I did a fix. I renamed my en, fr and es fields with a prefix label_. In my template I did this: {/stash:nocache} {exp:low_variables:parse var="var_eleads_countries"} <option ...
  • 71
1 vote

Assets and Low Variables not compatible?

Appears the problem was a conflict with another custom add-on that was installed. I've disabled it for the time being and I'll review the source code to fix at a later date.
  • 1,986
1 vote

Passing a value to a low variable 'snippet'

Using preload-replace vars is possible, but the vars need to have early parsing enabled for it to work. If you're using the Textarea var type, you can also use Tag syntax (rather than the Variable ...
  • 11.3k
1 vote

Wygwam 'site page' link type not parsing when used within Low Variables variable

This has been fixed in Wygwam version 4.0.8!
1 vote

Assets field inside of a grid inside of a low variable -- Asset not saving

Ok after mucking around for a bit I found the combination was this was what I was trying to no avail. {exp:low_variables:pair var="grid_variable_name" limit="1"} {grid_variable_name:...
1 vote
Accepted

The default field selection in a Content Elements variable in Low Variables keeps self-replicating

I then click on the "Save Changes" button, and it loads up the screen where I can begin to add the different CE types as I please and populate them with content... except after all the custom ...
1 vote

Early Parsing with Low Variables and Member Export

If I understand correctly, you only want to execute the exp:ajw_export tag if the logged in member ID is 1. For this, you don't need the low_variables:parse tag. Instead, in the Low Variables settings,...
  • 11.3k
1 vote
Accepted

using low variable as parameter in exp:channel:entries

The example you linked is a Select variable type, which stores its value as a pipe-separated list of items. You can use that as a parameter value. Your variable, on the other hand, contains ...
  • 11.3k
1 vote
Accepted

How to write a conditional in template code evaluating the result of a Low Variable containing a conditional?

If I understand you correctly, the content of the lv-seg1-taxonomy-node-id variable is that big if-statement. Then you're using the LV as part of another conditional: the one in your first example. ...
  • 11.3k
1 vote

advantage of using Stash with LVs or Low Variables by itself

There'll be a slight hit to the stash version but if used correctly it can be utilized to cache the results. So there's plus & minus to both versions.
  • 3,163
1 vote
Accepted

Low Variables Error : "Field 'edit_date' doesn't have a default value"

That's probably because of MySQL running in Strict mode and only if LV was installed before version 2.3.3. You can work around it by setting a default value of 0 on the edit_date column in the ...
  • 11.3k
1 vote
Accepted

Checking for custom field with conditional inside of an embed template

Your code works ok in EE 2.9 but versions below this, this should work: {exp:channel:entries channel="{embed:channel}" dynamic="yes"} {if "{{embed:meta_tag}}" } {{embed:meta_tag}} ...
1 vote

Best practices: Location-aware Navigation in EE2?

Using segments as Anna described in her answer definitely works well for some sites. But it can get tedious on large or deep navigation trees and is not practical when the client needs to manage the ...
  • 7,941
1 vote

Best practices: Location-aware Navigation in EE2?

I personally always take the route of using segment conditionals to set my active state CSS class. It's easy to code and manage since it's handled in one template. <li><a {if segment_1 == '...
  • 12.6k

Only top scored, non community-wiki answers of a minimum length are eligible