Path

ez.no / ezpublish / documentation / the template language / template code


Template code

These documentation pages are no longer maintained. Please visit the new documentation site.

A template is nothing more than a normal (X)HTML file that also contains eZ publish specific code. All eZ publish specific code is placed inside a set of curly brackets, "{" and "}". The following example demonstrates the use of template code (put inside a simplified HTML file):

<html>

   <body>

       Hello world!

       {'This is eZ publish template code.'}

   </body>

</html>

The example code above produces the following output:

Hello world!
This is eZ publish code.

Comments

where should i put

i am a beginner in eZpublish frame work.where should i put these code to access though my local settings.I tried to put under design/template folder of eZpublish ,but i don't know how can i access that.

Contents

The template language

Template code
Curly bracket issues
Comments
Variable types


Created

27/02/2004
3:18:15 pm
by Balazs Halasy

Last updated

27/02/2004
3:18:15 pm
by Balazs Halasy

Authors

Balazs Halasy



This page is part of the eZ Publish documentation. The documentation is available under the GNU Free Documentation License. All contributions will be released under the terms of this license.