/phmisk-blog

A simple blog/news section for a Phmisk site

Primary LanguagePHP

phmisk-blog

THIS PACKAGE IS OLD AND RELATED TO VERSION WITH RAINTPL TEMPLATE ENGINE: https://github.com/groucho75/phmisk/releases/tag/v0.5-alpha

I'LL UPDATE IT SOON!

A simple blog/ news section for a Phmisk site.

After adding this package to your Phmisk site you have:

  • an admin section (protected by a http auth) to make simple CRUDL operations: create/read/update/delete/list news;
  • a public news section, with list and single views (list using an infinite scroll jquery plugin);
  • a public rss feed with latest news.

Installation

  1. Of course, having an installed Phmisk site is a prerequisite to install this package: please follow the Phmisk installation instrucions.

  2. prepare the database table and populate it with sample data, using install.sql

  3. set the database connection configuration in app/config.php

  4. copy the files from app and ui of this repo into your phmisk site

  5. add the code from composer-addon.json of this repo into composer.json of your phmisk site (involves the require section)

  6. add the code from routes-addon.php of this repo into routes.php of your phmisk site

Usage

  • visit yoursite.com/news to view the public news archive

  • visit yoursite.com/feed to view the public feed with latest news

  • visit yoursite.com/admin/news to edit news (login as user editor, password secret123)