EOS If -> !pages.isEnabled

Post all technical issues and questions here. We'll gladly help you wherever we can.
Post Reply
User avatar
rayray77
Explorer
Explorer
Posts: 68
Joined: Thu Nov 27, 2014 11:58 am

EOS If -> !pages.isEnabled

Post 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 :-)
alexfayer
Explorer
Explorer
Posts: 42
Joined: Sun Jan 04, 2015 7:22 pm
Gender: Male
Sexual Orientation: Straight

Re: EOS If -> !pages.isEnabled

Post 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.
User avatar
rayray77
Explorer
Explorer
Posts: 68
Joined: Thu Nov 27, 2014 11:58 am

Re: EOS If -> !pages.isEnabled

Post 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:
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests