Loading...
 

Features / Usability


How to hide the settings button in webmail?

posts: 27 Indonesia

Hi all:
I'm trying to hide the Settings button in tiki-webmail.php for some groups of users (all users except admins).
I could not find hot to set the permission for this button anywhere, but surely I'm not the first one needing it, so probably it's coded already. How to do it?

Reason is some groups of users are not computer savvy, so letting them play with settings is causing problems to IT team.

Many thanks,
Pak

posts: 3563

A couple of ways....

  • You could edit the TPL directly and hide the button for non-admins.
  • You could use CSS to hide the button (e.g., display:non). Again, you can add this CSS for admin users only.


Essentially you would be making a customized theme. You might find my primer useful.


HTH,

- Rick | My Tiki Blog | My Tiki UserPage

Why be a dummy? Get smarty! TikiForSmarties.com
Tiki for Smarties, your source for the best (and only) Tiki books, guides, and tutorials.

posts: 27 Indonesia

Hi Rick:

I'm pretty new and somehow I expected TW to be more configurable via settings than changing code. Will take a look at your options and choose the easiest one (probably the TPL one).
Thanks!
Ricard


Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.