[Typo3] print link
racco
raczek at open.infi.pl
Sun Jun 26 23:52:15 CEST 2005
Thank you! It works fine now!
racco
Uzytkownik "Sacha Vorbeck" <sachav at gmx.net> napisal w wiadomosci
news:mailman.1.1119798461.26055.typo3-english at lists.netfielders.de...
> Hi,
>
>> The image is displaye correctl, all works, but I noticed, that not only
>> image and text print site are the link, but the whole row!! I do not know
>> what is going on. The HTML output of this fragment is:
>
>> So what is going on?
>>
>> :)
>
> TS does what you told it to do ;-).
>
> You added the link or the postUserFunc to the COA object which also
> contains the <div class=printer>.
>
> If you only want the image and the text to be linked, try this:
>
> temp.PRINT = COA
> temp.PRINT {
> stdWrap {
> wrap = <div class=printer> | </div>
> }
> 10 = COA
> 10 {
> 10 = TEXT
> 10.value = print site
> 20 = IMAGE
> 20.file = fileadmin/template/main/images/printericon.gif
> stdWrap {
> postUserFunc = tx_make_printlink
> postUserFunc {
> target = _blank
> popup = 1
> windowparams =
> (resizable=yes,toolbar=no,scrollbars=yes,menubar=no,width=800,height=500)
> windowname = printwindow
> }
> }
> }
> }
>
> --
> hth,
> Sacha
More information about the TYPO3-english
mailing list