Detect Sitecake edit mode in PHP

Hi there,

Is it possible to detect edit mode in PHP so that certain things will be shown or hidden in a PHP page once you’re in edit?

Hi, check this

There is also example in our docs

http://sitecake.com/docs/using-javascript.html