Buy now for just €35.00
| Compatibility: | EE1, EE2 |
|---|---|
| Latest release: | 2.2.1 (released 2012-04-24) |
| Licensing: | Commercial License Agreement |
Extension settings
| Setting | Description |
|---|---|
| License key | Enter your purchased license key here. The module won’t work without one. |
| Select Variable Managers | Select the member groups that are allowed to manage the variables, rather than just editing their contents. |
| Enable early parsing? | If set to Yes, you will be able to register your variables as Global Variables (like path.php variables in EE1 or snippets in EE2), which are parsed much earlier than regular Global Template Variables. This means you can use them as input for other tags, add code snippets to them or even PHP. Use caution when turning on this feature, as users could potentially break your templates! |
| Add member data to early parsed variables? | If set to Yes, the Alternative Syntax member variables will be added to the early parsed global variables. See below for more info. |
| Save as files? | If set to Yes, you will be able to save any variable’s value as a file on the server. |
| File path | Enter the full file path to the directory where you want your variable files to be stored. Make sure the directory is writable. |
| Variable types | Here you can find a list of available Variable Types and Low Variables compatible Field Types. Select which types you want to enable. Disabled types will not appear in the module. |
Config overrides
Two of the extension settings, Save as files and File path, can be overridden by setting them in the config.php file. If you do so, the values in the extension settings will be shown as disabled input fields. You’ll need to update the config.php file itself if you want to change the values of these settings.
$config['low_variables_save_as_files'] = 'y';
$config['low_variables_file_path'] = '/var/www/htdocs/my_vars/';
Early parsed member data
By default, regular member data is parsed late in EE’s parse order. With Low Variables v1.3.4+, you can add them to the early parsed global variables so you can use them in your templates as parameter values or in early parsed simple conditionals. For this, use the Alternative member variables Syntax:
{logged_in_member_id}{logged_in_group_id}{logged_in_group_description}{logged_in_username}{logged_in_screen_name}{logged_in_email}{logged_in_ip_address}{logged_in_location}{logged_in_total_entries}{logged_in_total_comments}{logged_in_private_messages}{logged_in_total_forum_posts}{logged_in_total_forum_topics}