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

Support archive

Implementing {var:var_option} in a Low Variables fieldtype bridge?

Derek 2 Jun 2011 16:52 question, complete

I'm guessing not, since LV are essentially global variables, but is there a way for me to implement options for my variable type (using the fieldtype bridge) using the {var:var_option} syntax, much like I can with replace_foo() and replace_bar() functions in a standard EE fieldtype?

Replies

  1. Low 3 Jun 2011 07:04

    Hey Derek,

    That would probably mean using the {exp:low_variables:parse var="my_var"} syntax. And that means you can also use any additional tag parameters to do pretty much anything you want, for example:

    {exp:low_variables:parse var="my_var" foo="bar"}

    Derek 3 Jun 2011 12:32

    Thanks Low, fair enough.