[TYPO3-core] RFC: #9368: Feature: Hook in setup for additional tabs

Steffen Kamper info at sk-typo3.de
Wed Sep 17 17:01:24 CEST 2008


Hi,

This is an SVN patch request.

Type: Feature

Bugtracker references:
http://bugs.typo3.org/view.php?id=9368

Branches: trunk

This hook allows to add additional tabs to user settings.

Example:
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['setup']['additionalMenuItems'][] 
= 'tx_setupMenu->addMenuToSetup';

class tx_setupMenu {
     function addMenuToSetup($menuItems, $pObj) {
         #debug($menuItems);
         $menuItems[] = array (
             'label' => 'Ext settings',
             'content' => $pObj->doc->spacer(20) . '<h3 
style="color:red;">Hello from ext!</h3>'
         );
     }
}

vg Steffen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 9368_setup_hook.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080917/2a17c248/attachment.txt 


More information about the TYPO3-team-core mailing list