I have this small problem: I want a section of html (with some placeholders for widgets) to
- be visible in frontend + preview,
- not show in page edit mode
-display itself a bit differently in page template edit mode so widgets can be inserted there to placeholders
(This is a small floating left side menu containing search and social sharing widgets that can clicked open by user and it's included and only edited in template)
But what is the best way to identify if we are in page or page template design mode so I can show the html differently in each case?