[TYPO3-german] Unterseite als Liste ausgeben

JoH asenau info at cybercraft.de
Sat Dec 12 11:05:38 CET 2009


> Jein - denn ohne TV wäre es vermutlich ein Klacks, sowas zu bauen.

BTW:
Ohne TV ist es wirklich ein Klacks - hier der Code dazu aus dem passenden
TYPO3 Kochbuch Rezept:

temp.unterseiten = CONTENT
temp.unterseiten {
   table = pages
   select {
      pidInList.field = uid
      orderBy = sorting
   }
   renderObj = COA
   renderObj {
      10 = TEXT
      10.field = title
      10.wrap = <h2>|</h2>
      20 = CONTENT
      20 {
         table = tt_content
         select {
            pidInList.field = uid
            colPos = 0
            orderBy = sorting
          }
      }
   }
}


temp.kumulierterInhalt = COA
temp.kumulierterInhalt {
   10 = TEXT
   10.field = title
   10.wrap = <h1>|</h1>
   20 = CONTENT
   20 {
      table = tt_content
      select {
         colPos = 0
         orderBy = sorting
      }
   }
   30 < temp.unterseiten
   30.renderObj {
      30 < temp.unterseiten
      30.renderObj {
         10.wrap = <h3>|<h3>
         30 < temp.unterseiten
         30.renderObj {
            10.wrap = <h4>|<h4>
         }
      }
   }
}

HTH

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com




More information about the TYPO3-german mailing list