[TYPO3] Hook when saving content element in BE
    Dmitry Dulepov 
    dmitry at typo3.org
       
    Wed Jun  6 08:50:02 CEST 2007
    
    
  
Hi!
Matthias Stuebner wrote:
> What hook (or similar) can I use, if I want to verify/modify data entered
> into a content elements BE-Form before it is saved?
You need to search in t3lib/class.tcemain.php. Look in function named 
process_datamap(). You will find at least three hooks there. All of them 
accept parameters from record array. But examine the functin carefully 
because parameters may have unexpected values to you (like negative pid, 
which is not a pid but a pointer to another content element, etc).
-- 
Dmitry Dulepov
TYPO3 freelancer / TYPO3 core team member
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
    
    
More information about the TYPO3-english
mailing list