Page 1 of 1

[SOLVED] Breadcrumb edit/remove

Posted: Sun Jan 08, 2012 2:40 am
by jamescchu
Hi,

I'm trying to edit/remove the breadcrumb from opencart 1.5.1.3 pages, but seems logout page (Link. Catalog/Account/Logout) the breadcrumb doesn't get edited/removed even after I edit/remove the breadcrumb data from the tpl files.

(Note. to edit, stylesheet has also been modified)

Does any one know why this is and how it can be done?

Re: Breadcrumb edit/remove

Posted: Sun Jan 08, 2012 3:22 am
by JAY6390
If you've removed it from the template, then they shouldn't show at all. Check that you are using the right theme, that you've not got vQmod caching enabled and that if you're using my OpenCart Page Cache module that you clear the cache. Do you have a link to your site to show the css you've used and the html? (PM if you like)

Re: Breadcrumb edit/remove

Posted: Thu Jan 12, 2012 5:16 pm
by jamescchu
Hi Guys,
I'm still trying to get some help for this, if any one has any clue of it....
Here's some more info of it'll help figuring it out...

At catalog side of ACCOUNT/EDIT.TPL
I have the following
================================================================================
<?php echo $header; ?><?php echo $column_left; ?><?php echo $column_right; ?>
<div id="content"><?php echo $content_top; ?>
<!--
<div class="breadcrumb">
<?php foreach ($breadcrumbs as $breadcrumb) { ?>
<?php echo $breadcrumb['separator']; ?><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a>
<?php } ?>
</div>
-->
================================================================================
with this, when I view the source of the actual page on a browser I get the following.
================================================================================
blah blah blah

<div id="content"><!--

<div class="breadcrumb">

<a href="http://mydomain.com/index.php?route=com ... e">Home</a>

&raquo; <a href="http://mydomain.com/index.php?route=acc ... Account</a>

&raquo; <a href="http://mydomain.com/index.php?route=account/edit">Edit Information</a>

</div>

-->

blah blah blah
================================================================================
This is what I expect and want to end up with....

But for the ACCOUNT/DOWNLOAD.TPL also at the catalog side, I end up with something different....

I've the following in download.tpl
================================================================================
<?php echo $header; ?><?php echo $column_left; ?><?php echo $column_right; ?>
<div id="content"><?php echo $content_top; ?>
<!--
<div class="breadcrumb">
<?php foreach ($breadcrumbs as $breadcrumb) { ?>
<?php echo $breadcrumb['separator']; ?><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a>
<?php } ?>
</div>
-->
================================================================================
This is exactly same as ACCOUNT/EDIT.TPL above

But I end up with the following at the actual page source on a browser...
================================================================================
blah blah blah

<div id="content"> <div class="breadcrumb">

<a href="http://mydomain.com/index.php?route=com ... e">Home</a>

&raquo; <a href="http://mydomain.com/index.php?route=acc ... Account</a>

&raquo; <a href="http://mydomain.com/index.php?route=acc ... wnloads</a>

</div>

blah blah blah
================================================================================
Does any one have any idea why ACCOUNT/DOWNLOAD.TPL is giving me this issue???

And funny thing is, if I log on to the site and make a purchase of a downloadable product and go to the admin side and change the sales status to "complete" When I get back to the user side of the ACCOUNT/DOWNLOAD.TPL page, I no longer get the breadcrumb... Seems it goes away as I want it to if a downloadable product has been purchased and status set to complete, but in any other situations it just says even thoe I have it coded not to show up.... I've even tried it by actually deleting the breadcrumb coding from the page, but still same thing...

Oh and the message you get when you have not made any downloadable purchase...
'You have not made any previous downloadable orders!'
From the language file I see the coding is
$_['text_empty'] = 'You have not made any previous downloadable orders!';
But there's no 'text_empty' in the DOWNLOAD.TPL. So how is this being displayed????

Re: Breadcrumb edit/remove

Posted: Thu Jan 12, 2012 5:24 pm
by jamescchu
OMG...
As I was writing my last post... Something hit me... Than I tried it... Than it worked... This issue has been solved guys... Thanks for looking...

Re: [SOLVED] Breadcrumb edit/remove

Posted: Tue Mar 06, 2012 10:57 pm
by speedy
Although this is an old post, it would be great to state what you have done to solve the issue.

Re: [SOLVED] Breadcrumb edit/remove

Posted: Wed Apr 11, 2012 2:08 am
by DragonJ
AAAAHHHHHHHH!!!!!!!!!

