[Typo3-dev] Extend tce_main

Ingmar Schlecht ingmars at web.de
Wed Sep 1 17:07:37 CEST 2004


Peter Russ wrote:
> What is the best way to extend tce_main or other core classes like cms. 
> For the moment it seems to me, that I can only patch it. Is that right?

Read the chapter about extending system classes in the "Inside Typo3" 
documentation.
Additionally have a look at how the extension "ingmar_admpanelwrap" 
extends a system class.

However, in some situations it might be better to ask Kasper or any 
other Core developer to create a Hook for you.

Hooks are generally there to avoid XCLASSes, because there can only be 
one XCLASS to one system class so you will experience problems if you 
install two extensions that extend the same class.

You can read more about Hooks in the the archive of this dev mailinglist.

cheers,
Ingmar




More information about the TYPO3-dev mailing list