Content Manager Preview tab - disable

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
howey
Forum Members
Forum Members
Posts: 158
Joined: Fri Sep 14, 2007 1:05 pm

Content Manager Preview tab - disable

Post by howey »

Hi

Is there anyway to configure the Content Manager to remove the preview tab on the page editing.

The preview showing for my site is causing confusion with some users. As it isn't an exact replica of the site they think something is wrong. I also have a create PDF button on the page, which only works properly if you are viewing the actual webpage.

I know it's bad practice and I should try and educate the users, but when I've explained it for the umpteenth time and they still make the same mistake I am inclined to take the route of least resistance and try and remove the preview tab.

Any help would be much appreciated.

Thanks
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1609
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: Content Manager Preview tab - disable

Post by DIGI3 »

You could probably just hide in via css:

https://docs.cmsmadesimple.org/customiz ... dmin-theme

The Preview tab has the ID "_preview_" so probably something like

Code: Select all

#_preview_ {
  display: none;
}
(untested)
Not getting the answer you need? CMSMS support options
howey
Forum Members
Forum Members
Posts: 158
Joined: Fri Sep 14, 2007 1:05 pm

Re: Content Manager Preview tab - disable

Post by howey »

Hi DIGI3

Thanks for the info - worked a treat, the preview tab is now hidden.

Hopefully that will help prevent any confusion.

Thanks for the swift reply, really helped.
Locked

Return to “CMSMS Core”