Page 1 of 1

EOS If -> !pages.isEnabled

Posted: Sat Feb 22, 2020 10:58 am
by rayray77
Hey guys and girls,

I use following code in a page of mine (it spoilers some context of my next tease):
Spoiler: show
Image
Image link: https://ibb.co/2v6fVQG
The named pages get enabled on the page before the tease goes to the page in the picture, but the tease jumps straight to 'TransitionGarden1' no matter what I do.
Can someone help me with my mistake?

It's literally the last thing, which holds me from release :lol:

cheers :-)

Re: EOS If -> !pages.isEnabled

Posted: Sat Feb 22, 2020 3:04 pm
by alexfayer
Hey,

The '!' (exclamation mark) functions as a NOT, in other words the thing after it gets inverted.
So you are currently checking if a page is NOT enabled.

To solve your case it should work after you remove the ! from every if statement.

Re: EOS If -> !pages.isEnabled

Posted: Sun Feb 23, 2020 1:12 pm
by rayray77
alexfayer wrote: Sat Feb 22, 2020 3:04 pm Hey,

The '!' (exclamation mark) functions as a NOT, in other words the thing after it gets inverted.
So you are currently checking if a page is NOT enabled.

To solve your case it should work after you remove the ! from every if statement.
:-) ty :rolleyes: