Layout

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

The layout module has only one view, "set". This view can be used to force the system to make use of a different pagelayout template than the default one (pagelayout.tpl). It simply takes care of setting the variable that eZ publish uses when picking out the pagelayout template file.

When finished, the module that was specified (after the layout part in the URL) will be executed. In other words, the layout module offers a prefix/prerun-mechanism that can be used to specify which pagelayout eZ publish should use when rendering a specific page. For example, it can be used to set the printer-friendly layout:

http://www.example.com/layout/set/print/content/view/full/45

Note that the URL actually contains two modules and their views. The first module/view combination will make sure that the print pagelayout is used, the second module/view combination instructs eZ publish to display a full view of node number 45. The result will be the following: eZ publish will render the full view of node number 45, but instead of using pagelayout.tpl as the main template, it will use the pagelayout that is associated with "print" in the layout system's configuration file.

The different layouts and their corresponding pagelayout templates can be configured/specified by editing the "layout.ini" (or an override) file.

The following table contains a list of the views that are available in the layout module. Click on the name of a view for more information about that specific view (usage, parameters, description, examples, etc.).

Operator Description

Comments

Contents

Reference

Database diagram
Template operators
Template functions
Data fetching
Modules
    Class
    Collaboration
    Content
    Error
    eZ info
    Form
    Layout
    Notification
    Package
    PDF
    Reference
    Role
    RSS
    Search
    Section
    Setup
    Shop
    Trigger
    URL
    User
    Workflow
XML tags


Created

27/02/2004
2:13:35 pm
by Balazs Halasy

Last updated

27/02/2004
2:18:36 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.