blog
blog copied to clipboard
List posts by author as widget
Feature Request
It would be nice to have the posibility to list posts by author, like list posts by category or tag.
That already exists https://github.com/TYPO3GmbH/blog/blob/master/Resources/Private/Templates/Post/ListPostsByAuthor.html https://github.com/TYPO3GmbH/blog/blob/master/Classes/Controller/PostController.php#L251
Hi @helsner, thanks for your fast reply.
I need to implement a select box with authors in blog listing as a filter option.
For categories and tags I used widgets: {blogvh:data.contentListOptions(listType: 'blog_categorywidget')} <f:cObject typoscriptObjectPath="tt_content.list" data="{contentObjectData}" table="tt_content"/>
{blogvh:data.contentListOptions(listType: 'blog_tagwidget')} <f:cObject typoscriptObjectPath="tt_content.list" data="{contentObjectData}" table="tt_content"/>`
But for authors there is no widget to render a list of authors.
Do you have a idea how to generate a list of authors in blog listing?
Ah. the context of "widget" has been missing there. You might wanna change that in the description and title of the issue for better understanding.
I don't know what the exact result should look like, but just like the other widgets the "WidgetController" could take care of that and handle authors the same it does with e.g. tags. Tag are connected to a post just like the author, but can standalone and their usages listed for multiple posts independent
Ok, I will try to implement this in the same way as the other widgets.