[TYPO3-templavoila] Inserting Image<->Link Pairs
Felix Buenemann
Felix.Buenemann at gmx.de
Fri Mar 20 10:55:21 CET 2009
Am 03.11.2008 8:52 Uhr, Steffen Kamper schrieb:
> Hi,
>
> I solved it with a section, givving a image field and a link field for
> each.
>
> vg Steffen
I have tried Steffen's suggestion using a section, container, one
element and one attribute.
Using the following (example) html:
<div id="images">
<a href="#img1"><img src="img1.jpg"/></a>
<a href="#img2"><img src="img2.jpg"/></a>
</div>
I have mapped div#images as a section, the range a[1] to a[2] as the
container of elements and created an element "Image" mapping to a:inner
of a[1] and "Link" mapping to a:attr:href of a[1].
Now if I try to insert content using the template, the range of a[1] to
a[2] gets replaced with nothing instead of one or more image/link pairs.
I'm using TV 1.3.7 on T3 4.2.1+secfixes.
Regards,
Felix Buenemann
More information about the TYPO3-project-templavoila
mailing list