.. ================================================== .. FOR YOUR INFORMATION .. -------------------------------------------------- .. -*- coding: utf-8 -*- with BOM. .. include:: ../../Includes.txt .. _pagemod: ->MOD ^^^^^ Configuration for backend modules. Generally the syntax is *[module\_name].[property]*. The module name is defined in the conf.php files for the module. .. _pageblindingfunctionmenuoptions: Blinding Function Menu options in Backend Modules """"""""""""""""""""""""""""""""""""""""""""""""" Most of the modules in TYPO3 have a "function menu" selector box and this menu is usually configurable so you are able to remove menu items in specific sections of the page tree (or by overriding via User TSconfig, you could disable an option totally for a specific user/group). In this case the main menu of the Web > Info module looks like this: .. figure:: ../../Images/manual_html_m615ff10e.png :alt: The original function menu inside the info module By adding this Page TSconfig we can remove the "Page TSconfig" item .. code-block:: typoscript mod.web_info.menu.function { tx_infopagetsconfig_webinfo = 0 } The function menu will now look like this: .. figure:: ../../Images/manual_html_10bf0f2e.png :alt: The function menu inside the info module without Page TSconfig The 'Page TSconfig' option is simply disabled by setting this Page TSconfig! All you need to know in order to disable function menu items in the backend modules is, *which* modules support it and what the *key* of the menu item is (in the above example it was 'tx\_infopagetsconfig\_webinfo'). Modules extending the class "t3lib\_SCbase" will most likely provide this out-of-the-box since it is a part of the base class in t3lib\_SCbase::menuConfig(). Examples from the TYPO3 core are listed in the table below: .. ### BEGIN~OF~TABLE ### .. container:: table-row Property web\_layout.menu.function Description **Web > Page module** .. figure:: ../../Images/manual_html_5268c65f.png :alt: The original layout menu inside the page module **Option tags:** .. code-block:: html **Example:** .. code-block:: typoscript # Disables all items except the "QuickEdit" item: mod.web_layout.menu.function { 1 = 0 2 = 0 3 = 0 } .. container:: table-row Property web\_info.menu.function Description **Web > Info module** .. figure:: ../../Images/manual_html_4c191623.png :alt: The original function menu inside the info module **Option tags:** .. code-block:: typoscript .. note:: The Module "Speaking Url Management" is provided by the extension RealURL, which is not part of the TYPO3 Core. **Example:** .. code-block:: typoscript # Disables the item "Indexed search statistics": mod.web_info.menu.function { tx_indexedsearch_modfunc2 = 0 } .. container:: table-row Property web\_func.menu.function Description **Web > Functions module** .. figure:: ../../Images/manual_html_4570ee97.png :alt: The original function menu inside the functions module **Option tags:** .. code-block:: html .. container:: table-row Property web\_func.menu.wiz Description **Web > Functions module, Wizards submodule** This is the 2nd level Function Menu in the Web > Functions module. Instead of the "function" key of the main menu it just uses the key "wiz" instead. .. figure:: ../../Images/manual_html_601b8e77.png :alt: Wizards submodules of the function menu inside the functions module **Option tags:** .. code-block:: html **Example:** .. code-block:: typoscript # Disables the sub-item "Create multiple pages": mod.web_func.menu.wiz { tx_wizardcrpages_webfunc_2 = 0 } .. container:: table-row Property web\_ts.menu.function Description **Web > Template module** .. figure:: ../../Images/manual_html_38b1b9c9.png :alt: The original function menu from the template module **Option tags:** .. code-block:: html .. container:: table-row Property user\_task.menu.function Description **User > Task Center** Prior to TYPO3 4.5 the Task Center worked the following way: The Task Center does not provide a selector box function menu. But behind the scenes it uses the same functionality of saving "states" and therefore you can also blind items in the Task Center. There is one tricky thing though: The Task Center is not depending on a page in the page tree! So you either have to set default Page TSconfig or User TSconfig to blind options here! .. figure:: ../../Images/manual_html_1d084bf7.png :alt: The TYPO3 taskcenter **Keys are:** tx\_sysnotepad = Quick Notetx\_taskcenterrecent = Recent Pagestx\_taskcenterrootlist = Web > List module / roottx\_taskcentermodules = Pluginstx\_sysaction = Actionstx\_systodos = Tasks **Example:** Set this as *User TSconfig* .. code-block:: typoscript # Task Center configuration: mod.user_task.menu.function { # Disable "Recent Pages" display: tx_taskcenterrecent = 0 # Disable "Action" list tx_sysaction = 0 } .. ###### END~OF~TABLE ###### [page:mod; beuser:mod] .. ### BEGIN~OF~TABLE ### .. container:: table-row Property taskcenter Description **User > Task Center** In TYPO3 4.5 and newer the Task Center can be configured as follows: The Task Center does not provide a selector box function menu holding the different tasks. But behind the scenes it uses the same functionality of saving "states" and therefore you can also blind items in the Task Center. There is one tricky thing though: The Task Center is not depending on a page in the page tree! So you have to set User TSconfig to blind options here! .. figure:: ../../Images/manual_html_m44e31433.png :alt: Configuring the TYPO3 Taskcenter You can hide a task by using the following syntax in User TSconfig .. code-block:: typoscript taskcenter { . = 0 } Be aware that needs to be replaced by the actual extension key and by the class name of the PHP class providing the task. **Example:** Set this as *User TSconfig* .. code-block:: typoscript # Task Center configuration: taskcenter { # Disable "Quick Note": sys_notepad.tx_sysnotepad_task = 0 # Disable "Action": sys_action.tx_sysaction_task = 0 # Disable "Import/Export": impexp.tx_impexp_task = 0 } .. ###### END~OF~TABLE ###### [beuser] Since function menu items can be provided by extensions it is not possible to create a complete list of menu keys. The list above represents a typical installation of the TYPO3 Core with the Introduction Package. Therefore the listing includes options from system extensions and some additional ones. Therefore, if you want to blind a menu item, the only safe way of doing it, is to look at the HTML source of the backend module, to find the selector box with the function menu and to extract the key from the