{assign_variable:found="no"}
{assign_variable:found="yes"}
then if I use {found} I get no… how do I change it to yes after I assign it?
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
October 10, 2007 1:33pm
Subscribe [2]#1 / Oct 10, 2007 1:33pm
{assign_variable:found="no"}
{assign_variable:found="yes"}
then if I use {found} I get no… how do I change it to yes after I assign it?
#2 / Oct 10, 2007 3:13pm
no way to do so?
#3 / Oct 11, 2007 12:53pm
I suspect that global isn’t right for what you’re wanting to do. If you want to conditionally set it once at the top of the page, simple conditionals or php on input will do the trick. But you’re likely to run into issues using it any other way.