[TYPO3-german] Inhalte aller Unterseiten auf einer Seite ausgeben ...mit Wrap für alle Elemente einer Seite

Jost Baron Jost.Baron at gmx.de
Tue Jul 23 19:08:20 CEST 2013


Hi Martin,

On 07/23/2013 06:00 PM, Martin Wagner wrote:
> Quote: Jost Baron wrote on Tue, 23 July 2013 17:40
> ----------------------------------------------------
>>
>> lib.allContent.renderObj.stdWrap.wrap = <section>|</section>
>>
> ----------------------------------------------------
>
> Hi Jost,
>
> danke für die rasche Antwort.
> Leider ist das Ergebnis gleich, es wird jedes Inhaltselement gewrappt.

Ok, da habe ich dich wohl missverstanden. Ich dachte genau das soll
erreicht werden. Unten ein Vorschlag, um die Inhalte jeder Seite in
einem <section>-Element zusammenzufassen. Das funktioniert bei mir, ist
aber nicht nach PIDs sortiert, sondern nach der Reihenfolge im Seitenbaum.

lib.content = HMENU
lib.content {

    special = directory
    special.value = 1
    1 = TMENU
    1 {
        expAll = 1
        NO = 1
        NO {

            doNotLinkIt = 1

            stdWrap.cObject = CONTENT
            stdWrap.cObject {
                table = tt_content
                select {
                    pidInList.field = uid
                    where = colPos = 0
                }
            }

            stdWrap2.wrap = <section class="pid{field:uid}">|</section>
            stdWrap2.insertData = 1
        }
    }
    2 < .1
}

Gruß Jost


More information about the TYPO3-german mailing list