ez publish / technical manual / 4.x / templates

Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.


This part of the 4.x documentation is for eZ Publish 4.0, only reference section is common for all eZ Publish 4.x versions as well as eZ Publish 5.x "LegacyStack", please select the version you are using for the most up to date documentation!

The purpose of this chapter is to reveal and teach everything there is to know about the template system. It describes both the template language and the way the system handles the template files. People previously unfamiliar with eZ Publish templates should be able to collect enough information in order to understand the following issues:

  • What a template is and what it is not
  • Template types (page layout, node and system templates)
  • Template structure
  • The template language
  • The main template (the page layout)
  • Template variables available in the page layout
  • How basic template tasks can be done
  • How information can be retrieved from the Content Management System
  • The template override system

Balazs Halasy (11/01/2005 8:19 am)

André R. (02/10/2012 8:50 am)

Balazs Halasy, Geir Arne Waaler, André R.


  • Text and hit counters

    Is there a list of text commands available like <emphasize> can I make text different coulours, flash or scroll?

    Also I want to insert a hit counter yrl but cannot seem to get that right!

    • Re: Text and hit counters

      HTML is not a part of the template language. See HTML W3C references.
  • Javascript

    I was wondering if there was an easy way to input javascript code into a form template (for tracking stats)