[TYPO3-english] getting started

Alexander Dorn debao84 at googlemail.com
Sun Mar 2 19:23:12 CET 2014


Hello Peter,
does your Typoscript template look similar this?

page = PAGE
page.10 = TEXT
page.10.value = HELLO WORLD

Then you created a page object and filled and with a text object with the value "HELLO WORLD".

You have to change your root template to something like this.
# Default PAGE object:
page = PAGE
page.10 = TEMPLATE

# Tell TYPO3 to use a html file as template
page.10.template = FILE

# Where is the file located
page.10.template.file = fileadmin/templates/main.html 
page.10.relPathPrefix = fileadmin/templates/

In the template you have to define markers or subparts:

###MARKER_LEFT###

<!-- ###SUBPART_LEFT### ->
<!-- ###SUBPART_LEFT### ->

Then you map the column output to those markers or subparts

# map the content of the left column to the marker
page.10.markers.MARKER_LEFT < styles.content.getLeft 

OR if you use subparts
# map the output to the subpart
page.10.subparts.SUBPART_LEFT < styles.content.getLeft

You can define several markers or subparts or a combination of both and map the column output to them.

Here you can learn the basics of typoscript.
http://docs.typo3.org/typo3cms/TyposcriptIn45MinutesTutorial/

Alexander
Am 02.03.2014 um 18:59 schrieb tynaarlo info <peterpanjer at home.nl>:

> No that's not the problem.
> when i put content in the 4 columns
> it doesn't show on the page when i click on view in the left menu.
> 
> only the text  "HELLO WORLD" 
> 
> Peter
> 
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list