The quickest way to achieve this is to add your static blocks in category_view page.
So these are the hints that you can refer with
1) Create two static blocks through admin (go to CMS -> static blocks
and then add a new one). Let block identifiers be top-category-static-block
and bottom--category-static-block
. Make sure two blocks are enabled.
2) Go to
Location : app/design/frontend/<your_package>/<your_theme>/template/catalog/category/view.phtml
add the following code top of this file.
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('top-category-static-block')->toHtml() ?>
add the following code bottom of this file
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('bottom-category-static-block')->toHtml() ?>
Remove the cache and then refresh the page. You can see the contents of your static blocks in respective places.
EDIT
You can add any number of static blocks in anywhere any number of times. Use of the above snippet is endless and I think it has no restrictions.
Answer for your doubts reside in this answer itself. I will explain it again for sake your best understanding
1)Is it possible to add static block in different pages?
Yes you can. For this you need to find the phtml file
that render the content of desired page. Analyze the content in that page carefully and find the appropriate position and add the above code there. For example, above we added the code top and bottom of the category_view page. Similarly you need to find the appropriate position.
2)Is it possible to add a static block middle of category page?
Yes obviously. Why can't you make a try on the category _view file? Just try to add the above code snippet, somewhere middle of the page. It will do the magic
In magento, there may be lot of blocks that constitutes your particular page. For example, your category page constitutes by several number of blocks. Each part of the category page is rendering by different blocks. You can find every blocks that constitutes a category page in catalog.xml
(Generally in layout file). So some time you may need to dig deeper to find the exact block in which you need to add the above the code in order to get the desired output. In initial stage, it may be a tough job. Later things will become more easy.
Don't give up. Good luck.