首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Typo3 kickstarter空白名称扩展

Typo3 kickstarter空白名称扩展
EN

Stack Overflow用户
提问于 2013-03-11 18:32:14
回答 1查看 268关注 0票数 0

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

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

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

代码语言:javascript
复制
<?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>
EN

回答 1

Stack Overflow用户

发布于 2013-03-13 03:05:41

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

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

您可以通过t3lib_extMgm::addPageTSConfig('static TSconfig string');TSconfig添加到您的ext_localconf.php中。

下面是我的一个私有扩展的示例配置:

代码语言:javascript
复制
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)                                                                   
}                                                                                                   
');
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/15336361

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档