[TYPO3-english] Check with Typoscript if Templavoila "Link field" is set
Søren Madsen
sma at science.au.dk
Thu Oct 7 21:48:11 CEST 2010
On 07/10/2010, at 20.46, Loek Hilgersom wrote:
> I think you should be able to do this with override. TSref says:
>
> if "override" returns something else than "" or zero (trimmed), the
> content is loaded with this!
>
> So:
>
> lib.readonlinelink = TEXT
> lib.readonlinelink.value = {$readonlinelinktext.da}
> lib.readonlinelink.typolink {
> parameter.data = getIndpEnv:TYPO3_REQUEST_URL
> parameter.override.field = your_fieldname
> title = {$readonlinelinktext.da}
> }
>
> Cheers,
> Loek
Hi Loek! Thanks for taking the time to help me on this.
This won't work though - since my premise is that I change the field from type "Typoscript Object Path" (thereby giving me the option to target it with lib.readonlinelink) to just a field of the type "Link field" (so users can enter this value in page properties). When I do this lib.readonlinelink does not exist anymore (or have I completely misunderstood this?)
PS. We should talk soon :)
--
Regards,
Søren
More information about the TYPO3-english
mailing list