[TYPO3-mvc] Is there a general viewhelper for 10.value={text} 10.typolink.parameter={destination}?
Andreas Kiessling
kiessling at pluspol.info
Tue Aug 28 23:16:40 CEST 2012
Hi,
Am 28.08.12 21:01, schrieb Steffen Müller:
> Hi.
>
> On 28.08.2012 11:51 Martin Bless wrote:
>>
>> 'more' and 'dest1' are flexform values stored
>>
>
> Then you can access these values in Fluid using
> {settings.more1}...
>
> <f:cObject typoscriptObjectPath="lib.doTheWork" data="{linkTarget
> settings.dest1, linkText: settings.more1}" />
>
That only works for extbase plugins, but Martin mentioned
wec_contentelements. That extension seems to only utilize FLUIDTEMPLATE
and wraps some own variable initialization around.
> lib.doTheWork = TEXT
> lib.doTheWork.field = linkText
> lib.doTheWork.typolink.parameter.field = linkTarget
>
>
> Alternatively, write a ViewHelper, which can handle link_wizard
> parameters. (and share it on forge!)
>
Maybe that one already does the job?
https://github.com/castiron/cicbase/blob/master/Classes/ViewHelpers/TypolinkViewHelper.php
Regards,
Andreas
More information about the TYPO3-project-typo3v4mvc
mailing list