Klappt!
Tausend Dank an Susanne und Philipp.
Ich wünsche euch ein schönes Wochenende.
Gruß, Marco.

Am 25.01.2013 18:17, schrieb SW:
Versuch mal folgendes:

10 = COA
10 {
    10 = CONTENT
    10 {
        table = tt_content
        select {
            pidInList = this
            orderBy = sorting
            where = colPos = 0
            languageFild = sys_language_uid
        }
    }
}
10.stdWrap.wrap = <div class="Layout1 Spalte0">|</div>
10.stdWrap.required = 1

Gruß
Susanne


Am 25.01.2013 17:59, schrieb Marco Brüggemann:
Hallo Leute,

ich möchte einen Bereich der Seite nur ausgeben, wenn in dieser auch Inhalte geschrieben wurden: also wenn in "Rand" ein Inhalt steht, dann soll im HTML die Inhaltsbox für "Rand-Elemente" gerendert werden.

Ich möchte dieses mit einer if-Abfrage der "colPos" in "tt_content" machen, da ich selbstdeginierte Inhaltsbereiche hinzugefügt haben.

leider klappt aber meine if-Abfrage nicht - er gibt auch die leeren felder aus:

/10 = CONTENT
    10 {
        if.field.value = 0
        table = tt_content
        select {
            pidInList = this
            orderBy = sorting
            where = colPos = 0
            languageFild = sys_language_uid
        }
        wrap = <div class="Layout1 Spalte0">|</div>
    }/

Selbe auch bei:

/10 = CONTENT
    10 {
        if.field = colPos
        value = 0
        table = tt_content
        select {
            pidInList = this
            orderBy = sorting
            where = colPos = 0
            languageFild = sys_language_uid
        }
        wrap = <div class="Layout1 Spalte0">|</div>
    }/

Könnt Ihr mir bitte zeigen, wie man die if-Abfrage richtig aufbaut?

Vielen Dank,
Marco.
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german


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



--

*Marco Brüggemann - schauart designservice*

Radewiesenweg 9
12355 Berlin

fon & fax: 030 66 46 30 80
email: ma...@schauart.de
web: www.schauart.de

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

Reply via email to