[TYPO3-dev] class.t3lib_befunc.php > function editOnClick

Ismael BIDAU bidau at ensci.com
Wed Jan 11 15:20:07 CET 2006


Hi all,

in my TCA, I have a table "tx_events_list", and a field type "user", with  
a userFunc defined for listing records from another table  
"tx_etudiant_list" (there is a table beetween "tx_events_list_etudiant",  
not a mm table because I need some custom fields in this 'beetween' table)

In my custom script, I want to use t3lib_BEfunc::editOnClick (to edit the  
table tx_events_list_etudiant

When I CREATE a record "tx_events_list", I have to record TWICE to use  
t3lib_BEfunc::editOnClick.
After the first recording, the message NEW - [PID: 244] is replace by [an  
id]. But t3lib_BEfunc::editOnClick give me a returnUrl with  
index.php&edit[tx_events_list][244]=new# instead of  
index.php&edit[tx_events_list][3917]=edit#

The problem seems to be the moment when my custom script is parse. An idea  
?

(I have the same probleme with processDatamap_afterDatabaseOperations)

I. BIDAU




More information about the TYPO3-dev mailing list