Hi J,
I’m going to clean up the add-on’s code a bit before putting this in a new release, but below you’ll find the needed fix.
To get the rgb modifier working with Low Variables, you’ll want to add the following function to ft.color_picker_plus.php around line 525.
// -------------------------------------------------------------------- /** * Display Modifier - for Low Variables */ public function display_var_tag($data, $params, $tagdata) { if (isset($params['mod']) && $params['mod'] == 'rgb') { return $this->replace_rgb($data, $params, $tagdata); } }
Then, you’ll need to use LV tag syntax as follows:
{exp:low_variables:parse var="my_var" mod="rgb"}
Let me know how it goes for you.
|