Am 07.10.2013 09:13, schrieb Stephan Grass:
Hi,

ich möchte Content-Elemente nicht anzeigen wenn sie ein bestimmten Wert
im Feld layout haben.
Ich gebe die momentan so aus:

lib.maincontent = COA
lib.maincontent {
   10 = RECORDS
   10 {
     source.current = 1
     tables = tt_content
     wrap = <!--TYPO3SEARCH_begin--> | <!--TYPO3SEARCH_end-->
   }
}

Nun möchte ich da irgendwie eine if-Abfrage über das Feld layout rein
bekommen. Habe schon einiges an Try and Error gemacht, aber es fehlt mir
der Zugang.
Hat einer ne Idee?

Stephan


Conditions sind Dein Freund

http://docs.typo3.org/typo3cms/TyposcriptReference/Conditions/Reference/Index.html

Also sowas in der Art:

lib.maincontent = COA
 lib.maincontent {
    10 = RECORDS
    10 {
      source.current = 1
      tables = tt_content
      wrap = <!--TYPO3SEARCH_begin--> | <!--TYPO3SEARCH_end-->
    }
 }

[page|layout = 1]

lib.maincontent >

[global]


Nun wird lib.maincontent bei Layout 1 nicht mehr ausgegeben.

Grüße

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

Antwort per Email an