[TYPO3-dev] Record-Localisation and type-field

Benno Weinzierl benno_weinzierl at web.de
Wed Mar 5 22:58:58 CET 2008


Hi Steffen,

i am using a select-field at the moment. Everything is working like a 
localized tt_content.
But that is not the desired behaviour.
With tt_content it is possible to localize a Textelement and switch to (for 
example) Image in the localized version (while the default-record stays 
text).
This is not what i want for my teaser-extension. I want to prevent this. The 
User should decide the type of the teaser only in the 
default-language-record.

Benno


"Steffen Kamper" <steffen at sk-typo3.de> schrieb im Newsbeitrag 
news:mailman.1.1204753254.9065.typo3-dev at lists.netfielders.de...
>
> "Benno Weinzierl" <benno_weinzierl at web.de> schrieb im Newsbeitrag 
> news:mailman.1.1204752794.19377.typo3-dev at lists.netfielders.de...
>> Hi Newsgroup,
>>
>> i have a problem with localisation of TCA-defined records.
>> I started with kickstarter, then added the neccessary 
>> l10n_mode-Definitions to the columns and everything works fine except for 
>> one thing:
>>
>> I am using a type-field (like tt_content uses) to define different 
>> teaser-types with different fields in one table. My problem is, that i 
>> cannot use the l10nmode "exclude" for the type-field in the localized 
>> records, because the fields defined in the type-section of the TCA are 
>> not displayed if i use a l10nmode for this type-field.
>> The result i want is this:
>> The Type-field (Teasertype in this case) should only be editable in the 
>> default-language-record. But the fields of the localized record should be 
>> displayed according to the type-field ob the defaultlanguage-record.
>>
>> Is there a way to accomplish that? Is this behaviour wanted or is it a 
>> bug? Or am i missing something?
>>
>> Thanks for help, Benno
>>
>>
>
> Hi,
>
> make it like tt_content, use a select for the type-field.
>
> vg  Steffen
> 






More information about the TYPO3-dev mailing list