hi Rupali, instead of simply switching the code in a condition like I described it in the manual you can do much more there, e.g. changing the way the pagecontent is rendered:
[globalVar = GP:tx_ttnews|tt_news > 0] page.10.subparts { main-column > main-column < plugin.tt_news main-column.code = SINGLE } [global] ..... hth & greets rupert Rupali wrote: > Tomas, > > Thanks, if i work according to the example in manual, i get both list and > single on same page. > > so i have 1 page home, where i have news latest. And on page news i have > news list as content object and FCE which shows news single per TS. so far > so good. > > In Addition to this i need one more condition. when i go to page news and > click on any news article I should be shown only single view of that news > and rest of the news list disappears. > > How can i achive this? > > 2009/4/17 Tomas Mrozek <m...@cascaval.com> > >> One solution is to use only one page both for listing of news items and >> display of single news detail. AFAIK, this is covered in the tt_news >> manual. >> >> Tomas Mrozek >> _______________________________________________ >> TYPO3-english mailing list >> TYPO3-english@lists.netfielders.de >> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english >> _______________________________________________ TYPO3-english mailing list TYPO3-english@lists.netfielders.de http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english