Right Now I'm facing issue to set base url in magento CMS page layout. Right now I'm doing like this,but I am not getting base url :
<action method="addCrumb">
<crumbName>Home</crumbName>
<crumbInfo>
<label>Home</label>
<title>Home</title>
<link> {{store url}} </link>
</crumbInfo>
</action>
Best Answer
You are probably using the wrong reference. Only the
Mage_Page_Block_Html_Breadcrumbs
class has theaddCrumb
method. Example:EDIT:
To get dinamic info to new crumb added, rewrite
Mage_Page_Block_Html_Breadcrumbs
. The crumbs are storage into array like this:Creating the
addCrumbCms
method:And use the new method in last crumb, like it:
Note: Create a extension to do it, don't change the core.