I'm wondering if there is a way to dynamically set variables within a template partial from the point at which it is included. This works in Low Variables as the preparse function, but is there anything for partials that could include this functionality?


Template Partials are renamed Snippets. They don't support a preparse-like function, although you could try a workaround with Preload Replace vars, as explained in this blog post from 2011.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.