Remove breadcerumbs from homepage only [solved]

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
R0BINH00D
Forum Members
Forum Members
Posts: 19
Joined: Wed Oct 24, 2007 4:32 pm

Remove breadcerumbs from homepage only [solved]

Post by R0BINH00D »

I'd think it was something like this:

{if page->title != hompage}

        {breadcrumbs starttext='You are here' root='Home' delimiter='»'}

{/if}

Any suggestions?

Thanks

Dan
Last edited by R0BINH00D on Thu Oct 25, 2007 3:39 pm, edited 1 time in total.
Pierre M.

Re: Remove breadcerumbs from homepage only

Post by Pierre M. »

Hello,

I'd have it done another way : use another template for the homepage as you want your homepage look differently. Its template could be the copy of another template without the {breadcrumbs} tag.

Pierre M.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: Remove breadcerumbs from homepage only

Post by RonnyK »

Dan,

what about:
  {* Start Breadcrumbs *}
  {if $page_alias neq 'homepage'}
 
        {breadcrumbs starttext='You are here' root='Home' delimiter='»'}
 
 
  {/if}
  {* End Breadcrumbs *}
Ronny
R0BINH00D
Forum Members
Forum Members
Posts: 19
Joined: Wed Oct 24, 2007 4:32 pm

Re: Remove breadcerumbs from homepage only

Post by R0BINH00D »

Perfect!

Such a simple piece of code - but I can use it to show different menus on different pages aswell.

Much appreciated
Post Reply

Return to “Layout and Design (CSS & HTML)”