Feature #34630
generic "Comments" ViewHelper
Status: | Resolved | Start date: | 2012-03-07 | |
---|---|---|---|---|
Priority: | Could have | Due date: | ||
Assigned To: | Adrian Föder | % Done: | 100% |
|
Category: | - | |||
Target version: | - |
Description
I'm currently writing a generic Comments ViewHelper that'll have the following signature / functionality:
/** * Returns comments for an entity as collection in order to e.g. <f:for each=""> it * * = Examples = * ** <f:for each="{c:comments(object: affectedObject)}" as="comment"> * <cite>{comment.author.name</cite> * <blockquote>{comment.message}</blockquote> * </f:for> *
*/
(I personally will use that as a base for converting it to JSON; but the sampled use case is very... useful, I think).
I'll keep it locally and make a Gerrit once the base code is in the master branch.
Associated revisions
[FEATURE] Generic "Comments" ViewHelper
This provides a ViewHelper that returns the Comments Collection
attached to a given object in order to e.g. <for each=""> though
it.
Change-Id: I4c6528d3cc060c6e21543adaeafc9535ad25fb2c
Resolves: #34630
History
#1 Updated by Adrian Föder over 3 years ago
- Status changed from New to Accepted
#2 Updated by Gerrit Code Review over 3 years ago
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9636
#3 Updated by Adrian Föder over 3 years ago
- Status changed from Accepted to Under Review
- % Done changed from 0 to 60
#4 Updated by Gerrit Code Review over 3 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9636
#5 Updated by Adrian Föder about 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 60 to 100
Applied in changeset 49fe253b711c60b75bf7ce908517d77950cb00ce.