[TYPO3-project-seminars] How to use the hook "modifySingleView"

Erwin Knoll typo3coding at rootsystem.de
Mon Oct 22 10:31:39 CEST 2007


Hi everybody!

First of all i want to excuse for my not very friendly words from my 
question posted here. I was stressed and in a hurry. So i first want to 
thank Oliver for this great extension!

And: i found the solution now by myself and post it here in case someone 
else has the same problem (shouldn't try to code when in a hurry and 
stressed out).

Correctly it is to make the following two statements in 
ext_localconf.php (My extension is called "rsys_seminars_ext"):

// Include my hook class
require_once(t3lib_extMgm::extPath('rsys_seminars_ext').'class.tx_rsysseminarsext_modsingleview.php');

// Register my hook objects
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['seminars/pi1/class.tx_seminars_pi1.php']['hooks'][]='EXT:rsyshook/class.tx_rsysseminarsext_modsingleview.php:tx_rsysseminarsext_modsingleview';

So far - hopefully it is of any use for some readers

Regards,

Erwin


More information about the TYPO3-project-seminars mailing list