In the previous chapter, we learned how to place our code in a custom extension. In this chapter, we will learn how to manage our design in the same way. We will see what an eZ Publish template is and how to apply a template to a single content node or subtree. We will also take a look at template overrides and create a proper design extension starting from the eZ Webin package.
In the first part of this chapter, we will introduce the basics of the eZ Publish templating system, which will help us to better understand the rest of this chapter and the next.
eZ Publish has its own templating system based on the decoupling of layout and content. This will help us to assign a custom layout to any content object in different sections.
Moreover, just as other templating platforms, such as Smarty (http://www.smarty.net), eZ Publish has its own markup to help developers with control structure operations, subtemplating, and on-the-fly content...