[TYPO3] Print Single News and TV - Solved

Aji Johannes aji.yahya at gmail.com
Wed Jan 10 18:09:50 CET 2007


Aji Johannes schrieb:
> Hello List,
> did you try to Print the SingleView of tt_news with templavoila??
> i try that but no success, it is appear only :no news_id given.
> 
> my TS:
> 
> lib.print = COA
> lib.print {
> 1 = TEXT
> 1.value = index.php?id={page:uid}&print=1&no_cache=1
> 1.wrap = <a href="#" onclick="window.open('|' ,'print' ,  'width=595, 
> height=640,top=0,left=0 resizable=no, scrollbars=yes');" ><img 
> src="fileadmin/templates/main/layout/print.gif" border="0" title="" 
> alt=""/></a>
> 1.htmlSpecialChars = 1
> 1.insertData = 1
> 
> [globalVar = GP:tx_ttnews > 0]
> lib.print.data = GPvar : tx_ttnews | tt_news
> lib.print.wrap = 
> index.php?id={page:uid}&print=1&no_cache=1&tx_ttnews[tt_news]=|
> [global]
> 
> }
> 
> 
> do you have any idea, many Thanks.
> 
> 
> Johannes

Hello List,

i solved the problem self. it was easy lol. ;)

lib.print = COA
lib.print {
#Print Version URL:
1 = TEXT
1.data = GPvar : tx_ttnews | tt_news
1.wrap = <a href="#" 
onclick="window.open('index.php?id={page:uid}&print=1&no_cache=1&tx_ttnews[tt_news]=|' 
,'print' ,  'width=595, height=640,top=0,left=0 resizable=no, 
scrollbars=yes');" ><img src="fileadmin/templates/main/layout/print.gif" 
border="0" title="" alt=""/></a>
1.htmlSpecialChars = 1
1.insertData = 1


[globalVar = GP:tx_ttnews > 0]
lib.print.data = GPvar : tx_ttnews | tt_news
lib.print.wrap = 
index.php?id={page:uid}&print=1&no_cache=1&tx_ttnews[tt_news]=|
[global]

}


i hope this will help you too.
thanks
Johannes


More information about the TYPO3-english mailing list