On Thu, 2007-06-07 at 16:42 +0200, serge vleugels wrote: > On Thu, 2007-06-07 at 15:58 +0200, Matthias Stuebner wrote: > > On Thu, 7 Jun 2007 15:46:25 +0200, Matthias Stuebner wrote: > > > > > Is there a way to modify $incomingFieldArray in the way I would like? > > > > Maybe important: More detailed the thing I miss is that the data I set (and > > which can be verified even in the post-Hook doesn't get shown in the form. > > How can I achive this? > > i use processDatamap_afterDatabaseOperations hook > and in my function i reference the variables : > processDatamap_postProcessFieldArray ($status, $table, $id, & > $fieldArray, &$pObj) > > this way i can modify and add data to the field array, since i reference > the pObj variable, i use it to return warning and errors to the editor > > hope this helps, > > Serge >
Oh yes, If you want data stored in fields not editable by the user, define them in the tca, but do not put them in the types array, i have used it this way and works like a charm, or better, put them in the types array, but dont give none admins access (using "exclude" => 1 in the tca) _______________________________________________ TYPO3-english mailing list [email protected] http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
