Hallo Hauke,

Hauke Haller wrote:

> per CONTENT fasse ich die Inhalte von Unterseiten auf einer Oberseite
> zusammen: (wie im Kochbuch vorgeschlagen)
> 
> temp.unterseiten = CONTENT
> temp.unterseiten {
>    table = pages
>    select {
>      pidInList.field = uid
>      orderBy = sorting
>    }
>    renderObj = CONTENT
>    renderObj {
>      table = tt_content
>      select {
>        pidInList.field = uid
>        orderBy = sorting
>      }
>    }
> }
> 
> Nun werden die Inhalte aus gridelemnts doppelt dargestellt: Einmal als
> normale tt_content Elemente und dann nochmal innerhalb des
> contentelements gridelements.

du solltest schon festlegen, aus welcher Spalte dein Content kommen soll, 
also z.B.

temp.unterseiten = CONTENT
temp.unterseiten {
  table = pages
  select {
    pidInList.field = uid
    orderBy = sorting
  }
  renderObj = CONTENT
  renderObj {
    table = tt_content
    select {
      pidInList.field = uid
      orderBy = sorting
      where = colPos=0
    }
  }
}

https://docs.typo3.org/typo3cms/TyposcriptReference/Functions/Select/

hth
Gregor
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an