[TYPO3-english] Antw: cooluri and Exclude this page from middle of a pagepath

Rupert Germann rupi at gmx.li
Fri Apr 17 20:11:44 CEST 2009


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 <mail at 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 at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>>



More information about the TYPO3-english mailing list