Add a setting to disable preview mode globally
Currently, when you're logged in as an admin and visit your Kentico site (just as a non-authenticated user would), you are shown by default Preview Mode, which shows unpublished items as if they were published. There are a number of ways to get out of this mode and see the site as a typical user would (go into CMS Desk and click "Live Site", click "close" on the grey bar on top of the screen, edit your cookies, etc). But none of these are permanent or able to be set up for an installation globally.
I propose adding a new setting in the CMS Site Manager Settings page that would disable Preview Mode entirely, or perhaps make it opt-in. (For example, it could be the same gray bar, but it says "To enable Preview Mode, which lets you see unpublished items, click here")
Hello to all supporters!
I am glad to let you know that the following setting has been added:
Allow preview mode on the live site
Simply unchecking it for a website or globally on your development instance will let you bypass the preview mode.
On production environments, you can still keep it checked for your editors.
Thanks for all the comments and votes,
Recommend it be configurable on a user level as well as global, e.g.:
- Inherit Global Setting (Default)
- Preview Mode On
- Preview Mode Off
I personally wouldn't like it to come up every time I save something in the admin mode. I prefer turning it on whenever I need it manually.
Michael Hohlweg commented
Is this still just an idea?
We are always having issues when using AJAX functionality and just changing a bit of the site, all AJAX calls are down until we end the preview mode.
Globally deactivating it would be great!
Chris Bass commented
A while back I created a Marketplace web part that solves this issue by running a short redirect from the Master Page. It prevents you from ever being in Preview Mode unintentionally.
Apparently comments with links in them are automatically deleted. Please go to the marketplace and search for "Disable Preview Mode on Live Site" to download the web part.
It's a shame that Kentico wasn't willing to do this within the CMS itself, but at least we now have something to handle it ourselves.
This has more than enough votes.
Chris Bass commented
Years ago I requested this and you said to wait until it got more votes. It's now the second-highest voted topic in Ideas.Kentico.
Please implement this as soon as possible.
Two ways I work around this. I either:
1) View the site in a different browser
2) Open incognito/private browsing mode window with the same browser
Sean Wilke commented
This would be an awesome change.
Just do it, please!
D. te Kloese commented
That's why I always develop in browser A, and view the website in browser B :)
Jerreck McWilliams commented
Preview mode is a useful feature, but only for our content editors. Our developers use it maybe once a month, and the rest of the time it's just annoying. Perhaps this is something could be set on a per-role or per-user basis as well?
Benjamin Wagner commented
Yes do this please!
thank you for your idea. The thing is that we store the "view mode" for administration UI in cookies and this is applied on the live as well, if you don't leave the UI in a correct way (logout/click the Live site link in header). Anyway this is not intended behavior, just the consequence... So let's see how many votes your idea gets.