[TYPO3-english] How to map a link in Templavoila

Riccardo De Contardi riccardo.decontardi at bhuman.it
Thu Apr 8 16:27:56 CEST 2010


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>

I've mapped the anchor in TV in this way:

type: attribute;
element type: link;
attribute: href

The problem: I'd like to erase the <a href="etc...." when there is no  
link, but... how?

I tried to write in my DS

<TypoScript>
	10 = TEXT
	10.typolink.parameter.current = 1
	10.typolink.returnLast = url
	10.typolink.required = 1
</TypoScript>
But nothing happens


Thank you for your anwsers!


-- 
--------------------------------------------
Riccardo De Contardi - Web Developer
B Human Srl - www.bhuman.it
Via Canzio, 15 - 20131 Milano
TEL +39-02-20.23.271 - FAX +39-02-20.240.561
--------------------------------------------


More information about the TYPO3-english mailing list