Skip to content
This repository

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
Octocat-spinner-32 config Added Readme
Octocat-spinner-32 data Fixed Tests
Octocat-spinner-32 src Sample upload
Octocat-spinner-32 test Fixed Tests
Octocat-spinner-32 view Sample upload
Octocat-spinner-32 Module.php Sample upload
Octocat-spinner-32 README.md Update README.md
Octocat-spinner-32 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.