Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Modifying Breadcrumbs Hyperlink

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-07-2009, 02:47 PM
 
myraja myraja is offline
 

Member
  
Join Date: Jan 2004
Posts: 18
 

Default Modifying Breadcrumbs Hyperlink

in the breadcrumbs navigation bar, would like to modify as such:

Home :: Widgets :: B :: Brown Widgets

When clicking on "Widgets" it would hyperlink to custom page IE: /widgets.php vs a Category. Same with if subcategory were widgetsX , hyperlink should lead to widgetsX.php

I wish to do this at only the subcategory level

Thanks
Xcart V 4.2
__________________
Version 4.2.0
Reply With Quote
  #2  
Old 04-07-2009, 03:48 PM
  alec.thomas's Avatar 
alec.thomas alec.thomas is offline
 

Advanced Member
  
Join Date: Mar 2009
Location: Minnesota, USA
Posts: 78
 

Default Re: Modifying Breadcrumbs Hyperlink

I'm not understanding what your trying to do...
you can edit the bread crumb trail in /customer/bread_crumbs.tpl
__________________
X-Cart Gold v4.2.0 [Linux]
Add-On: X-Magnifier
Altered Cart Add-On: One Page Checkout
Reply With Quote
  #3  
Old 04-07-2009, 04:59 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Modifying Breadcrumbs Hyperlink

Moving to Template Editing
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #4  
Old 04-08-2009, 02:13 PM
 
myraja myraja is offline
 

Member
  
Join Date: Jan 2004
Posts: 18
 

Default Re: Modifying Breadcrumbs Hyperlink

Hi Alec,

The structure below hyperlinks to Home/category/subcategory/product
I would like the Link at the Category level to go to a custom page called Widgets.php rather than a category.

Home :: Widgets :: B :: Brown Widgets

Another example

If the structure were
Home :: Small Widgets :: G :: Green Widgets

The Hyperlink for "Small Widgets" would point to the PAGE smallwidgets.php

Thanks in advance
__________________
Version 4.2.0
Reply With Quote
  #5  
Old 04-08-2009, 03:09 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Modifying Breadcrumbs Hyperlink

the link are populated through navigation.

So if the customer enters the page B through the widgets category, then the bread crumb links will contain the widgets cat link.

if the customer enters the page B through Widgets.php, then the bread crumb links will contain the Widgets.php link.

can't really change this, since that's the purpose of the bread crumbs.
__________________
xcart 5.1.2
Reply With Quote
  #6  
Old 04-08-2009, 03:13 PM
  alec.thomas's Avatar 
alec.thomas alec.thomas is offline
 

Advanced Member
  
Join Date: Mar 2009
Location: Minnesota, USA
Posts: 78
 

Default Re: Modifying Breadcrumbs Hyperlink

Yea, you probobly could do this, but it's probobly more trouble than its worth.
__________________
X-Cart Gold v4.2.0 [Linux]
Add-On: X-Magnifier
Altered Cart Add-On: One Page Checkout
Reply With Quote
  #7  
Old 04-10-2009, 10:25 AM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default Re: Modifying Breadcrumbs Hyperlink

Add a new field to your category database and update your admin section so that you can specify a breadcrumb url. You could then modify your $location variable to query this new field and use it in the breadcrumb. As said above, possibly more trouble than its worth.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:11 AM.

   

 
X-Cart forums © 2001-2020