steerCMSBlogPlugin
A relatively simple blogging plugin at its core, the steerCMSBlogPlugin comes with a number of features added from other plugins.
Some key points:
- More than one blog can be maintained, and is represented by an steerCMSBlogInstance object.
- Each steerCMSBlogPost object is attached to a single steerCMSBlogInstance object.
- Both steerCMSBlogInstance and steerCMSBlogPost objects are i18n.
- and... on the topic of i18n, culture is automatically set when either of these objects are instantiated - see the __construct() methods
Extended Features
By default, base steerCMSBlogPlugin is extended by the following plugins:
- Search on steerCMSBlogPost objects by steerCMSSearchPlugin - from which columns title, excerpt and body are scanned.
- Tagging on steerCMSBlogPost objects by sfPropelActAsTaggableBehaviorPlugin
- RSS and Atom feeds by sfFeed2Plugin
- Comments on steerCMSBlogPost objects by steerCMSCommentPlugin
- Cache Contracts by steerCMSCachedBehaviorPlugin
- Properties by steerCMSPropertiesBehaviorPlugin
- Versioning by sfPropelVersionableBehaviorPlugin
Modules
Three modules make up this plugin: steerCMSBlogPost, steerCMSBlogInstance and Fontend - all fairly self explanatory.
Routing
This plugin adds its own routing rules via its config/config.php file. These include (in order):
- @steerCMSBlog_base_feed → /:feed/news/:instance
- @steerCMSBlog_base → /news/:instance
- @steerCMSBlog_pagination → /news/:instance/page/:page
- @steerCMSBlog_archive_year → /news/:instance/:year
- @steerCMSBlog_archive_month → /news/:instance/:year/:month
- @steerCMSBlog_archive_day → /news/:instance/:year/:month/:day
- @steerCMSBlog_post_permalink_feed → /:feed/news/:instance/:year/:month/:day/:slug
- @steerCMSBlog_post_permalink → /news/:instance/:year/:month/:day/:slug
