Page 1 of 1

Content Manager Preview tab - disable

Posted: Wed Apr 11, 2018 4:12 pm
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

Re: Content Manager Preview tab - disable

Posted: Wed Apr 11, 2018 11:37 pm
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)

Re: Content Manager Preview tab - disable

Posted: Thu Apr 12, 2018 8:34 am
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.