Skip to the content
Documentation

Section?

No ratings yet

Where's the {section} command?
http://ez.no/ez_publish/documenta...plate_functions/program_flow/section
This is one of the most-used template control structures. Why isn't it here?

Comments (2 historical)

Written by readers of the earlier documentation sites, kept as they were.

  1. Re: Section?

    Balazs Halasy ·

    Hi,
    The {section...}-style syntax has been deprecated. It belongs to the old template syntax, which will not be documented here. The new control structures (outlined above) replace the old ones. If you're looking for the documentation of {section...}; please refer to the old documentation.
    Allman

  2. Re: Section?

    Massimiliano Bariola ·

    Hi,
    because in 3.6 they decided to do away with old template syntax in favor of a newer one which is more unified with common programming languages.
    3.6 is back-compatible though, so you'll be able to use the syntax you're used to, and run your old code under it (shipped templates with 3.6 ARE using the old syntax, yet). but for new development tasks, I think you'll be better offusing the newer syntax.