2017 © Pedro Peláez
 

library sxblog

Blog Module for ZF2

image

spoonx/sxblog

Blog Module for ZF2

  • Tuesday, October 20, 2015
  • by RWOverdijk
  • Repository
  • 2 Watchers
  • 17 Stars
  • 184 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 9 Forks
  • 7 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

SxBlog

This is a very simple blog module. It should suffice for those with simple wishes., (*1)

Installation

  1. add the requirement to your composer.json file by either..., (*2)

    ... Adding it through the command line,, (*3)

    ./composer.phar require spoonx/sxblog
    When asked for a version, type: "dev-master"
    

    or, adding it manually to your composer.json file and then running ./composer.phar install to install the dependencies, (*4)

    {
        "require": {
            "spoonx/sxblog": "dev-master"
        }
    }
    
  2. Enable the newly added modules in config/application.config.php, (*5)

    <?php
    return array(
        'modules' => array(
    
            /* ... */
            'ZfcUser',
            'ZfcUserDoctrineORM',
            'DoctrineModule',
            'DoctrineORMModule',
            'SxBlog',
            /* ... */
    
        ),
    );
    
  3. Copy the config files to your autoload dir, (*6)

    cp vendor/spoonx/sxblog/config/database.local.php.dist config/autoload/database.local.php cp vendor/spoonx/sxblog/config/sxblog.global.php.dist config/autoload/sxblog.global.php, (*7)

    Next up, open the files and change the params to fit your needs., (*8)

  4. Update the database, (*9)

    ./vendor/bin/doctrine-module orm:schema-tool:update --force, (*10)

  5. Make sure cache dir is writable, (*11)

    If you're running into problems, try making the cache dir writable by executing chown -R :www-data data; sudo chmod -R 775 data (www-data being your apache user.), (*12)

Questions / support

If you're having trouble with the module there are a couple of resources that might be of help. * RWOverdijk at irc.freenode.net #zftalk.dev * Issue tracker. (Please try to not submit unrelated issues). * By mail, (*13)

The Versions

20/10 2015
06/03 2013