I need a rush course on News (and some TYPO3). I would like to have a further 'what to display' plugin option, to show a customized list of news.
I (believe to) understand how to define a new mylistAction method within class newsController, and a corresponding mylist.html template.
What I miss is how I get a (working) mylist option within the BE module to insert the plugin into a page. I am not sure what else I need to update and how (TCA, language files, TS, ... )
Thanks for your help, Cheers, mario
----- EDIT and SOLVED I made it!
- i defined action
listmAction()
withinNewsController.php
- i defined template
listm.html
within
Configuration/Flexforms/flexform_news.xml
i added lines:<numIndex index="22"> <numIndex index="0">LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.mode.news_listm </numIndex> <numIndex index="1">News->listm</numIndex> </numIndex>
within
locallang_be.xlf
i added lines<trans-unit id="flexforms_general.mode.news_listm" xml:space="preserve"> <source>List m view</source> </trans-unit>
Now i am able to insert a News plugin into a page with the
new listm option, and the listm template is rendered. (It seems I needed to trash cache too). Good!