Jump to content

Breadcrumbs on home page


Recommended Posts

This is crazy! I simply can't find how to include breadcrumbs on the home page.

I know technically you don't need them but the client wants (so the client gets!)
They appear (all be it in the wrong place) on product pages etc, just not on the home page.

So, my question - How do I display breadcrumbs site wide including on the home page.

Many thanks.

Link to comment
Share on other sites

Add the following to the top of index.tpl in your theme's directory:

{include file=$tpl_dir./breadcrumb.tpl}



To add items to the breadcrumb, you'll need to use {capture name=path}{/capture} before this code. For example, history.tpl uses the following code to add a link to "My account", then display the navigation pipe ">", then display "Order history".

{capture name=path}{l s='My account'}{$navigationPipe}{l s='Order history'}{/capture}



You can manually add the missing breadcrumb bars this way.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...