Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Vorhandene Seiteninhalte ausgeben > Das CONTENT-Objekt im Detail

Das CONTENT-Objekt im Detail

Bisher haben wir zum Auslesen von Inhalten das vorkonfigurierte Objekt styles.content.get verwendet. Dabei handelt es sich um eine Instanz des CONTENT-Objekts, das in diesem Abschnitt näher erläutert werden soll.

Einlesen von Datensätzen

Statt der Anweisung INHALT < styles.content.get in Zeile 180 (siehe Listing 8.1) könnten wir auch folgenden TypoScript-Code verwenden:

  1  page = PAGE
  2  page {
       [...]
 19    10 = TEMPLATE
 20    10 {
         [...]
 25      marks {
           [...]
178
179          # Den Inhalt der Hauptspalte ausgeben
180        INHALT = CONTENT
181        INHALT {
182          table = tt_content
183          select.orderBy = sorting
184          select.where = colPos=0
185          select.languageField = sys_language_uid
186        }
187
188      }
189    }
190  }
[...]

  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial