phmisk-blog
https://github.com/groucho75/phmisk/releases/tag/v0.5-alpha
THIS PACKAGE IS OLD AND RELATED TO VERSION WITH RAINTPL TEMPLATE ENGINE: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
-
Of course, having an installed Phmisk site is a prerequisite to install this package: please follow the Phmisk installation instrucions.
-
prepare the database table and populate it with sample data, using
install.sql
-
set the database connection configuration in
app/config.php
-
copy the files from
app
andui
of this repo into your phmisk site -
add the code from
composer-addon.json
of this repo intocomposer.json
of your phmisk site (involves the require section) -
add the code from
routes-addon.php
of this repo intoroutes.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 usereditor
, passwordsecret123
)