Last week I started with TYPO3 and now I have to make an extension (widget) for a Dashboard plugin (where in the FE the User can select from a list of specific widgets and place them on this Dashboard).
The widget should be able to display the latest 5 of all news and (via dropdown) be able to show only the latest 5 news of a specific category.
For the News we're using EXT:news.
And that's where I'm stuck now.
In my custom extension, how can I access the deserved data (title, category and body) from the news-extension to pass it into my template?