Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Federico Cargnelutti' Blog:
Adding theme support to your Zend Framework application
Sep 21, 2009 @ 18:30:45

On his blog today Federico Cargnelutti has posted an easy way you can add theme support (self-contained site templates) to your Zend Framework application.

This is a brief explanation on how to add theme support to your Zend Framework application and how to ensure those themes are self-contained, easy to distribute and install. Themes are very powerful and extremely easy to develop. They allow you to quickly switch between layouts and change the look and feel of your application. You can use themes to show, for example, a mobile friendly version of your site.

It's a three step process to get them up and running - modify your site's directory structure, update the Bootstrap class to append in the new "templates" directory and copy over all of your view scripts to the new directory.

tagged: tutorial zendframework theme support

Link:


Trending Topics: