How to use local.xml to insert a block in Magento 1.8? -


How do I use loca.xml to insert the block?

I have a constant block ( footer block inside my page.xml , but before Forrest_Link ,

   type = "core / template" name = "bottom.footer" as template = "bottom.pletter" = " Page / html / footer-bottom.phtml "& gt; block type =" page / switch "name =" store_switcher "as =" store_switcher "template =" page / switch / stores.phtml "/> ; & lt; block type = "page / template_links" as name = "footer_links" = "footer_link" Template = "Page / Templates / Links.file" />    

This is my local.xml , block type = "cm / block" name = "cms_footer_links" => before "footer_links" & gt; & lt;! - The contents of this block are taken from its database by block_id You can manage it in Admin CMS - & gt; Static Block - & gt; & lt; Action Method = "SetblockCode" & gt; & Lt; Block_id & gt; Footer_Link & lt; / Block_id & gt; & Lt; / Action & gt; & Lt; / Block & gt;

Is this possible?

answer,

   before "footer_links" & Lt; Action method = "setblockcd" & gt; & Lt; Block_id & gt; Footer_links & lt; / Block_id & gt; & Lt; / Action & gt; & Lt; / Block & gt; & Lt; / References & gt;    

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -