[TYPO3-dev] Searching for hook

Dmitry Dulepov dmitry.dulepov at gmail.com
Tue Jun 15 09:33:08 CEST 2010


Hi!

Sascha Hierold wrote:
> 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';

Missing path to the file. Must be:

.. = 'EXT:tx_whatever/path/to/class.tx_whatever.php:tx_whatever_hooh->syncAD'.

Note that you MUST use 'class.tx_...', not just 'tx_...' as a file name.
This is according to TYPO3 coding guidelines.

-- 
Dmitry Dulepov
TYPO3 expert / TYPO3 core&security teams member
Twitter: http://twitter.com/dmitryd
Read more @ http://dmitry-dulepov.com/




More information about the TYPO3-dev mailing list