Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 03-06-2007 20:34:41

FrankJAG
Member
From: Texas
Registered: 03-03-2007
Posts: 179
Website

Breadcrumb very confused?

http://www.jagpublicsafety.com/khxc/ind … ledmodules

Check out the breadcrumbs:
Location: Store Home  > Emergency Lighting  > LED Dash Lights  > MicroMax-II LED Dash - MicroMax-II LED Dash Light  > Traffic and Warning Sticks  > nlww4headstick - 4 Head Traffic/Warning Stick  > LED Modules  > SLED Modules

Any ideas y'all?

TIA!

Offline

 

#2 03-07-2007 05:15:25

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: Breadcrumb very confused?

They are working as designed but the next update will probably change their behavior to only show the path to the last product you looked at.  Search the forum for many other discussions about this.

Offline

 

#3 03-07-2007 06:18:13

qmstores
Member
From: United Kingdom
Registered: 07-19-2005
Posts: 354
Website

Re: Breadcrumb very confused?

When is the update coming? I heard 'March', but is there any more detail on when this month?

Offline

 

#4 03-07-2007 06:30:54

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: Breadcrumb very confused?

Nick posted yesterday that he hopes to have it available by Friday (see  near the bottom).

Offline

 

#5 03-07-2007 07:07:55

FrankJAG
Member
From: Texas
Registered: 03-03-2007
Posts: 179
Website

Re: Breadcrumb very confused?

Thanks Dave, I usually search before asking. I must have missed that tid bit.

Offline

 

#6 03-07-2007 11:14:58

grcauto
Member
From: Bloomsburg, PA
Registered: 09-11-2006
Posts: 128
Website

Re: Breadcrumb very confused?

This is not a real easy fix. Nick said he would get at it asap. That was at the end of January. He's also implementing other requests along with this for the first version change.
I hope it don't cause us who have done several mod changes to go backwards.

Offline

 

#7 03-13-2007 13:14:19

FrankJAG
Member
From: Texas
Registered: 03-03-2007
Posts: 179
Website

Re: Breadcrumb very confused?

So there is no way to remove it until the fix comes out?
It's really screwing up my pages and makes em look like crud.

Offline

 

#8 03-13-2007 13:32:17

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Breadcrumb very confused?

I just did this today.  It's a quick fix, actually.  In the file {PRIVATE}/apps/ccp0/CCP/CCP.php in the breadcrumbs() method, look for the first time that:

Code:

if ($data['name'] == $name) {$seen = 1;}

Appears.  Not the second time - the first time.  Right below that, add:

Code:

$ns = $this->globals('khxc.namespace');

if ((!(empty($name))) && ($ns == 'prodshow') && ($data['ns'] == 'prodshow')) {$seen = 1;}

This removes any products in the breadcrumb trail if we are viewing a product page when they are printed.


Nick Hendler

Offline

 

#9 03-13-2007 13:43:45

FrankJAG
Member
From: Texas
Registered: 03-03-2007
Posts: 179
Website

Re: Breadcrumb very confused?

Super, I'll give it a go, thanks Nick.

Offline

 

#10 03-13-2007 14:12:32

FrankJAG
Member
From: Texas
Registered: 03-03-2007
Posts: 179
Website

Re: Breadcrumb very confused?

Man works like a champ, you da man, thanks again Nick!

Offline

 

#11 03-14-2007 14:40:00

FrankJAG
Member
From: Texas
Registered: 03-03-2007
Posts: 179
Website

Re: Breadcrumb very confused?

Well, it was nice for a while! LOL
Check this breadcrumb trail gone wild!!!

http://www.jagpublicsafety.com/khxc/ind … eme6ledcat

Any way at all to fix this? I'd rather remove it entirely at the moment; were supposed to go live today, but this looks like crud!
TIA

Last edited by FrankJAG (03-14-2007 14:51:06)

Offline

 

#12 03-14-2007 14:54:56

rachaelseven
Member
From: Massachusetts, USA
Registered: 01-23-2006
Posts: 3169
Website

Re: Breadcrumb very confused?

Your breadcrumb example doesn't seem to carry overy with the link you included in your post.


Rachael Katz
- Custom Focusing Screens for DSLR Cameras

Offline

 

#13 03-14-2007 15:09:25

FrankJAG
Member
From: Texas
Registered: 03-03-2007
Posts: 179
Website

Re: Breadcrumb very confused?

