[TYPO3-dev] Searching for hook
Sascha Hierold
Sascha.Hierold at atp-autoteile.de
Tue Jun 15 07:01:57 CEST 2010
Hi Dimitry,
> You can use
> $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['postUserLookUp'].
> It gets $BE_USER as $pObj.
Maybe you can help me again. I set the following line into my
ext_localconf.php
$GLOBALS
['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['postUserLookUp'][]
= 'tx_***_ad_sync_hooks->syncAD';
*** = Firmname
Then I changed my "***_ad_sync/class.tx_***_ad_sync_hooks.php" with
following code:
function syncAD($params, $parent='') {
echo $params;
die;
}
At login nothing happens, the script-execution dont stop at the die-command.
What do I wrong by using this hook in TYPO3? How can I get a
debug-output with t3lib_div::debug() or a similiar command at this point?
Bye Sascha
More information about the TYPO3-dev
mailing list