O'Reilly logo

Mastering TypoScript: TYPO3 Website, Template, and Extension Development by Daniel Koch

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Manipulating SQL Statements

You use the CONTENT cObject in order to have TYPO3 output content from the database. You will have to enter a few additional statements so that this object knows which table to get the contents from. By default, the page content from the tt_content table is stored. Use the table property of the CONTENT object to access it. An example:

page.10.marks.RIGHT= CONTENT
page.10.marks.RIGHT {
table = tt_content
}

It is possible to loop through records with the CONTENT object. That way, all of the records that are defined within the current page are output. The only exceptions would be hidden pages or pages that don't allow access rights.

Arranging Content

Content can also be read out directly from the database by the use of

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required