[TYPO3-dev] Localizing content element with FAL images (flexform)

Stefan Franke stefan.franke at gmx.co.uk
Wed Feb 20 17:32:11 CET 2013


Hello,
I'm experiencing problems when localizing a content element that contains FAL images via flexform in TYPO3 6.0.2.

Example:
The original content element contains 2 FAL images. After localization the localized element contains 3 FAL images. The third FAL image is a duplication of one of the others and is greyed out. Moreover there are little speech bubbles on some of the IRRE elements that are not greyed out, that say "Record was removed in original language". The greyed out entry also has a little speech bubble icon that says "Record can be localized".

Is this a bug or am I doing something wrong? Below please find the flexform code I'm using.

Thanks for your help!

Best,
Stefan



<settings.newimage>
   <TCEforms>
      <config>
         <type>inline</type>
         <foreign_types type="array">
            <numIndex index="2" type="array">
               <showitem>--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,--palette--;;filePalette</showitem>
            </numIndex>
         </foreign_types>
         <foreign_table>sys_file_reference</foreign_table>
         <foreign_field>uid_foreign</foreign_field>
         <foreign_sortby>sorting_foreign</foreign_sortby>
         <foreign_table_field>tablenames</foreign_table_field>
         <foreign_match_fields type="array">
            <fieldname>image</fieldname>
         </foreign_match_fields>
         <foreign_label>uid_local</foreign_label>
         <foreign_selector>uid_local</foreign_selector>
         <maxitems>10</maxitems>
         <foreign_selector_fieldTcaOverride type="array">
            <config>
               <appearance>
                  <elementBrowserType>file</elementBrowserType>
                  <elementBrowserAllowed>jpg,png</elementBrowserAllowed>
               </appearance>
            </config>
         </foreign_selector_fieldTcaOverride>
         <appearance type="array">
            <headerThumbnail type="array">
               <field>uid_local</field>
               <width>90</width>
               <height>65</height>
            </headerThumbnail>
            <createNewRelationLinkTitle>Add new Image</createNewRelationLinkTitle>
            <useSortable>TRUE</useSortable>
            <showPossibleLocalizationRecords>TRUE</showPossibleLocalizationRecords>
            <showRemovedLocalizationRecords>TRUE</showRemovedLocalizationRecords>
            <showSynchronizationLink>TRUE</showSynchronizationLink>
            <enabledControls type="array">
               <info>FALSE</info>
               <new>TRUE</new>
               <dragdrop>TRUE</dragdrop>
               <sort>TRUE</sort>
               <hide>TRUE</hide>
               <delete>TRUE</delete>
               <localize>TRUE</localize>
            </enabledControls>
            <levelLinksPosition>both</levelLinksPosition>
         </appearance>
         <behaviour>
            <localizationMode>select</localizationMode>
            <localizeChildrenAtParentLocalization>TRUE</localizeChildrenAtParentLocalization>
         </behaviour>
      </config>
   </TCEforms>
</settings.newimage>



More information about the TYPO3-dev mailing list