Book Image

eZ Publish 4: Enterprise Web Sites Step-by-Step

Book Image

eZ Publish 4: Enterprise Web Sites Step-by-Step

Overview of this book

eZ Publish provides developers with a structure to build highly impressive applications and then quickly deploy them into a live environment. eZ Publish is complex, with a steep learning curve, but with the right direction it offers great flexibility and power. What makes eZ Publish special is not the long list of features, but what's going on behind the scenes. Created specifically for newcomers to eZ Publish, and using an example Magazine web site, this book focuses on designing, building and deploying eZ Publish to create an enterprise site quickly and easily. This tutorial takes eZ Publish's steep learning curve head-on, and walks you through the process of designing and building content-rich web sites. It makes the unrivalled power and flexibility of eZ Publish accessible to all developers. The book is organized around technical topics, which are handled in depth, with a general progression that follows the learning experience of the reader, and features a single magazine web site project from installation to completion and deployment. This hands-on guide helps the reader to understand the Content Management System to create a web 2.0-ready web site by creating new extensions or overriding the existing ones. In turn, it helps you to become confident when working in the eZ Publish administration area and offers an environment in which you can practice while working through the chapters.
Table of Contents (20 chapters)
eZ Publish 4: Enterprise Web Sites Step-by-Step
Credits
About the Authors
About the Reviewer
Preface
Advance Debugging

Creating the magazine's blog


As for the forum, we need some service for our site to give it a Web 2.0 dimension. The real killer application is the blog. Here, the editors should be able to freely write about their views and company news, and provide a human face to a company-related site.

Installing a blog application is very easy, and the eZ Webin package comes in handy again for doing this. This package gives us features such as the tagging and comment systems, and the post calendar widget.

Adding the blog

The blog engine relies on two content classes: blog and blog post. The first one acts as a container for the post, whereas the second is used to write new posts.

To add a blog to our site, we have to go to the backend and add a blog object as a child of the home page.

Next, we have to specify the name of the blog—in our case Editor's nest—and then provide a description of the blog:

After we add this class, the blog will appear on the relative path in the public siteaccess with the default...