ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Change a custom global variable...

October 10, 2007 1:33pm

Subscribe [2]
  • #1 / Oct 10, 2007 1:33pm

    mdgross

    7 posts

    {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

    mdgross

    7 posts

    no way to do so?

  • #3 / Oct 11, 2007 12:53pm

    Robin Sowell

    13255 posts

    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.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases