Hi to all Developers out there!!!
I am using the below commands in footer.phtml in order to fetch all my cms/blocks in the magento's footer
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('home')->toHtml();?>
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('contact')->toHtml();?>
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('blog')->toHtml();?>
I wonder if I could find somekind of a loop in order to fetch all my blocks ( home, contact , blog etc,etc) in order to avoid repeating the above code...
Any suggestion ?