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:
$...
3
votes
Using Low Variables and Grid to return a count
You can use the Search parameter to return only rows that have the checkbox cell checked.
{exp:low_variables:parse var="lv_homeslider" search:name_of_checkbox_cell="true"}
{total_rows}
{/exp:...
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 ...
2
votes
Accepted
Insert Low Variables Between Channel Entries
You might be able to do this with the help of Math:
{exp:low_variables:parse
var="banner_ads"
offset="{exp:math formula='{count}-1'}"
limit="1"
parse="inward"
}
2
votes
Accepted
PHP errors displayed in CP when using an Assets filed within a Matrix within Low Variable
Andris was close to the solution:
Add the following code right above the switch statement.
`if (($context == 'grid' || $context == 'matrix') && !empty($this->var_id))
{
$context = '...
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.
2
votes
No output on a Playa Low Variable
You could try and use the playa:children tag instead of the Parse tag:
{exp:playa:children var="lv_book_slider_en"}
{title}
{/exp:playa:children}
2
votes
Accepted
low:events excluding an entry
Using an early parsed var (or a Snippet for that matter) like that doesn't work. To illustrate, using the var you geva as an example, and using it like this:
{exp:low_events:entries entry_id="not {...
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.
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 ...
2
votes
Can one low variable be used across multiple sites (using MSM)
You can, but you will have to use the Parse tag or one of its aliases:
{exp:low_variables:single var="my_site:my_var"}
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. ...
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
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.
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}
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 ...
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....
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 ...
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
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 ...
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,...
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 ...
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.
...
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.
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 ...
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 ...
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 == '...
1
vote
Accepted
creating dynamic pages with Low Variables
I tend to agree with what's been said about LV versus regular Channel Entries in your case, but to actually answer your question...
I'd add a column to the LV Grid var, eg. url_title, where you enter ...
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