[TYPO3-mvc] Blog example: Number of comments
Steffen Kamper
info at sk-typo3.de
Mon Jul 27 22:08:11 CEST 2009
Hi,
Julian Kleinhans schrieb:
> Hi,
>
> yeah.. here is my solution
>
> viewHelper which returns only count($this->renderChildren());
>
> Fluid syntax looks like:
> <NAMESPACE:commentcount>{post.comments}</NAMESPACE:commentcount>
>
> thx :)
>
isn't that too expensive? This is rendering all childrens ( > NULL)
only to get the count.
vg Steffen
More information about the TYPO3-project-typo3v4mvc
mailing list