Forum


HomeHomePremiumPremiumAdministrationAdministrationVisible by Administrators only.Visible by Administrators only.
Previous
 
Next
New Post
4/26/2018 1:05 AM
 

Hi Aderson,

Is there any way to remove the message 'Visible by Administrators only.' which is applied to every module on every page where I've made the page viewable by admins only.
It would be useful to have some indication at the top of the page but not every module.

I'm guessing that unchecking the checkbox 'Inherit View permissions from Page' from the module settings would remove it but that means going through every module of every page.

The following HTML is inserted, so I suppose I could use CSS but would prefer not to if there's a setting somewhere:
<div class="dnnFormMessage dnnFormInfo dnnFormInfoAdminErrMssg">Visible by Administrators only.</div>

I couldn't see anything in the site settings.

Best Regards,

Steve

 



 
New Post
4/26/2018 3:52 AM
 

 

Hi Steve,

Yes you can remove that but it is a module by module setting:

1 - Go the the module settings of the one that you want to remove the message from;

2 - Under "Module Settings" click "Advanced Settings";

3 - There is a checkbox called "Hide Admin Border";

4 - Just check it and save;

If you want to do that directly on the DB, perform the following update on the  "TabModuleSettings" table:

update TabModuleSettings set SettingValue = 'True' where SettingName = 'hideadminborder'

Then remember to clear site cache as this information most likely is cached.

BTW, always backup before running an update query. It is the safer thing to do.

Cheers,
Aderson

 

 
New Post
4/26/2018 4:19 AM
 

Hi Aderson,

 

That's great thank you. I don't want to set them module by module but running a small piece of SQL would be fine.

 

Yes, I would definitely make a backup.

 

All the best,

 

Steve

 
Previous
 
Next
HomeHomePremiumPremiumAdministrationAdministrationVisible by Administrators only.Visible by Administrators only.



Try FREE
30 days money back guaranteed