[TYPO3-english] How to map a link in Templavoila
Marcus 'biesior' Biesioroff
vsbies at wp.pl
Thu Apr 8 23:52:54 CEST 2010
ellou,
Use DS Element (not the attribute) with type of "TypoScript path" to
join for an example lib.mySpecialLink.
Map it to the whole <a ...> tag in the HTML template and set mapping
style for OUTER
In main TS template declare the link (sorry I do not understand whole
TS, so I dont know what typolink.parameter.current = 1 should do, in
example there's static uid=123 set)
<TypoScript>
lib.mySpecialLink = TEXT
lib.mySpecialLink {
typolink {
parameter = 123
wrap = <span class="invisible2">|</span><img
src="assets/img_layout/as_ts_bckg_button_trasp.gif"
alt="Enter"title="Enter" />
ATagBeforeWrap = 1
}
}
</TypoScript>
2010-04-08 16:27, Riccardo De Contardi:
> Hello everybody.
>
> A little problem I've stumbled upon using Templavoila:
>
> The problem:
>
> I have a link in my HTML template:
>
> <a href="#" title="Entra"><span class="invisible2">Enter</span>
> <img src="assets/img_layout/as_ts_bckg_button_trasp.gif" alt="Enter"
> title="Enter" />
> </a>
--
Marcus 'biesior' Biesioroff
a.k.a. Marek Krawczyk (original)
Polish TYPO3 Community
http://typo3.pl
More information about the TYPO3-english
mailing list