[TYPO3] printlink and tip-a-friend - Please help me!

Matyi Gábor gmatyi at freemail.hu
Wed Apr 19 23:00:05 CEST 2006


Hi, 

I looked your website but this I don't understand:

#Tip-a-friend
temp.tip = TEXT
temp.tip.field = uid
temp.tip.wrap = <a href="./index.php?id=129
&tipUrl=http://www.mcuinverse.com/05/?|">
<img src="/05/fileadmin/sitepics/emailfriend.gif" 
alt="tell a friend" border="0">Tell a Friend</a>


Look at please my typoscript

# TIP A FRIEND 
temp.tipafriend = USER 
temp.tipafriend { 
  userFunc = tx_tipafriend->main_tipafriend 
  code = TIPLINK 
  templateFile = {$plugin.tipafriend.file.templateFile} 
  typolink.target = _self
  typolink.parameter = 27
}

temp.printversion < plugin.tx_cronprintlink_pi1
temp.printversion.linkContent = IMAGE
temp.printversion.linkContent.file = fileadmin/images/icons/print.gif

40 = COA
40 {
      10 < temp.contact
      20 < temp.tipafriend
      30 < temp.search
      40 < temp.sitemap
      50 < temp.printversion
      stdWrap.wrap = <div id="othernavigation">|</div>
}

This is a little bit same as the printlink. I create a USER object, not TEXT. 
What I not found, how I add  the image file, and why not created the typolink 
in the html file?

this: <a href="./index.php?id=27&tipUrl= ....>


Thanks Gabor

2006. április 19. 21.40 dátummal Marlies C ezt írta:
> Hi,
>
> Here are my print and tipafriend tutorials:
> http://www.mcuniverse.com/05/Pr.81.0.html
> http://www.mcuniverse.com/05/Ti.tipafriend0.0.html
>
> Hope they help.
>
> Marlies
> www.mcuniverse.com



More information about the TYPO3-english mailing list