Recently added
Saturday May 11 2024
-
db utf error / The setup wizard / Installation / 6.x / Te... New
-
help / The setup wizard / Installation / 6.x / Technical ... New
-
site details / The setup wizard / Installation / 6.x / Te... New
-
Virtual host example Updated
Apache virtual hosts for an Exponential 6 installation with PHP-FPM. Replace example.com, /var/www/example.com (the installation root, where index.php is), the PHP-FPM socket and the certificate paths. The modules rewrit…
-
eZ JS Core rewrite rules Updated
This page is historical in part. In the eZ Publish era the ezjscore extension needed extra rewrite rules: one for its lib folder and one that sent ezjscore/call requests to index_ajax.php. Exponential 6 needs neither, an…
-
htaccess example Updated
Exponential 6 ships its Apache rewrite rules in two templates in the installation root: .htaccess_root for a normal site, and .htaccess_root_static , which also serves the pages of the static cache. Copy one of them to .…
-
Custom view parameters / Basic template tasks / Templates... Updated
Historical. Comments that readers left on the eZ Publish documentation of this topic, kept for reference. They describe earlier versions and are not maintained; the current page for Exponential 6 is Basic template tasks…
-
URL handling Updated
Never write the address of a page, an image or a stylesheet into a template as it is. An installation can run in a subfolder, with the siteaccess in the address, behind index.php, or on its own host, and a design file ca…
-
view_parameters inside node/view/line.tpl template / Basi... Updated
Historical. Comments that readers left on the eZ Publish documentation of this topic, kept for reference. They describe earlier versions and are not maintained; the current page for Exponential 6 is Basic template tasks…
-
Outputting node and object data Updated
A node template has the node in $node, and a fetch returns nodes too. This page shows how to print what a node and its object hold. Node and object A node is a place in the content tree; its object holds the content and…
-
Connection between page and its template / Template basic... Updated
Historical. Comments that readers left on the eZ Publish documentation of this topic, kept for reference. They describe earlier versions and are not maintained; the current page for Exponential 6 is Template basics (1140…
-
Gibberish and Gobbledegook / Template basics / Templates ... Updated
Historical. Comments that readers left on the eZ Publish documentation of this topic, kept for reference. They describe earlier versions and are not maintained; the current page for Exponential 6 is Template basics (1140…
-
Node templates Updated
A node template shows one content node. Exponential uses one whenever it displays a node: when a visitor opens the node's address (its URL alias, such as /company/about-us), when the system address /content/view/full/…
-
System templates Updated
A system template is the template of any view that does not show a content node: signing in, searching, the basket, the user's settings, the error pages and every page of the administration interface. Its path is usually…
-
how to specify content type of template? / Template basic... Updated
Historical. Comments that readers left on the eZ Publish documentation of this topic, kept for reference. They describe earlier versions and are not maintained; the current page for Exponential 6 is Template basics (1140…
-
The page head Updated
The standard design has a template, page_head.tpl, that prints the tags of the head element which depend on the page: the title, the meta tags and the link tags. A pagelayout includes it: <head> {include uri='design:page…
-
Variables in pagelayout Updated
Before it renders the pagelayout, Exponential sets these variables (kernel/private/classes/ezpkernelweb.php, Exponential 6.0.15): Variable Holds $module_result The result of the view: its HTML in .content, and the pa…
-
XHTML validation / The pagelayout / Templates / 6.x / Tec... Updated
Historical. Comments that readers left on the eZ Publish documentation of this topic, kept for reference. They describe earlier versions and are not maintained; the current page for Exponential 6 is The pagelayout .
-
Array and object inspection Updated
While you write a template you often need to know what a variable holds: which attributes a node has, which keys an array has, what an attribute's content is. Two operators print it: attribute and dump. Use them during d…
-
Comments Updated
A template comment starts with {* and ends with *}. The template system skips it, so it never reaches the page, unlike an HTML comment, which every visitor can read in the page source. {* A single line comment. *} {* A c…