Skip to content
A Sample Album module for Zend Framework 2
Latest commit 5d206d2 Oct 28, 2012 @Hounddog Update README.md
Failed to load latest commit information.
config Added Readme Oct 28, 2012
data Fixed Tests Oct 28, 2012
src/Album Sample upload Oct 28, 2012
test Fixed Tests Oct 28, 2012
view/album/album Sample upload Oct 28, 2012
Module.php Sample upload Oct 28, 2012
README.md Update README.md Oct 28, 2012
autoload_classmap.php Sample upload Oct 28, 2012

README.md

Sample Album Modulefor Zend Framework 2

Introduction

Album is a sample Module based on the (Getting Started) guide framework.zend.com .

Installation

Main Setup

  1. Clone this project into your ./module/ directory and enable it in your application.config.php file.
return array(
    'modules' => array(
        'Application',
        'Album',//add this to your configuration
    ),
    'module_listener_options' => array(
        'config_glob_paths'    => array(
            'config/autoload/{,*.}{global,local}.php',
        ),
        'module_paths' => array(
            './module',
            './vendor',
        ),
    ),
);

Copy the These files

  • module/Album/config/database.local.php.dist to config/autload/database.local.php
  • module/Album/config/global.php.dist to config/autload/global.php

Database Setup

Import module/Album/data/album.sql into your database

Usage

Browser to the album page

your-domain-name/album

Something went wrong with that request. Please try again.