Skip to content

yanickrochon/ThoriumCms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ThoriumCms

Version 0.0.1 created by Yanick Rochon

Introduction

ThoriumCMS is a module to manage static or dynamic pages.

Requirements

Features / Goals

  • offer a very lightweight, pluggable, CMS module that can be easily extended and customized

Installation

Main Setup

  1. Install the ZfcBase and the ZfcUser ZF2 modules by cloning them into ./vendor/ and enabling them in your application.config.php file.
  2. Clone this project into your ./vendor/ directory and enable it in your application.config.php file.
  3. Import the SQL schema located in ./vendor/ThoriumCms/data/schema.sql.

Post-Install: Zend\Db

  1. If you do not already have a valid Zend\Db\Adapter\Adapter in your service manager configuration, put the following in ./config/autoload/database.local.php:

     <?php
    
     $dbParams = array(
         'database'  => 'changeme',
         'username'  => 'changeme',
         'password'  => 'changeme',
         'hostname'  => 'changeme',
     );
    
     return array(
         'service_manager' => array(
             'factories' => array(
                 'Zend\Db\Adapter\Adapter' => function ($sm) use ($dbParams) {
                     return new Zend\Db\Adapter\Adapter(array(
                         'driver'    => 'pdo',
                         'dsn'       => 'mysql:dbname='.$dbParams['database'].';host='.$dbParams['hostname'],
                         'database'  => $dbParams['database'],
                         'username'  => $dbParams['username'],
                         'password'  => $dbParams['password'],
                         'hostname'  => $dbParams['hostname'],
                     ));
                 },
             ),
         ),
     );
    

About

Yet another ZF2 Cms module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages