[TYPO3-english] preprocess hook

Sergey Alexandrov serg at alexandrov.us
Mon Feb 21 16:04:46 CET 2011


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