Preview mode

Permalink
Hey there,

I have a question, but I'm not sure if this is the right category .

Is it possible to know if I'm in the preview mode (like editMode)?
I want to have a preview of the page list and it should only be displayed when I'm in the preview and edit mode.

Thank you for your help!

 
hutman replied on at Permalink Reply
hutman
I'm not sure if you already figured this out or not but you can see if the page is in Edit Mode by doing this

if(!$c->isEditMode()){
//Not edit mode
}

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.