Skip to content

MarkWestside/pimcore-plugin-blog

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blog plugin for pimcore

Features

  • Entries and categories build on pimcore data objects
  • RSS feed
  • Snippets with categories / calendar / feed links / latest entries
  • Comments provided by Commenting plugin integration
  • Tags provided by Tags Field V2 plugin integration

Setup

Just like other Pimcore plugins:

  • navigate to Extras -> Extensions -> Download Extensions, find Blog plugin on list and choose "Download"
  • [OR] clone git repository into /plugin/Blog directory
  • navigate to Extras -> Extensions -> Manage Extensions in admin panel
  • enable & install plugin
  • reload admin interface

If everything went smoothly you will find Blog custom view just below Objects in right panel. Now you can add some entries/categories.

Create document named eg. Blog and set in Settings -> Controller and View Settings:

Module: Blog
Controller: entry
Action: default

NOTE: If you need Tag Field plugin integration install it first. Otherwise installer will skip tag field in blog entry class definition. Of course you can add tag field manualy later.

Snippets

Plugin provides some snippets that you can place anywhere on your site (eg. sidebar, mainpage). Just add new empty snippet and set module/controller/action in the Settings tab:

  • latest entries - Blog/snippet/latest
  • categories list - Blog/snippet/categories
  • calendar - Blog/snippet/calendar
  • links to rss/atom feed - Blog/snippet/feed

Customization

You can add/modify/remove entry/category data fields using default pimcore Object Classes interface.

You can overwrite any of default view scripts by copying Blog/views/scripts/:controller/:action.php into website/views/scripts/blog/:controller/:action.php. Your custom view script will be used automatically instead of default one. This will allow you to update plugin without loosing your project markup.

Changelog

  • 2012-11-26   1.0.1   Added example blog layout. Fixed template overwriting.
  • 2012-12-07   1.0.2   Removed empty js/css paths from plugin.xml
  • 2013-04-14   1.0.3   Fixed installation after changes in pimcore.
  • 2013-06-05   1.0.4   Added predefined document types.

Todo

  • Settings management
  • Tag cloud snippet

About

Blog plugin for pimcore.

Resources

Stars

Watchers

Forks

Packages

No packages published