[TYPO3-templavoila] Using a value for multiple fields

Björn Pedersen pedersen at frm2.tum.de
Mon Sep 12 16:53:31 CEST 2011


Am 12.09.2011 16:47, schrieb Oliver Salzburg:
> Hi,
> 
> The template file would look something like this (this is very
> simplified of course):
> 
> <a href="#">
>   <img src="#">
> </a>
> <p>
>   <a href="#">Download</a>
> </p>
> 
> Now, I don't really want the "Download" link to link to a different
> file than the image. I would like the user to only select a link and an
> image in the backend and then re-use the selected link in two places in
> the template.
> How can I do that?
> 


Just map the second link as TypoScript only and create the necessary TS.
You can access the fields almost like a database field with their names.

Björn



More information about the TYPO3-project-templavoila mailing list