Skip to content

JaceTan/startupblog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CakePHP Startup Blog

A CakePHP startup blog plugin for CakePHP2.0+

Purpose

Features

  • Blog posts ** Paginated across all filter types (see below) ** 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) ** 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
  • Settings ** Meta title, description, keywords for the unfiltered list
  • Authorship ** Integrate with user model to display authorship
  • Integrated with ** TinyMCE
  • What we don't have: ** Tags ** Sticky Posts ** Archives

Customisations

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

Requirements

Installation

git submodule add [email protected]:jacebeleren/startupblog.git app/Plugin/StartupBlog

or download from https://github.com/jacebeleren/startupblog

Route Configuration

You can include the following line in APP/Config/routes.php include APP.'Plugin'.DS.'StartupBlog'.DS.'Config'.DS.'routes.php';

or CakePlugin::loadAll(array('StartupBlog'=>array('bootstrap' => false, 'routes' => true)));

or CakePlugin::load('StartupBlog', array('bootstrap' => false, 'routes' => true));

Database Management

Run all the SQL scripts in StartupBlog/Config/Schema

Go to mydomain.com/blog

See:

  • mydomain.com/admin/blog/posts for creating blog posts (and follow links to create the 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
  • Improve the admin interface

All contributions welcome and will be attributed

Copyright

Copyright Oppoin.com 2013

License

The MIT License

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages