[Typo3] Location of items... how?

Unai Aizpurua f17th at infonegocio.com
Tue Mar 8 15:13:08 CET 2005


Hi!

Have a question about setting a content in a page location.
Want to put a TT_news category listing in a page with templavoila! the 
category listing works fine (code below)

I can put that code in a HTML content of the page, but also have other 
HTML contents that are overwritten.

tt_content.html = CONTENT

How can Put thant code overwritting a especific HTML Content instead all 
of them?

Supose something like..

tt_content.html(29) = CONTENT

Don't know,

Here's the code I use, found in the tt_news forum!

tt_content.html = CONTENT
tt_content.html {
   table = tt_news_cat
   select {
    ## Category Folder
     pidInList = 8
   }

   renderObj = COA
   renderObj {

     20 = TEXT
     20 {
          field = uid
          wrap = <div class="act_indice_elem_sel"><a 
href="La_Coleccion.138.0.html?&tx_ttnews[cat]= | >
          if {
              value.field = uid
              equals.data = GPvar:tx_ttnews|cat
             }
          }
     21 = TEXT
     21 {
          field = uid
          wrap = <div class="act_indice_elem" 
onmouseover="this.className='act_indice_elem_hover';" 
onmouseout="this.className='act_indice_elem';"><a 
href="La_Coleccion.138.0.html?&tx_ttnews[cat]= | ">
             if {
                 value.field = uid
                 equals.data = GPvar:tx_ttnews|cat
                 negate = 1
             }
           }

     30 = TEXT
     30.field = title
     30.wrap =  | </a></div>
      }

}
tt_content.html.wrap = <div class="act_indice">|</div>



More information about the TYPO3-english mailing list