Skip to content

A CakePHP Plugin for a blogging engine with posts, categories and tags

Notifications You must be signed in to change notification settings

whurdwfd/CakePHP-Blog-Plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CakePHP Blog Plugin

A CakePHP blog plugin for CakePHP2.0+

Features

  • Blog posts ** Paginated across all filter types (see below) ** Sticky flag ** In/out RSS feed flag
  • Filter by ** Categories (HABTM, hierarchy, only shows categories with posts in, displays number of posts in each category or one of its children) ** Tags (HABTM, including tag cloud) ** Year/month archive (based on created date/time, only shows months with posts in, grouped by year, displays number of posts in each month)
  • RSS for all posts, or posts in a particular category or tag
  • Settings ** Meta title, description, keywords for the unfiltered list and filtered by archive list

Customisations

Create custom views in your app directory e.g. app/views/plugins/blog/blog_posts/index.ctp

Requirements

Installation

git submodule add git://github.com/neilcrookes/CakePHP-Blog-Plugin.git app/plugins/blog

or download from http://github.com/neilcrookes/CakePHP-Blog-Plugin

// APP/config/route.php
include APP.'plugins'.DS.'blog'.DS.'config'.DS.'routes.php';

Run the SQL script in blog/config/schema/schema.sql

Go to mydomain.com/blog

See:

  • mydomain.com/admin/blog_posts for creating blog posts (and follow links to create the tags and categories first)
  • mydomain.com/admin/blog_settings for editing the settings (things like the index page title and RSS feed title etc)

(Requires your Routing.prefixes is includes 'admin')

Todo

  • Custom blog post content implementations
  • Internationalisation
  • Improve the admin interface

All contributions welcome and will be attributed

Copyright

Copyright Neil Crookes 2011

License

The MIT License

About

A CakePHP Plugin for a blogging engine with posts, categories and tags

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%