ez.no / ezpublish / documentation / incoming / design / designs and siteaccesses
These documentation pages are no longer maintained. Please visit the new documentation site.
A siteaccess may make use of several designs. This means that the result of a page rendered by eZ publish may be a combination of files from various designs. Each and every siteaccess can have:
At the bare minimum, a siteaccess should always have at least a main design and a standard design.
Automatic fallback
If eZ publish is unable to find a design specific file (be it a template, an image, etc.) within the directory of the main design that was specified for the siteaccess, it will automatically attempt locate the file within the additional designs. The system will sequentially go through all the additional designs, looking for the requested file. At last, if the requested file still hasn't been found, eZ publish will attempt to locate it within the directory of the standard design. The following diagram illustrates this functionality.
The automatic fallback mechanism described above opens up for a lot of possibilities and flexibility. For example, it makes the reuse and combination of designs an easy matter.
Comments
The reason for this?
Jonathan Dillon-Hayes
Saturday 23 October 2004 3:43:33 pm