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

Support archive

Low Variables Parsing After Snippets Not Working

TJ Draper 11 Feb 2013 22:52 problem, complete

I think I’ve found a bug where Low Variables won’t let me use Early Parsed Variables after Snippets. Here’s what’s going on:

* Early Parsing After Snippets turned on
* Editing a Variable says that Early Parsing is Disabled
* Switch Early Parsing to Before Snippets
* Turn On Early Parsing in a variable
* Switch Low Variables to Early Parsing After Snippets
* Variable behaves as expected until next save (option to turn on early parsing when editing the variable not available again).

Sound like a bug?

Replies

  1. Low 11 Feb 2013 22:58

    Yes, confirmed. Silly oversight on my behalf. To fix:

    Change line #621 of mcp.low_variables.php to

    if ($this->settings['register_globals'] != 'n')


    And change line #86 of /views/mcp_edit_var.php to

    <?php if ($settings['register_globals'] != 'n'): ?>

  2. TJ Draper 11 Feb 2013 23:07

    That fixed it, thanks!

  3. Low 12 Feb 2013 10:37

    Fix is incorporated in v2.3.4.