请看看的breadcrumbs.phtml
代码:对于我的面包屑锚链接中不存在的Magento的1.9.x的
<?php if($crumbs && is_array($crumbs)): ?>
<!-- SLIDER START HERE-->
<div class="container">
<div class="innerSlider relative">
<div class="innerSlidercontent">
<h2>“People with thyroid problems avoid eating millet on a daily basis
as it is believed to contain some”</h2>
</div>
<div class="insideSlidePic"> <img src="<?php echo $this-
> getSkinUrl('images/barnyard_millet_bisi_belle_bhaat_recipe.jpg'); ?>"
alt=""> </div>
</div>
<div class="clear"></div>
<ul class="routeMenu">
<?php foreach($crumbs as $_crumbName=>$_crumbInfo): ?>
<li class="<?php echo $_crumbName ?>">
<?php if($_crumbInfo['link']):
if($_crumbInfo['title']=="Home"){
$_crumbInfo['link']=Mage::getUrl();
}
?>
<a class="sc_hover" href="<?php echo $_crumbInfo['link'] ?>"
title="<?php echo $this->escapeHtml($_crumbInfo['title']) ?>"><?php echo
$this->escapeHtml($_crumbInfo['label']) ?></a>
<?php elseif($_crumbInfo['last']): ?>
<span><?php echo $this->escapeHtml($_crumbInfo['label']) ?>
</span>
<?php else: ?>
<?php echo $this->escapeHtml($_crumbInfo['label']) ?>
<?php endif; ?>
<?php if(!$_crumbInfo['last']): ?>
<?php endif; ?>
</li>
<?php endforeach; ?>
</ul>
</div>
<div class="clear"></div>
<!-- SLIDER END HERE-->
<?php endif; ?>
帮助我弄清楚为什么锚链接不存在于我的面包屑,但文本即将到来。在这里,我看到的代码有些不同于其他面包屑是代码的权利。
在类标记相对存在有一些问题发生,因为面包屑链接不启用任何解决方案apreciated – krishna