[TYPO3] turn off help module - HOWTO
Torben Dam Jensen
tdj at c.dk
Wed Apr 26 20:20:27 CEST 2006
Rafael Freuler <rafi at rafi.ws> wrote in
news:mailman.1.1145947462.13432.typo3-english at lists.netfielders.de:
There may be better ways to do it (with an extension or such that
extends a class..), but this solution worked for me ;)
Go to an editor and edit the file
class.alt_menu_functions.inc
and insert the following lines below, right after the lines
// Remove the 'doc' module?
if ($BE_USER->getTSConfigVal('options.disableDocModuleInAB')) {
unset($theModules['doc']);
}
[INSERT NEW START HERE]
// How about also removing the 'HELP' module ?
if ($BE_USER->getTSConfigVal('options.disableHelpModule')) {
unset($theModules['help']);
}
[INSERT NEW STOPS HERE]
Then all you have to do is, per BE user, to set
options.disableHelpModule = 1
Of course, you may choose to skip the "if" part and just cut it,
but this is nicer since you can configure it.
You may also negate the "if" part so you have to ENable it.
Hope this will help some editors in the future :)
Sure will for me.
- torben
More information about the TYPO3-english
mailing list