X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Modifying Breadcrumbs Hyperlink (https://forum.x-cart.com/showthread.php?t=46821)

myraja 04-07-2009 02:47 PM

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

alec.thomas 04-07-2009 03:48 PM

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

balinor 04-07-2009 04:59 PM

Re: Modifying Breadcrumbs Hyperlink
 
Moving to Template Editing

myraja 04-08-2009 02:13 PM

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

ARW VISIONS 04-08-2009 03:09 PM

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.

alec.thomas 04-08-2009 03:13 PM

Re: Modifying Breadcrumbs Hyperlink
 
Yea, you probobly could do this, but it's probobly more trouble than its worth.

Jon 04-10-2009 10:25 AM

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.


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

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.