添加新视图,但不显示在列表中

时间:2019-12-11 17:02:25

标签: typo3-7.6.x

我已在fs_media_gallery中添加了一个新视图,但未在组合框中显示。

flatListThree丢失。我所缺少的是,我还将此操作添加到了控制器和挂钩中。

o

<switchableControllerActions>
                    <TCEforms>
                        <label>LLL:EXT:fs_media_gallery/Resources/Private/Language/locallang_be.xlf:flexforms.mediagallery.switchableControllerActions</label>
                        <onChange>reload</onChange>
                        <config>
                            <type>select</type>
                            <itemsProcFunc>MiniFranske\FsMediaGallery\Hooks\ItemsProcFuncHook->getItemsForSwitchableControllerActions</itemsProcFunc>
                            <items type="array">
                                <numIndex index="0">
                                    <numIndex index="0">LLL:EXT:fs_media_gallery/Resources/Private/Language/locallang_be.xlf:flexforms.mediagallery.switchableControllerActions.I.empty</numIndex>
                                    <numIndex index="1">MediaAlbum->index</numIndex>
                                </numIndex>
                                <numIndex index="1">
                                    <numIndex index="0">LLL:EXT:fs_media_gallery/Resources/Private/Language/locallang_be.xlf:flexforms.mediagallery.switchableControllerActions.I.nestedList</numIndex>
                                    <numIndex index="1">MediaAlbum->nestedList;MediaAlbum->showAsset</numIndex>
                                </numIndex>
                                <numIndex index="2">
                                    <numIndex index="0">LLL:EXT:fs_media_gallery/Resources/Private/Language/locallang_be.xlf:flexforms.mediagallery.switchableControllerActions.I.flatList</numIndex>
                                    <numIndex index="1">MediaAlbum->flatList;MediaAlbum->showAlbum;MediaAlbum->showAsset</numIndex>
                                </numIndex>
                                <numIndex index="3">
                                    <numIndex index="0">FlatList Three</numIndex>
                                    <numIndex index="1">MediaAlbum->flatListThree;MediaAlbum->showAlbum;MediaAlbum->showAsset</numIndex>
                                </numIndex>
                                <numIndex index="4">
                                    <numIndex index="0">LLL:EXT:fs_media_gallery/Resources/Private/Language/locallang_be.xlf:flexforms.mediagallery.switchableControllerActions.I.showAlbumByConfig</numIndex>
                                    <numIndex index="1">MediaAlbum->showAlbumByConfig;MediaAlbum->showAsset</numIndex>
                                </numIndex>
                                <numIndex index="5">
                                    <numIndex index="0">LLL:EXT:fs_media_gallery/Resources/Private/Language/locallang_be.xlf:flexforms.mediagallery.switchableControllerActions.I.showAlbumByParam</numIndex>
                                    <numIndex index="1">MediaAlbum->showAlbum;MediaAlbum->showAsset</numIndex>
                                </numIndex>
                            </items>
                            <default>MediaAlbum->index</default>
                            <size>1</size>
                        </config>
                    </TCEforms>
                </switchableControllerActions>

0 个答案:

没有答案