Posts

Showing posts from September 6, 2009

How I put static block in CMS pages?

Magento static block in cms page: you can write some special tag in cms page for call the magento static block like: xxxxx How to call a static block from template files? to add a static block into footer.phtml: 1) add a new static block (in this example Identifier is my_footer_block ) 2) layout/page.xml in: block type = "page/html_footer" name = "footer" as= "footer" template = "page/html/footer.phtml" > add a: block type = "cms/block" name = "my_footer_block" > action method = "setBlockId" > block_id > my_footer_block block_id > action > block > so in this example it will looks like: block type = "page/html_footer" name = "footer" as= "footer" template = "page/html/footer.phtml" > block type = "page/switch" name = "store_switcher" as= "store_switcher...