[TYPO3-english] overwriting localized field with the default value

kilgor bombexe_ursu at yahoo.com
Fri Jan 29 09:09:21 CET 2010


Someone gave me an idea. 
I will use the hook "processDatamap_afterAllOperations" from t3lib_tcemain
and make the updates to the localized versions when ever I save the default
version
Hope it works. 

kilgor wrote:
> 
> Hello,
> 
> This is my first question here so please if I do something wrong I'm very
> sorry.
> On my extension I have a "document" content element with some properties
> (name, document_type, extension...). One of the properties for this CE is
> "document_type" which in the TCA array is of type select.
> When I localize a document element, the document_type property is copied
> which is good. Then if i change the document type for the default language
> the localized version stay the same.
> My question is how do I get the localized versions to change also so every
> time the localized versions are the same with the default language
> version.
> 
> Thanks in advance for any suggestions.
> 

-- 
View this message in context: http://old.nabble.com/overwriting-localized-field-with-the-default-value-tp27356313p27367109.html
Sent from the TYPO3 English mailing list archive at Nabble.com.



More information about the TYPO3-english mailing list