[TYPO3-templavoila] Inserting Image<->Link Pairs
Felix Buenemann
Felix.Buenemann at gmx.de
Fri Mar 20 13:24:27 CET 2009
Hi Steffen,
Am 20.03.2009 10:59 Uhr, Steffen Kamper schrieb:
> Hi,
>
> Felix Buenemann schrieb:
>> 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>
>>
>
> why 2 images and range? Use one and map it.
Because the design template included several images to illustrate the
desired design. I changed the content element to map to a:outer of a[1],
which also caused the a tag to be swallowed. It seems to be a bug in TV,
as it allows to map the field with a:inner mapping rule inside the
content element with a:outer rule.
It seems I have to modify the html template and add an enclosing div to
solve this.
>
> vg Steffen
Regards,
Felix
More information about the TYPO3-project-templavoila
mailing list