TYPO3 extension to be listed under “Web” list

谁说胖子不能爱 提交于 2019-12-11 21:04:06

问题


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 ?

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.

Thanks in advance. :)


回答1:


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.

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.

Edit

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.

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.

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).



来源:https://stackoverflow.com/questions/16829737/typo3-extension-to-be-listed-under-web-list

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!