Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A Sample Album module for Zend Framework 2
branch: master
Failed to load latest commit information.
config Added Readme
data Fixed Tests
src/Album Sample upload
test Fixed Tests
view/album/album Sample upload
Module.php Sample upload
README.md Update README.md
autoload_classmap.php Sample upload

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.