[TYPO3-core] RFC: #10947: It's not possible to add buttons to docheader

Steffen Kamper info at sk-typo3.de
Tue Apr 21 17:35:34 CEST 2009


Hi,

Martin Kutschker schrieb:
> Steffen Kamper schrieb:
>> Hi Masi,
>>> I don't get it. I can simply extend the class without doing any
>>> XCLASSing in my modules. Why would I need a hook ar an XCLASS to do it?
>>>
>>> Masi
>> that's right if you do a BE-module.
>>
>> The hook is needed for other extensions like adding functionality to
>> existing modules like  tceforms/edit or listview etc.
> 
> They use $GLOBALS['TBE_TEMPLATE'], right? If so, you should try to
> change the configuration of this class (before it renders).
> 
> Masi

i checked this, and the problem is the call at the right time. The hook 
is called exactly when manipulation is needed, the GLOBALS is used, but 
to manipulate it you also need a hook to be in place.

vg Steffen


More information about the TYPO3-team-core mailing list