Categories > TinyButStrong general >

Globals in conjunction with WHEN won't work ?

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: james
Date: 2006-12-14
Time: 03:36

Globals in conjunction with WHEN won't work ?

Hi,

When I try and use the following:

<div>
[onload;block=div;when[var._SESSION.subtotal] != 0]
...
</div>

The div doesn't show up at all. I know var._SESSION.subtotal is correct because when it's used as [var._SESSION.subtotal]  it outputs a value of 0. I've tried < 1 and ='' and neither work.

By: sheepy
Date: 2006-12-14
Time: 10:33

Re: Globals in conjunction with WHEN won't work ?

Maybe you wish to add a space after 'when'?

[onload;block=div;when [var._SESSION.subtotal] != 0]