Guest User

Untitled

a guest
Jan 17th, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. <?php echo $this->getLayout()->getBlock("breadcrumbs")->toHtml()?>
  2.  
  3. <?php
  4. echo $this->getLayout()->getBlock("breadcrumbs")->
  5. ->addCrumb('CrumbName', array('label' => 'this will appear as link text', 'title' => 'title attribute of link', 'link' => 'url to the page)
  6. ->toHtml()
  7. ?>
  8.  
  9. <reference name="root">
  10. <action method="setTemplate"><template>page/1column.phtml</template></action>
  11. <action method="unsetChild"><alias>breadcrumbs</alias></action>
  12. <block type="page/html_breadcrumbs" name="breadcrumbs" as="breadcrumbs">
  13. <action method="addCrumb"><crumbName>Name</crumbName><crumbInfo><label>Test</label><title>Test</title><link>/test.html</link></crumbInfo></action>
  14. </block>
  15. </reference>
Add Comment
Please, Sign In to add comment