[FLOW3-general] view helper inside other viewhelper
Kay Strobach
typo3 at kay-strobach.de
Thu Oct 4 14:33:29 CEST 2012
Hi Oscar,
this should work, but you have some syntax problems in your example:
<f:translate id=currency > <m:percentage value={price} /> </f:translate>
^ ^ quotes ^
Better is to refer to:
<f:translate key="label_recent_posts">fallback</f:translate>
^ use this point to insert the value of percentage
http://wiki.typo3.org/Fluid#f:translate
Please refer to the inline notations.
Regards
Kay
Am 03.10.2012 21:04, schrieb Oscar Yannelli:
> can I use a view helper nested with another view helper, right now is giving me the wrong output
> I'm doing something like this
> :
> <f:translate id=currency > <m:percentage value={price} /> </f:translate>
> I do a calculation inside of the percentage view helper
>
> Regards
> Oscar A Yannelli
>
--
http://www.kay-strobach.de - Open Source Rocks
TYPO3 .... inspiring people to share!
Get involved: http://typo3.org
Answer was useful - feel free to donate:
-
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KPM9NAV73VDF2
- https://flattr.com/profile/kaystrobach
More information about the FLOW3-general
mailing list