Zum Inhalt springen

Content wird doppelt ausgegeben

Erstellt am 20. Mai 2014 · Noch keine Antworten

Tags: TYPO3 6.x, Frage

naggison ·

Hallo,

ich habe gerade ein Problem! Ich habe folgendes Script und moechte, dass der Inhalt aller Seiten auf einer Seite angezeigt wird. Ich nutze Gridelements für das Layout.

Mein Problem ist, dass mir nun der Content doppelt auf der Seite angezeigt wird. Einmal der mittels TypoScript gewrappte Content in richtigen Spalten und dann plain der Content.

lib.sectionContent = HMENU
lib.sectionContent {
  1 = TMENU
  1 {
    NO = 1
    NO {
      doNotLinkIt = 1
      stdWrap >
      stdWrap {
        cObject = COA
        cObject {
          if.value = 4
          if.equals.field = doktype
          if.negate = 1
          10 < temp.titleSectionId
          10.wrap = <section id="|">

          20 = CONTENT
          20 {
            table = tt_content
            select {
              pidInList.field = uid
            }
            wrap = <div class="container">|</div>
            renderObj < tt_content
          }

          30 = TEXT
          30 {
            wrap = </section>
          }
        }
      }
    }
  }
}

Vielleicht kann mir jemand sagen, wie ich das anders loesen kann! Es scheint ja an der folgenden Geschichte zu liegen:

table = tt_content
            select {
              pidInList.field = uid
            }

Besten Dank und Gruß

// EDIT:
Hab mir hiermit geholfen

20 {
     table = tt_content
     select {
        pidInList.field = uid
        andWhere.dataWrap = tx_gridelements_container=0
        orderBy = sorting
     }

Schnappschuss_052014_012923_PM.jpg