Typo3 kickstarter空白名称扩展名

时间:2013-03-11 10:32:14

标签: typo3 kickstarter

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

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

locallang.xm l和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>

1 个答案:

答案 0 :(得分:0)

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

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

您可以通过TSconfigext_localconf.php内添加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)                                                                   
}                                                                                                   
');