[TYPO3-english] preprocess hook

Dawid Pacholczyk dpacholczyk at gmail.com
Tue Feb 22 09:04:14 CET 2011


unsert() doesn`t work but this:

$incomingFieldArray = null; works great

Thanks for hint.

Best regards,
Dawid Pacholczyk

W dniu 2011-02-21 16:04, Sergey Alexandrov pisze:
> You should try
>
> unset($incomingFieldArray);
>
> Best wishes,
> Serg
>
> On 2/21/2011 4:47 AM, Dawid Pacholczyk wrote:
>> Hello List,
>> I would like to use preProcess hook to stop record from update !
>> Yes...I want to stop it.
>>
>> For example if title of a news is rude 'f*** you !' I would like to
>> prevent it from adding or from changing normal title to it. I know how
>> to use preProcess hook, I have all functions that I need, but.....how
>> to stop the insert or update ?
>>
>> Best regards,
>> Dawid Pacholczyk
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list