Yep, it seems it has fixed itself and returns randomly.
I really hope we can remove it entirely, is that possible yet?

Offline

 

#14 03-15-2007 13:06:20

kidsandco
Member
Registered: 02-12-2005
Posts: 264
Website

Re: Breadcrumb very confused?

FrankJAG wrote:

hope we can remove it entirely, is that possible yet?

to remove the breadcrumb display just go here:

ClickCartPro > Displays: Skins, Menus, XHTML Includes and Messages > Manage XHTML Includes

update the "Breadcrumbs Display" include

comment out all the code in that include


K.R.
Kids & Co. Wholesale

Offline

 

#15 03-15-2007 13:13:36

FrankJAG
Member
From: Texas
Registered: 03-03-2007
Posts: 179
Website

Re: Breadcrumb very confused?

Thanks K.R.! Greatly appreciated.

Offline

 

#16 03-23-2007 13:17:42

fishbite
Member
Registered: 02-16-2007
Posts: 41

Re: Breadcrumb very confused?

Any news on this problem?


The ultimate home business http://www.momum.com

Offline

 

#17 03-23-2007 14:04:25

TerryA
Member
From: Sanford, Fl
Registered: 07-14-2003
Posts: 1322
Website

Re: Breadcrumb very confused?

This issue seems to be happening when the back button is used to navigate from a product page back to a category page.  If you navigate using the menu selections, it works as it should.

Offline

 

#18 03-23-2007 14:59:37

fishbite
Member
Registered: 02-16-2007
Posts: 41

Re: Breadcrumb very confused?

I know I have tried it! Still do you know when the fix will be?


The ultimate home business http://www.momum.com

Offline

 

#19 03-24-2007 05:21:57

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: Breadcrumb very confused?

TerryA wrote:

This issue seems to be happening when the back button is used to navigate from a product page back to a category page.  If you navigate using the menu selections, it works as it should.

Fixing the "problem" of a user using the back button on the browser isn't something that can be resolved.  The server isn't involved when the back button is used so there is no way for CCP to have a clue that the location has changed or should be changed.  The trail should correct the next time a selection is made from a menu however.

Offline

 

#20 03-24-2007 06:13:29

fishbite
Member
Registered: 02-16-2007
Posts: 41

Re: Breadcrumb very confused?

Hi Thanks for you reply Dave, if you use the breadcrumb trail this still happens, as you can see:

Location: Store Home  > Electric Fires  > Electric inset fires  > Decadent electric fire  > Electric inset fires  > Avola electric fire  > Electric inset fires  > Aspen electric fire  > Electric inset fires  > Horton electric fire

This is ugly to the client and indeed confusing, as the trail is named "Location" as default.

I will be turning this feature off, a shame as this is a good feature,


The ultimate home business http://www.momum.com

Offline

 

#21 03-24-2007 06:24:25

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: Breadcrumb very confused?

I won't argue with you but with the fix Nick posted above installed I've been unable to create a convoluted messed up breadcrumb.  The trail is behaving exactly as expected and should with that fix installed.

No matter what the code does though, navigating with the browser back button will negate whether or not the trail is correct/valid.

Offline

 

#22 03-24-2007 06:28:10

fishbite
Member
Registered: 02-16-2007
Posts: 41

Re: Breadcrumb very confused?

Thanks Dave for your help.


The ultimate home business http://www.momum.com

Offline

 

#23 04-18-2007 05:00:46

RedEvo
Member
From: Aberdeenshire, Scotland
Registered: 02-13-2007
Posts: 12
Website

Re: Breadcrumb very confused?

Hi,

Could anyone advise on the status of this 'issue'? The breadcrumb code is unusable in it's current form.

Many thanks

d

Offline

 

#24 04-18-2007 05:11:42

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: Breadcrumb very confused?

Have you applied the fix for it that Nick posted earlier in this thread?

Offline

 

#25 04-18-2007 05:22:48

RedEvo
Member
From: Aberdeenshire, Scotland
Registered: 02-13-2007
Posts: 12
Website

Re: Breadcrumb very confused?

Hi,

Thanks for the rapid response. I wondered if there was a core fix as opposed to workaround as this seems to be a bug. Some pages generate breadcrumb trails that fill half a page ;-)

I've implemented it ;-)

d

Last edited by RedEvo (04-18-2007 06:07:02)

Offline

 

Board footer