pyrocms/pyrocms — pull request #1707 by salmane (2012-08-10 12:05:50+00:00)
Title: 2.2/develop

Description
Blog module has been modified to do the following :

Posts can have a featured image from the pyroimage library

Posts intro is limited to text

"Related posts" was added to plugin.

Posts can be marked as featured ( themes can take advantage of that to show case featured posts)

Blog name can be changed to any other name. If left blank Blog page becomes Homepage of the site

Changed post Uri from blog/date/post-title to blog-uri(if applicable)/category-slug/post-title

Changed category Uri from blog/categories/category-slug to blog-uri(if applicable)/category-slug

Few modification made to core CMS files:

system/cms/core/Public_Controller.php ( line 106 - loads blog config file and uses blog_uri for rss feed)

system/cms/module/settings/controller/admin.php ( line 169 - dynamically change config/blog.php and config/routes.php for blog_uri change)

system/cms/module/settings/details.php ( add options for blog module)

system/cms/config/routes.php ( require the blog/routes.php file at bottom of file)

notes :

modules/blog/config folder must be made writable. This is done so that the blog/config/routes.php & blog/config/blog.php are changed dynamically when the blog-uri is changed

a blog.php file was added to the cms config folder.

blog translation files need to be updated. Only the english one is complete.