0

ここに私の問題があります: 私は、typo3 (4.7.10) でキックスターターを使用していくつかの拡張機能を作成しましたが、拡張機能をページに追加したい場合、名前のないデフォルトのアイコンしかありません

ただし、この画面ではエクステンション名が正しく表示されます

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>.します。

viaTSconfig内に追加できます。ext_localconf.phpt3lib_extMgm::addPageTSConfig('static TSconfig string');

これは、私のプライベート拡張の 1 つからのサンプル構成です。

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 に答える