Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Remove breadcrumb from define/ EZ pages

Remove breadcrumb from define/ EZ pages

Locked

Views: 10,703

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
7 May 2008, 8:48 PM
#1
bigbadboy avatar

bigbadboy

Totally Zenned

Join Date:
Apr 2008
Location:
London
Posts:
557
Plugin Contributions:
0

Remove breadcrumb from define/ EZ pages

I have a site made up of standard store pages, defined pages and EZ pages (don't ask, it's well complicated!).

I have breadcrumbs on all pages but need to remove them from the non store pages.
Basically only show them on product pages.

I have set breadcrumb status to '2' which removes them from the store home page only - this is fine - now I just need to remove them from the defined and EZ pages.

Thanks in advance.

8 May 2008, 10:13 PM
#2
bigbadboy avatar

bigbadboy

Totally Zenned

Join Date:
Apr 2008
Location:
London
Posts:
557
Plugin Contributions:
0

Re: Remove breadcrumb from define/ EZ pages

Still trying to sort this but one thing I did notice, as I was searching for the answer, is that google has picked this thread up almost instantly!

Search for "breadcrumb on defined pages +zen cart" .

:cool:

9 May 2008, 9:13 AM
#3
bigbadboy avatar

bigbadboy

Totally Zenned

Join Date:
Apr 2008
Location:
London
Posts:
557
Plugin Contributions:
0

Re: Remove breadcrumb from define/ EZ pages

OK. Sorted it, finally!

includes/ modules / pages / page / header_php.php

Comment out line 137:

// set Page Title for heading, navigation, etc
define('NAVBAR_TITLE', $var_pageDetails->fields['pages_title']);
define('HEADING_TITLE', $var_pageDetails->fields['pages_title']);
// $breadcrumb->add($var_pageDetails->fields['pages_title']); <-- this line

Hopefully my 2 days of searching can benefit someone else!

9 May 2008, 9:24 AM
#4
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Remove breadcrumb from define/ EZ pages

Hopefully my 2 days of searching can benefit someone else!
Great tip/find... thanks for sharing
:smile:

9 May 2008, 9:51 AM
#5
bigbadboy avatar

bigbadboy

Totally Zenned

Join Date:
Apr 2008
Location:
London
Posts:
557
Plugin Contributions:
0

Re: Remove breadcrumb from define/ EZ pages

Depending on how your store is set up you might also need/ want to remove 'Home' from the breadcrumb as well.

If so ... then try this

9 May 2008, 10:16 AM
#6
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Remove breadcrumb from define/ EZ pages

bigbadboy:

Depending on how your store is set up you might also need/ want to remove 'Home' from the breadcrumb as well.
If so ... then try this
Already had that one bookmarked but thanks anyway
:smile:

5 Aug 2008, 3:21 AM
#7
susb8383 avatar

susb8383

Zen Follower

Join Date:
Feb 2008
Posts:
129
Plugin Contributions:
0

Re: Remove breadcrumb from define/ EZ pages

How did you remove them from the defined pages? When I commented out that line in includes/ modules / pages / page / header_php.php it only removes them from my EZ pages.

Thanks.