0

这是我的问题:我在typo3(4.7.10)上使用kickstarter创建了几个扩展,但是当我想将扩展添加到页面时,我只有没有任何名称的默认图标

但扩展名在此屏幕中正确显示

locallang.xml 和是正确的locallang_dg.xml,如果我编辑它们,问题仍然存在

<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<T3locallang>
<meta type="array">
<type>module</type>
<description>Language labels for extension 'user_documentations'</description>
</meta>
<data type="array">
<languageKey index="default" type="array">
<label index="pi1_title">Documentations</label>
<label index="pi1_plus_wiz_description">Afficher les documentations</label>
</languageKey>
</data>
</T3locallang>
4

1 回答 1

0

您需要将插件配置添加到TSconfig.

检查mod.wizards.newContentElement.wizardItems.<tab>.<entry>.配置。

您可以TSconfig在您的ext_localconf.phpvia中添加t3lib_extMgm::addPageTSConfig('static TSconfig string');

这是我的一个私人扩展的示例配置:

t3lib_extMgm::addPageTSConfig('                                                                     
mod.wizards.newContentElement.wizardItems {                                                         
    common.elements {                                                                               
        wvv {                                                                                       
            icon = ../typo3conf/ext/pgampe_bonnvolley/wvvlogo24x24.png                              
            title = LLL:EXT:pgampe_bonnvolley/locallang_db.xml:tt_content.plugin_wvv_title          
            description = LLL:EXT:pgampe_bonnvolley/locallang_db.xml:tt_content.plugin_wvv_description
            tt_content_defValues {                                                                  
                CType = wvv                                                                     
                tx_pgampebonnvolley_option = 4                                                  
            }                                                                                       
        }                                                                                           
    }                                                                                               
    common.show := addToList(wvv)                                                                   
}                                                                                                   
');
于 2013-03-12T19:05:40.797 回答