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

Activating an extension


Once we have created our extension, including the folders and the files necessary to make it work, we should activate it. Obviously, our extension is currently empty and so it does not add anything to the standard eZ Publish design. But in the next few chapters, we will complete that development with all the necessary code.

There are two ways to enable an extension. The first is to manually edit the configuration files of eZ Publish, and the second is to access the backend and enable it through a visual interface.

The first way is convenient if you want to activate the extension only for certain siteaccesses, and not in a global manner. But with the second way, you can activate the extension only for the whole installation. This means that we'll activate the extension for all of our siteaccesses.

Manual activation

To manually activate the extension for all siteaccesses, we need to change the global file site.ini.append.php, by executing the following commands from the...