这就是我的问题:我已经在我的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>发布于 2013-03-13 03:05:41
您需要将插件配置添加到TSconfig中。
检查mod.wizards.newContentElement.wizardItems.<tab>.<entry>.中的配置。
您可以通过t3lib_extMgm::addPageTSConfig('static TSconfig string');将TSconfig添加到您的ext_localconf.php中。
下面是我的一个私有扩展的示例配置:
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)
}
');https://stackoverflow.com/questions/15336361
复制相似问题