Subesh Pokhrel

Magento Developers Blog

Magento Module Release: Uses Layout to List Post, Made by AW Blog, on the Basis of Category Identifier

I’ve always wanted to contribute something in Magento Community and I think today the day has arrived. The module is named as Sirius Blog Helper, just a name, Who cares about the “Name” unless it works :D. The basic function of the Module is to list the post made via AW Blog extension, categorized by category identifier of the post, using Layout. Yes, only through layout you can list the post anywhere you want. Not only that you can also restrict the size of the list through layout as well. Suppose you want to list 5 recent post made under “news” category identifier. Here’s how you can do it easily, of course you have to install the module first. The Module can be currently downloaded from Here, and will be soon available in Magento Connect as well. [source language=”xml”] <reference name="right"> <block type="sbloghelper/helper" name="news.list"> <action method="addCategoryIdentifier"> <identifier>news</identifier> </action> <action method="addListSize"> <size>5</size> </action> </block> </reference> [/source] Simple isn’t it? You can place similar kind of code in layout out to list other post categorically. Hope this helps to someone. Please do post your feedbacks. [caption id=”attachment_226” align=”alignnone” width=”253” caption=”Frontend Screen Shots”]Frontend Screen Shots[/caption]