Posted on: 07/17/04 11:59am
By: Anonymous (David)
How can I configure the User Functions Block to remove a particular item?
What file do I need to edit?
Thanks in advance for your help and keep up all your fantastic work!
User Functions Block
Posted on: 07/17/04 12:06pm
By: Dirk
Depends on which enty you want to remove.
The entries Geeklog provides ("My Calendar", "Account Information", "Preferences", and "Logout") are hard-coded in function COM_userMenu()
in lib-common.php
To get rid of the "My Calendar", you could also switch off personal calendars in config.php:
$_CONF['personalcalendars'] = 0;
Any other entries you may have are provided by plugins. Those are usually returned by a function named plugin_getuseroption_plugin-name
in the plugin's functions.inc file.
bye, Dirk
User Functions Block
Posted on: 07/17/04 12:39pm
By: Anonymous (David)
Thanks a lot Dirk!
I edited functions.inc and I achieved what I wanted, thanks!