22998 Posts in 11620 Topics by 2827 members
|Go to End|
21 November 2013 at 12:10am
I have several page types that are not working properly in the CMS because the preview pane is enabled.
1) I have a simple "LogoutPage" type which allows users to add a logout link to the various navigation areas. The problem is when the preview is generated in the CMS, the user is logged out and can no longer edit the MenuTitle of this new page.
2) I have a page type which relies on a fallback call of parent::getContent(). While this works fine on the front end, it causes an error on the CMS. Again, disabling the preview pane would solve my problem.
How can I disable the preview pane on specific page types?
Is there not something simple like... static $enable_preview = false ; ???
|Go to Top|