froemken / repair_translation

Get rid of displaying the default file in translated records of extbase extensions
25 stars 9 forks source link

Extension extending Page-Settings does not show images of translated page-setting #15

Open maximaexchen opened 5 years ago

maximaexchen commented 5 years ago

Hi, does my extension need special integration or configuration to show differnet image in translatet record? TYPO3 8.7.19

Exerpt from my moon_teaser/Configuration/TCA/Overrides/pages_language_overlay.php

'tx_moonteaser_image' => array(
        'exclude' => 0,
        'label' => 'LLL:EXT:moon_teaser/Resources/Private/Language/locallang_db.xlf:pages.tx_moonteaser_image',
        'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig(
            'tx_moonteaser_image',
            array(
                'maxitems' => 1,
                'appearance' => array(
                    'fileUploadAllowed' => FALSE,
                )
            ),
            $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext']
        ),
    ),

Only the images from the original languages are shown .

Thanks in advance

froemken commented 5 years ago

Can you please try current master of my ext on GIT. MAybe it solves your problem.