That's so frustrating!!!!!!!!!

What good does it do everybody else to know that "issue has been solved"?

SHOW US ***HOW*** YOU SOLVED IT!

Otherwise this topic thread is a useless waste of everyone's time, especially since it's been marked SOLVED we somewhat expect a solution.

Re: [SOLVED] Breadcrumb edit/remove

Posted: Fri Apr 13, 2012 5:33 am
by jamescchu
Sorry guys, didn't know anyone else was looking to get this done and I've been away from the forum for some time to see these replies.
Surely I can tell you guys how I did it.

You need to go to
.../catalog/view/theme/default/template/error/
Than open "not_found.tpl" and remove the breadcrumb from it to resolve it...

Hope this helps...

Re: [SOLVED] Breadcrumb edit/remove

Posted: Fri Apr 13, 2012 3:09 pm
by acronimus
Or you can go directly to your stylesheet (/catalog/view/theme/theme_name/stylesheet/stylesheet.css) and add to ".breadcrumb" this property: "display: none;" ;D

Re: [SOLVED] Breadcrumb edit/remove

Posted: Fri Apr 13, 2012 4:19 pm
by jamescchu
acronimus wrote:Or you can go directly to your stylesheet (/catalog/view/theme/theme_name/stylesheet/stylesheet.css) and add to ".breadcrumb" this property: "display: none;" ;D
Yes, this would make our work so~~~~~~~~~ much easier!!!!!
But give it to our clients to come up with ways to make it not so easy for us, by saying "I want it here, here and here but not here, here and there." :choke: ??? :crazy: :drunk: :-\ :-[ :o LOL

Any how, thanks for your posting. I didn't think about posting that method, just in case someone wanted to get rid of all of them at one shot...

Re: [SOLVED] Breadcrumb edit/remove

Posted: Sat Jan 04, 2014 12:07 pm
by Larry1967
Hello all,
I know this is an old thread, but I have a problem with the "solution" provided by jamescchu (below). I want to remove ALL the breadcrumb"paths" also on ALL the pages. How is the script entered exactly? I am not that familiar with editing stylesheets (NOOBIE here). I can do basic color adjustments etc.

I found this on stylesheet:
}
.breadcrumb {
color: #CCCCCC;
margin-bottom: 10px;
}

I tried this (did not work):

}
.breadcrumb: display: none; {
color: #CCCCCC;
margin-bottom: 10px;
}

I tried this (did not work):

}
.breadcrumb display: none; {
color: #CCCCCC;
margin-bottom: 10px;
}
etc....etc...etc...

My question is: How EXACTLY Is the script applied? Can't seem to remove the breadcrumb paths. Thanks for any help. Larry



jamescchu wrote:
acronimus wrote:Or you can go directly to your stylesheet (/catalog/view/theme/theme_name/stylesheet/stylesheet.css) and add to ".breadcrumb" this property: "display: none;" ;D
[/b]
Yes, this would make our work so~~~~~~~~~ much easier!!!!!
But give it to our clients to come up with ways to make it not so easy for us, by saying "I want it here, here and here but not here, here and there." :choke: ??? :crazy: :drunk: :-\ :-[ :o LOL

Any how, thanks for your posting. I didn't think about posting that method, just in case someone wanted to get rid of all of them at one shot...

Re: [SOLVED] Breadcrumb edit/remove

Posted: Sat Jan 04, 2014 5:32 pm
by DragonJ

Code: Select all

.breadcrumb {
color: #CCCCCC;
margin-bottom: 10px;
display: none;
}

Re: [SOLVED] Breadcrumb edit/remove

Posted: Sun Jan 05, 2014 10:35 am
by Larry1967
Thank you. I just needed the specifics! All good!

Re: [SOLVED] Breadcrumb edit/remove

Posted: Fri Aug 29, 2014 8:25 am
by WavMixer
Thank you acronimus!!!

Re: [SOLVED] Breadcrumb edit/remove

Posted: Mon Apr 11, 2016 4:19 pm
by dunamit
white-space: nowrap;
overflow: hidden;
8)

Re: [SOLVED] Breadcrumb edit/remove

Posted: Fri Nov 16, 2018 3:21 am
by Ghost Leader
how do you disable also the text above breadcrumb? The one saying on what page you are.

Re: [SOLVED] Breadcrumb edit/remove

Posted: Mon May 13, 2019 12:32 pm
by sheridangraphics
How would you dis[play all the breadcrumbs on all the pages using css or any other way to be just above the footer?