[TYPO3-english] typolink and dataWrap in Typoscript object path

Stefan Frömken firma at sfroemken.de
Tue Jan 4 08:25:50 CET 2011


Am 03.01.2011 17:02, schrieb patrick:
> Hi
>
> The following Typoscript works perfectly and prints the link with the
> title of the site as a param.
> page.100 = TEXT
> page.100.value = E-Mail
> page.100.typolink.parameter.dataWrap =
> mailto:info at example.com?SUBJECT={field:title}
>
> However, if I replace page.100 with a Typoscript Object path it just
> shows me the Text E-Mail.
> lib.footer3 = TEXT
> lib.footer3.value = E-Mail
> lib.footer3.typolink.parameter.dataWrap =
> mailto:info at example.com?SUBJECT={field:title}
>
> I've no idea why this shouldn't work with a Typoscript object path.
> Hope someone can help me.
>
> Thanks in advance.

Property "field" is a little bit tricky. If you use your TypoScript 
Object path within TemplaVoila you can access only fields defined in TV 
XML only. But I think you will access some page properties. So it's 
better to use something like that:

mailto:info at example.com?SUBJECT={page:title}

Stefan


More information about the TYPO3-english mailing list