eikood
eikood

Reputation: 13

TYPO3 use several content elements

new to TYPO3. Trying to learn.

Let's say i have about 10 content elements on my page. I will add them to the "page" list in the backend UI.

How do i actually use them via Typoscript when using fluid?

I have one content element named "logoTitle" and one content element named "content". Both in the "normal" column.

How can i access them via Typoscript?

I tried something like that:

content < styles.content.get #only get the "content" one from the normal column
logoTitle < styles.content.get #only get the "logoTitle" one from the normal column

Thanks!

Upvotes: 0

Views: 285

Answers (1)

biesior
biesior

Reputation: 55798

In very general there are 4 default columns in TYPO3: normal, left, right, border, so you can put your elements into separate columns (let's say content into normal and logoTitle into border, then your TS should look like:

content < styles.content.get
logoTitle < styles.content.getBorder

Edit:

For more columns/mapped elements you have at least 4 possibilities:

  1. EXT: gridelements
  2. EXT: TemplaVoila
  3. adding new columns into your page: http://typo3.org/documentation/snippets/sd/35/
  4. Finally as Jost pointed in his comment in TYPO3 ver. 6+ you can use Backend Layouts for adding more columns, which are considered as a raw replacement of the old way pointed in previous point.

Personally I prefer them in this order, as first two options allows to keep the BE clean, anyway 3rd is most traditional - for rendering new columns into check colPos keyword in the docs.

Upvotes: 1

Related Questions