Attention

TYPO3 v6 has reached its end-of-life April 18th, 2017 and is not maintained by the community anymore. Looking for a stable version? Use the version switch on the top left.

There is no further ELTS support. It is strongly recommended updating your project.

Objects rendering content

  • IMAGE for the rendering of an image.

    lib.logo = IMAGE
    lib.logo {
      file = fileadmin/logo.gif
      file.width = 200
      stdWrap.typolink.parameter = 1
    }
    
  • lib.logo holds the logo with a width of 200 pixel and is linked with the page with PID 1.

  • TEXT is for the rendering of standard text or the content of fields. The TEXT object also offers stdWrap functionality with the property "stdWrap"

    lib.test1 = TEXT
    lib.test1.stdWrap.field = uid
    
  • FILE imports the content of a file, directly.

  • TEMPLATE replaces markers in a template with content coming from TYPO3.

    page.10 = TEMPLATE
    page.10 {
      template = FILE
      template.file = fileadmin/test.tmpl
      subparts {
        HELLO = TEXT
        HELLO.value = This line here replaces the content in between the markers ###HELLO### and ###HELLO### in the HTML template.
      }
      marks {
        Test = TEXT
        Test.value = The marker ###TEST### will be replaced with this text.
      }
      workOnSubpart = DOCUMENT
    }
    
  • MULTIMEDIA renders multimedia objects.

  • IMGTEXT allows us to generate images inline with text. It is used for the content element "text & images".

  • FORM generates an HTML-form.