Is it possible somehow in Typo3 if a Backend User is unhiding a Record to call a php function inside a class?
In my Case: FE User is creating a Record hidden. If the Backend User checks this Record and unhide it to show it in frontend I need to send data to the CRM of my client via a class->function
Yes, it is possible, but you need to write an extension (probably you're writing some right now)
You need to use some TCE hooks ie.
processDatamap_preProcessFieldArray(array &$incomingFieldArray, $table, $id, t3lib_TCEmain &$reference)
or
processDatamap_afterDatabaseOperations($status, $table, $id, $fieldArray, &$reference)
Here is some article about hooks usage. If you have TemplaVoila installed, you can also check how they are implementing the hooks - /typo3conf/ext/templavoila/class.tx_templavoila_tcemain.php
and /typo3conf/ext/templavoila/ext_localconf.php
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.