[TYPO3-english] Copying mm record
Markus Klein
klein.t3 at mfc-linz.at
Thu Oct 3 17:08:52 CEST 2013
Hi!
I guess you have to write a hook for tcemain, which takes care of copying the other records as well.
Ext_localconf.php
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] =
'EXT:' . $_EXTKEY . '/Classes/Database/class.tx_myext_refintegrity.php:tx_myext_refintegrity';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processCmdmapClass'][] =
'EXT:' . $_EXTKEY . '/Classes/Database/class.tx_myext_refintegrity.php:tx_myext_refintegrity';
Kind regards
Markus
------------------------------------------------------------
Markus Klein
TYPO3 CMS Active Contributors Team Member
> -----Original Message-----
> From: typo3-english-bounces at lists.typo3.org [mailto:typo3-english-
> bounces at lists.typo3.org] On Behalf Of Peter Falk
> Sent: Thursday, October 03, 2013 4:36 PM
> To: typo3-english at lists.typo3.org
> Subject: [TYPO3-english] Copying mm record
>
> Hi all.
>
> When an editor copies an instance of a plugin to another location (which they
> often tends to do), and this plugin relies on inline mm-table child records,
> these child records aren't copied. When the editor edits the records of the
> newly copied instance, he actually edits the original ones, because the mm-
> table isn't updated.
>
> Is there an easy solution or do I have to rewrite the code?
>
> Regards
> Peter
>
> _______________________________________________
> 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