Skip to the content
Documentation

Recent changes

Recent ratings Recently added Recent comments Atom feed

35934 changed pages

Monday October 04 2010

  1. Policy functions Updated

    · Technical manual 4.3 · Changed 08:40 am · Last updated by Geir Arne Waaler on 10/04/2010

    The built-in access control mechanism of Exponential is based on roles and policies. A policy is a rule that grants access to a specific function or all functions of a module . The functions are assigned to the module's…

  2. The template override system (11403666) Updated

    · Technical manual 4.3 · Changed 07:57 am · Last updated by Geir Arne Waaler on 10/04/2010

    The template override system makes it possible to use other templates than the default ones (specified in the code for the different views and templates). This mechanism allows the creation of template overrides for virt…

  3. Template override example Updated

    · Technical manual 4.3 · Changed 07:54 am · Last updated by Geir Arne Waaler on 10/04/2010

    The following example demonstrates how the template override system can be used to display alternate templates in different situations. Let's say that we have a simple content tree made up of two folders: "News" and "Pro…

  4. Information extraction Updated

    · Technical manual 4.3 · Changed 07:53 am · Last updated by Geir Arne Waaler on 10/04/2010

    Information that is stored by Exponential can be extracted using the "fetch" template operator. This operator gives access to the fetch functions that a module provides. It is typically used to extract nodes, objects, et…

  5. Outputting node and object data New

    · Technical manual 4.3 · Changed 07:51 am · Last updated by Geir Arne Waaler on 10/04/2010

    Once an "ezcontentobjecttreenode" object representing a node is available in a template variable, it can be used to output information about the node and the contents of the object that the node encapsulates. The followi…

  6. URL handling Updated

    · Technical manual 4.3 · Changed 07:35 am · Last updated by Geir Arne Waaler on 10/04/2010

    Whenever a link, a non-content specific image, a stylesheet, etc. is to be included, a suitable template operator must be used in order to ensure that the path to the included file is correct. At any time, one of the fol…

  7. Basic template tasks Updated

    · Technical manual 4.3 · Changed 07:22 am · Last updated by Geir Arne Waaler on 10/04/2010

    This section sheds light on some common issues related to template development. Template inclusion A template file can be included using the "include" function. Since this function makes it possible to include any file f…

  8. The template language Updated

    · Technical manual 4.3 · Changed 07:16 am · Last updated by Geir Arne Waaler on 10/04/2010

    The Exponential template language makes it possible to extract information from the system and to solve common programmatic issues like for example conditional branching, looping, etc. All Exponential specific code must…

  9. Functions and operators New

    · Technical manual 4.3 · Changed 07:15 am · Last updated by Geir Arne Waaler on 10/04/2010

    The eZ publish template language offers a collection of various functions and operators that can be used to carry out different tasks. In addition, it is possible to extend the system by creating custom operators for spe…

  10. Control structures Updated

    · Technical manual 4.3 · Changed 07:11 am · Last updated by Geir Arne Waaler on 10/04/2010

    The Exponential template language offers a selection of mechanisms that can be used to solve common programmatic issues like for example condition control, looping, etc. The following list shows an overview of the availa…

  11. Array and object inspection New

    · Technical manual 4.3 · Changed 07:09 am · Last updated by Geir Arne Waaler on 10/04/2010

    By using the "attribute" template operator, it is possible to quickly inspect the contents of arrays and template objects. The operator creates an overview of available keys, attribute names and/or methods in an object o…

  12. Variable types Updated

    · Technical manual 4.3 · Changed 06:52 am · Last updated by Geir Arne Waaler on 10/04/2010

    The Exponential template language supports the following variable types: Numbers Strings Booleans Arrays Objects While some variable types can be created on the fly, others need to be created using an operator. Types tha…

  13. Comments Updated

    · Technical manual 4.3 · Changed 06:49 am · Last updated by Geir Arne Waaler on 10/04/2010

    Just like in almost any programming language, comments can be used to add explanations, descriptions, etc. Template comments are ignored by the parser and will not be displayed in the resulting HTML output. There is only…

  14. The pagelayout Updated

    · Technical manual 4.3 · Changed 06:47 am · Last updated by Geir Arne Waaler on 10/04/2010

    The page layout is the main template. Among other things, it dictates the overall look of a site. The file name of the page layout template must be "pagelayout.tpl". It has to be placed inside the "templates" directory o…

  15. The page head New

    · Technical manual 4.3 · Changed 06:38 am · Last updated by Geir Arne Waaler on 10/04/2010

    The standard design contains a page head template that can be used to automatically generate important tags that should be included in the head section of every HTML response. The output of the standard head template (/d…

  16. Variables in pagelayout New

    · Technical manual 4.3 · Changed 06:36 am · Last updated by Geir Arne Waaler on 10/04/2010

    The pagelayout template contains miscellaneous variables that can be used to display information about the state of the system and/or to control the output. The following table shows the available variables along with a…

  17. Template basics (11403666) Updated

    · Technical manual 4.3 · Changed 06:31 am · Last updated by Geir Arne Waaler on 10/04/2010

    This section explains the concepts behind templates and the template system. Exponential uses templates as the fundamental unit of site design. A template is basically a custom HTML file that describes how some particula…

  18. Node templates New

    · Technical manual 4.3 · Changed 06:28 am · Last updated by Geir Arne Waaler on 10/04/2010

    Whenever Exponential is requested to output information about a node (either by a system URL or a virtual URL), it executes the "view" view of the "content" module. If a system URL is used, both the desired view mode and…

  19. System templates New

    · Technical manual 4.3 · Changed 06:25 am · Last updated by Geir Arne Waaler on 10/04/2010

    Whenever Exponential is requested to do something else than displaying a node (in other words the URL does not contain "/content/view" or isn't the virtual URL of a node), it will use a system template. There are two mai…

Sunday October 03 2010

  1. Access control Updated

    · Technical manual 4.3 · Changed 02:37 pm · Last updated by Geir Arne Waaler on 10/03/2010

    This section explains how Exponential manages user accounts and access permissions. The system comes with a built-in access control mechanism that can be used to limit access to content or to certain functions. The acces…