[TYPO3-project-seminars] Hook modifySingleView
Ben Kerner
dvdb at granzow.net
Tue Jul 14 10:20:42 CEST 2009
Hi Group,
i try to add a additional field to the single view with the hook
modifySingleView.
But i get no output.
My ext_localconf.php of the seminars-ext (db_sem_be_meth is my extension):
// includes my hook class
require_once(t3lib_extMgm::extPath('db_sem_be_meth') .
'class.tx_ext_hook.php');
// register my hook objects
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['seminars/pi1/class.tx_seminars_pi1.php']['hooks'][]
= 'EXT:db_sem_be_meth/class.tx_ext_hook.php:tx_ext_hook';
my class.tx_ext_hook.php:
<?php
class tx_ext_hook {
function modifySingleView($obj){
$content = "try1";
return $content;
}
}
?>
Or isn a output here impossible?
Greetings
Ben
More information about the TYPO3-project-seminars
mailing list