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
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/...
- 385
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 ...
- 2,177
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"} ...
- 63
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 ...
- 717
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
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 ...
- 26
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!
- 21
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
low-variables × 118matrix × 25
playa × 19
assets × 13
parse-order × 13
stash × 11
low × 11
grid × 9
pixelandtonic × 5
parsing × 5
ee2 × 4
templates × 4
solspace-freeform × 4
add-on × 4
wygwam × 4
channel-entries × 3
conditionals × 3
multi-site-manager × 3
database × 3
solspace-tag × 3
switchee × 3
global-variables × 3
solspace × 2
file-uploads × 2
ee3 × 2