AI OnAI Off
I think you could do something like:
bool isInEditMode = page.WorkPageID != 0;
I have tryed that and for some reason it's always return id=0.
I'm not logged in as any one, so that's the part I'm not getting. This should work, have found similer solutions. So I'll keep looking.
10:58:41
Hello everybody.
I'm trying to find a way to check if the page is in editor mode to create a trigger. And I have tryed the solutions that I found here. But they won't work. So I'll try to create a new topic.