Zend Framework 2: layouts per module and action

The talented Evan Coury created a module that allows you to specify alternative layouts to use for each module.
I forked Evan's module and extended it to allow layouts per action as well as per module. This way if one of your controller actions needs a different layout for example a large table, you can set a different layout template for it.

Get the module at my Github:



Holiday Deals

Holiday Deals is another example of a site that I built using a single code base that can be used for an unlimited number of sites. Each site can have their own design with their own css and javascript files.
For the front-end I'm using the Savant OOP template system. For the back-end I'm using the Zend Framework where each client has their own login to the admin area to edit their own site content.
On the server I modified the Virtual Host file for each site that was needed and added an alias that would enable the code base to work for multiple sites.



This is a site built with Drupal with custom modules, templates and javascript for the clients specific needs. needed a small video player on the home page that can be switched out with different playlists using Ajax. I built a custom module for this using Views, Blocks, Jquery, PHP and custom settings for Taxonomy.

I also contributed code for the pagination functions for the Gallery Assist module used throughout all the Drupal sites I built.


Image: is a site that I coded to get most of it's content from outside sources using custom modules I built for that purpose. A cron job is run at specific times to grab content. Using PHP and XML to scrape content and then parses it out. I also built an admin for this module in Drupal to enable the admin to set the cache time for each piece of content.



This site was built to manage the contributions for a governor in Wisconsin. I also built the front-end site to accept donations that accepts PayPal and credit card payments.

Subscribe to RSS - php

Recent Posts

The talented Evan Coury created a module that allows you to specify alte

Here is a little bash script I wrote to do a daily backup of my database

This is my first attempt at using ZF2's new module system to use Zend's

Need Help?

Recent comments

Socialize with me


What am I doing now!

Google+ EricPaige on google+
Go to top