[TYPO3-english] R: R: R: staticpub and to top link

De Contardi Riccardo Riccardo.DeContardi at bhuman.it
Thu Feb 24 09:45:56 CET 2011


Of course my code is defective: it adds the link BEFORE the CO (silly me!, the correct stdWrap should be postCObject, not cObject)
The correct code should be:


//Get rid of the old link
tt_content.stdWrap.innerWrap2=|

//rewrite it
tt_content.stdWrap.innerWrap2. postCObject =TEXT
tt_content.stdWrap.innerWrap2{
    data = LLL:EXT:css_styled_content/pi1/locallang.xml:label.toTop
     typolink.target =
     typolink.addQueryString = 1
     typolink.parameter = #container
     wrap = <p class="csc-linkToTop"> |<p>
}

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