[solved] How to hide the "Options" tab on the Edit Content page:

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
wolphy
Forum Members
Forum Members
Posts: 33
Joined: Fri Sep 19, 2008 2:26 pm

[solved] How to hide the "Options" tab on the Edit Content page:

Post by wolphy »

I need to seriously restrict the editing options for a client and would like to hide the entire "Options" tab.  Is there an easy way to do this?
Image
Last edited by wolphy on Fri Oct 10, 2008 2:54 pm, edited 1 time in total.
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm
Location: the Netherlands

Re: How to hide the "Options" tab on the Edit Content page:

Post by Dee »

A very simple way to hide the tab (for all users though) would be to add this code to your /admin/themes/yourtheme/css/style.css

Code: Select all

div#editab1 { display: none }
Grtz,
D
Duketown

Re: How to hide the "Options" tab on the Edit Content page:

Post by Duketown »

@Dee,

I take it that will be the case for all the tabs that follow the editab1 as div?

@wolphy
I would say that the involved program is to be changed. Only when you are authorized, the tab would be shown. This means of course that you have to apply the change with every update.
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm
Location: the Netherlands

Re: How to hide the "Options" tab on the Edit Content page:

Post by Dee »

duketown wrote: @Dee,
I take it that will be the case for all the tabs that follow the editab1 as div?
It would only be in the site admin, since the admin stylesheet is edited.
I don't think is used anywhere else in the admin, only on the add/edit pages.

Grtz,
D
wolphy
Forum Members
Forum Members
Posts: 33
Joined: Fri Sep 19, 2008 2:26 pm

Re: How to hide the "Options" tab on the Edit Content page:

Post by wolphy »

thanks Dee. nice easy solution.  i do wish there was more control in permissions for what non-techy clients can see (and/or change!).  most of the clients i work with need a simple, stripped down editing interface to update content and that's all.  it's frustrating when i have to comment out or use css to hide features from them and lose the ability to use these features myself as well.  obviously, i'm not techy enough to wallow in php and tweak permissions myself yet...
Post Reply

Return to “Developers Discussion”