I am new to magento theming so bear with me.
I am trying to move the breadcrumbs in this theme from the page.xml into catalog.xml. The end goal I am trying to achieve is to have the breadcrumbs on the left side of the black category title banner you can see in this image:
so I thought I could just go into page.xml and take:
<block type="page/html_breadcrumbs" name="breadcrumbs" as="breadcrumbs"/>
and paste it into catalog.xml.
Doing so yields no results no matter where I place it. Do I need to do anything else?
I checked out breadcrumbs.phtml and it seems to just be a div for the breadcrubs not relying on anything else:
<?php if($crumbs && is_array($crumbs)):
$_richSnippets = Mage::getStoreConfig('milanoconfig/richsnippets/enabled') == 1;
?>
<div class="breadcrumbs"<?php if($_richSnippets): ?> xmlns:v="http://ift.tt/OXr27x"<?php endif; ?>>
<ul>
<?php foreach($crumbs as $_crumbName=>$_crumbInfo): ?>
<li class="<?php echo $_crumbName ?>"<?php if($_richSnippets): ?> typeof="v:Breadcrumb"<?php endif; ?>>
<?php if($_crumbInfo['link']): ?>
<a href="<?php echo $_crumbInfo['link'] ?>" title="<?php echo $this->htmlEscape($_crumbInfo['title']) ?>"<?php if($_richSnippets): ?> rel="v:url" property="v:title"<?php endif; ?>><?php echo $this->htmlEscape($_crumbInfo['label']) ?></a>
<?php elseif($_crumbInfo['last']): ?>
<strong<?php if($_richSnippets): ?> property="v:title"<?php endif; ?>><?php echo $this->htmlEscape($_crumbInfo['label']) ?></strong>
<?php else: ?>
<?php echo $this->htmlEscape($_crumbInfo['label']) ?>
<?php endif; ?>
<?php if(!$_crumbInfo['last']): ?>
<span>»</span>
<?php endif; ?>
</li>
<?php endforeach; ?>
<li class="back">
<a href="javascript: history.go(-1)"><?php echo $this->__('Return to Previous Page') ?></a>
</li>
</ul>
</div>
<?php endif; ?>
No comments:
Post a Comment