[TYPO3-english] link image with typolink

De Contardi Riccardo Riccardo.DeContardi at bhuman.it
Mon Feb 15 18:22:05 CET 2010


Hello 

The question is quite trivial, but...

 

I want to link an image via typolink; this is my code:

 

plugin.tt_news.genericmarkers{

            facebooklink = IMAGE

            facebooklink.file =
fileadmin/templates/bhuman/assets/img_layout/facebookln.gif 

            facebooklink.stdWrap.typolink.parameter.field=
tx_bhlgpresslnks_fcbk

}

 

But... in this way, the image is always present, even if there is no
link.

Is it possible to remove the image if no link is present?

 

Thanks

 

--------------------------------------------
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
--------------------------------------------

 



Chi riceve il presente messaggio e' tenuto a verificare se lo stesso non gli sia pervenuto per errore. In tal caso e' pregato di avvisare immediatamente il mittente e, tenuto conto delle responsabilita connesse all'indebito utilizzo e/o divulgazione del messaggio e/o delle informazioni in esso contenute, voglia cancellare l'originale e distruggere le varie copie o stampe.

The receiver of this message is required to check if he/she has received it erroneously. If so, the receiver is requested to immediately inform the sender and - in consideration of the responsibilities arising from undue use and/or disclosure of the message and/or the information contained therein - destroy the original message and any copy or printout thereof.




More information about the TYPO3-english mailing list