TinyButStrong - the PHP Template Engine
Categories > TinyButStrong general >

using magnet with "not equal" value

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs

By: lauren
Date: 2013-10-05
Time: 12:25

using magnet with "not equal" value

is it possible to use ope=nif:!=0 or something similar to hide a magnet block when a variable is not zero?

thanks
By: Skrol29
Date: 2013-10-07
Time: 00:56

Re: using magnet with "not equal" value

use "ope=mok:0" to display the block only when the value is zero
use "ope=mko:0" to delete the block only when the value is zero
By: lauren
Date: 2013-10-07
Time: 09:29

Re: using magnet with "not equal" value

awesome thanks!
:)