[TYPO3-english] TT News Related News

Clay Sissing clay at kdweb.co.uk
Fri Oct 16 11:12:45 CEST 2009


Hi Guys

 

Below I can receive data from the following field from the tt news
table:

tx_extendsttnews_date

tx_extendsttnews_venue

 

But for the following field it does not return any data at all:

tx_extendsttnews_disc

 

Below is the code that im using to get the data:

 

plugin.tt_news {  

  alwaysShowRelated = 1

  

  getRelatedCObject.10.1.20 > 

  getRelatedCObject.10.2.20 >

  getRelatedCObject.10.default.20 >

    

  related_stdWrap.wrap = <div class="news-single-relates">|</div>

  relatedHeader_stdWrap.wrap =

  

  # remove icon for related news

  tmp.5 >

 

getRelatedCObject = COA

  getRelatedCObject {

 

    10 = CASE

     10.default = COA

      10.default {

        wrap = <div class="related-con"> | </div>

        5.file = 0

        10.crop = 60 | ... | 1

        11 = TEXT

        11.field = tx_extendsttnews_date

        11.wrap = <br/>|,&nbsp;

        12 = TEXT

        12.field = tx_extendsttnews_venue

        12.wrap = |    

        13 = TEXT

        13.field = tx_extendsttnews_disc

        13.wrap = <p>|</p>

    }

  }

}

 

Thanks

Clay

 



More information about the TYPO3-english mailing list