I really appreciate the link Lynne, but it doesn't actually answer the question I asked, which was:
Quote:
how to declare a variable in a plugin, such that that variable can then be used in a template conditional
|
As far as I can tell, variables registered with the $templater->register method are only available in templates using {vb:raw my_var}, not in the template conditionals, such as <vb:if condition="$my_plugin_variable == 0">
Any other advise would be gratefully recieved.