[TYPO3] Comprehensive howto for tip-a-friend

Matyi Gábor gmatyi at freemail.hu
Mon Apr 17 16:49:50 CEST 2006


Hi, I'm looking for a comprehensive howto for the plugin tip a friend. I found 
this tutorial, http://www.typo3-sitelli.com/tipafriendtutorial.html, but it 
is not good for me.

In all tutorial I read such things: Im HTML Template der Seite muss folgende 
Platzhalter positioniert werden:
<!--###LINK###-->Tip a friend<!--###LINK###-->

I don't have template file. I use typoscript to create the webpage. My 
typoscript is:


# Differing from the normal TS Wrap Template:
# the templates content(default) and cSet Stylesheet were removed 
from "Include Static"
# CSS Styled Content is selected in "Include Static from extensions"

page = PAGE
page.typeNum = 0
page.bodyTag = <body>
page.stylesheet = fileadmin/styles/ts-template-wrap.css

# Top
page.10 = COA
page.10 {

   stdWrap.wrap = <div id="container">|</div>
   ## rootline
   #10 < temp.rootline_autoparser_tswrap
   #10.stdWrap.wrap = <div id="rootline">|</div>

   ## Header
   20 = COA
   20.stdWrap.wrap = <div id="header">|</div>

   ## Main Navigation
   30 < temp.navigation_autoparser_tswrap
   30.stdWrap.wrap = <div id="topnavigation">|</div>

   # Left / Submenu
   40 = COA
   40 {
      10 < temp.subnavigation_autoparser_tswrap
      20 < temp.metas_autoparser_tswrap
      stdWrap.wrap = <div id="subnavigation">|</div>
   }

   # Printversion, typ a friend etc.
   45 = COA
   45 {
      stdWrap.wrap = <div id="printversion">|</div>
      10 < plugin.tx_cronprintlink_pi1
   }

   # Content
   50 = COA
   50 {
      stdWrap.wrap = <div id="mainblock">|</div>
      10 < styles.content.get
      10.stdWrap.wrap = <div id="content">|</div>
   }

   # Right
   60 < styles.content.getRight
   60.stdWrap.wrap = <div id="right"><div id="rightcontent">|</div><div 
id="rightfooter">&nbsp;</div></div>
   # the framework in DIV elements is only displayed if content exists
   60.stdWrap.required = 1

   # Footer
   ## simple placeholder to enable a CSS line break (clear: both)
   70 = TEXT
   70.value = <div id="footer">Copyright</div>
}

Does have anybody a solution that works with my typoscript? I' d like to add 
the tip-a-friend icon unter place 45-20.

Thanks Gabor Matyi



More information about the TYPO3-english mailing list