[TYPO3-dev] Searching for a hook

Ronald Steiner Ronald.Steiner at googlemail.com
Sun Jan 18 13:41:23 CET 2009


Hi Martin,

thanks for your help. What is the name of the hook you mention, that 
resolves the page id?
Is the TypoScript array already generated at this point?

Now I'm found this hook:
$TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_fe.php']['tslib_fe-PostProc'][] 
= ...
and it works fine, for a start. Unfortunately the TS-Array isn't 
generated there. So I can't get the configuration by using:
$GLOBALS['TSFE']->tmpl->setup['config.']

The purpose is to generate a spam protection by checking the POST / GET 
variables. I'm aware that there are a lot of spam protection extensions 
already around. But I got some special ideas that I want to test.

greetings

Ron

Martin Kutschker schrieb:
> Ronald Steiner schrieb:
>> Hi List,
>>
>> I'm searching for a Hook where I can check the POST / GET variables
>> before any fe-output is generated. ... as early as possible in the code.
> 
> And then what?
> 
> Anyway, one of the earlier hooks is the one that resolves the page id.
> 
> Masi




More information about the TYPO3-dev mailing list