TYPO3扩展名将列在"Web"列表 [英] TYPO3 extension to be listed under "Web" list

查看:73
本文介绍了TYPO3扩展名将列在"Web"列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用扩展程序构建器创建的扩展程序. TYPO3版本是6.1.0.就像TYPO3中有news扩展名一样,我希望我的扩展名也显示在Web列表下.可以这样显示自定义扩展吗?

I have an extension created using extension builder. The TYPO3 version is 6.1.0. Just like we have the news extension in TYPO3, I would like my extension to also be shown under the Web list. Can custom extensions be displayed like this ?

我希望将我的扩展名列出在Web下,但是当然也应该将其列出在List> Page ...下.但是通过在此处列出该扩展名,我可以将该扩展名的所有记录都放在一个选项卡下.

I want my extension to be listed under Web but Of course it should also be listed under List>Page... But by having the extension listed here, I can have all the records of this extension under one tab.

先谢谢了. :)

推荐答案

您是使用Extension Builder创建的BE module,不是吗?可以选择主模块"-web,这是默认设置.

You created your BE module with Extension Builder, didn't you ? It has a possibility to choose the 'Main module' - web, which is default btw.

如果您手动注册了模块,只需将Tx_Extbase_Utility_Extension::registerModule的第二个参数设置为web.其他选项是:usertoolshelp.

If you registered your module manually, just set the second param of Tx_Extbase_Utility_Extension::registerModule to web. Other options are: user, tools, help.

修改

需要添加BE模块-这实际上就是您想要做的. Extension Builder不会为BE模块创建任何"TYPO3 BE典型"视图,因此您需要自己创建它.

You need to add the BE module - that's actually what you want to do. Extension Builder doesn't create any 'TYPO3 BE typical' view for BE modules, so you need to create it yourself.

最有可能的是,您将需要添加专用于此BE模块的新的单独的action甚至更好的controller,因此您还将在这里使用其他视图.

Additionally most probably you will need to add new separated action or better even controller dedicated for this BE module, so there you'll use another views as well.

例如,BE模块中有一些ViewHelper可供使用,其中之一是:TableListViewHelper(注意:它来自4.x,我也不知道它是否也出现在6.x中).

For an example there are some ViewHelpers for usage in BE modules, one of them is: TableListViewHelper (note: it's from 4.x, I dont' know if it present in 6.x too).

这篇关于TYPO3扩展名将列在"Web"列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