[TYPO3-templavoila] Inserting Image<->Link Pairs
Felix Buenemann
Felix.Buenemann at gmx.de
Fri Mar 20 16:02:31 CET 2009
Hi,
Am 20.03.2009 14:44 Uhr, Felix Buenemann schrieb:
> Hi Steffen,
>
> Am 20.03.2009 14:04 Uhr, Steffen Kamper schrieb:
>> Hi,
>>
>> it seems you made a mistake with mapping and used wrong mode (inner/outer)
>>
>> Try the preview in mapping module.
>
> I found the problem. It seems TV didn't like that I reconfigured old
> field from a previous template. I deleted the section container, saved
> the template. Then modified it adding back in the section container,
> container element and the rest and now it works.
Hmm, on a closer view it's still buggy. As soon as I map the image field
to either a:inner or img:outer, it'll output the <a> tag twice.
Mapping only a:attr:href of a:
<div id="bilder">
<span><a hef="some/link1"><img src=""/></a></span>
</div>
Also mapping image to a:inner or img:outer:
<div id="bilder">
<span><a hef="some/link1"><a hef="some/link1">
<img src="some/image1.png"/></a></a></span>
</div>
Regards,
Felix
More information about the TYPO3-project-templavoila
mailing list