-
Book Overview & Buying
-
Table Of Contents
eZ Publish 4: Enterprise Web Sites Step-by-Step
Separating presentation from business logic
—Model View Controller Pattern
In this chapter, we'll see how it's possible to customize our custom class views through the override system and the template engine.
In the previous chapter, we saw that eZ Publish offers an out of the box template standard set. With this set of templates, it's possible to render all of the system module views correctly.
There are two template types. The first is the content template, which is used from every system module. For example, the view to see the items list of feed module. The second is the "node system template", which is used by the content module to see the object content published on the tree. This template is very important because the "content" module is the main module of the system. This module manages all of the actions on the object, such as publishing, moving, coping, deleting, and so on. It also manages the override system, through...
Change the font size
Change margin width
Change background colour