Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Breadcrumb


abrabab

Recommended Posts

Posted

It is a fresh installation and the pages don't have breadcrumb trail.

I looked so many places and couldn't find an answer. I have

 

// include the breadcrumb class and start the breadcrumb trail

require(DIR_WS_CLASSES . 'breadcrumb.php');

$breadcrumb = new breadcrumb;

 

$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);

$breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT));

 

in my application_top.php.

 

Please someone help me to dispaly the breadcrumb.

 

thanks

Posted
It is  a fresh installation and the pages don't have breadcrumb trail.

I looked so many places and couldn't find an answer. I have

 

// include the breadcrumb class and start the breadcrumb trail

  require(DIR_WS_CLASSES . 'breadcrumb.php');

  $breadcrumb = new breadcrumb;

 

  $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);

  $breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT));

 

in my application_top.php.

 

Please someone help me to dispaly the breadcrumb.

 

thanks

 

The code in your application_top is identical to mine, so I'm pretty sure that's not the problem. Do you have something like:

 

 $breadcrumb->add(NAVBAR_TITLE_1, tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'));
$breadcrumb->add(NAVBAR_TITLE_2, tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'));

in each individual page you're working with? You need both, you know.

Always BACK UP your files and your database before making any changes. Before asking questions, check out the Knowledge Base. Check out the contributions to see if your problem's solved there. Search the forums.

 

Useful threads: Store Speed Optimization How to make a horrible shop Basics for design change How to search the forums

 

Useful contributions: Easypopulate Fast, Easy Checkout Header Tag Controller

Posted

Can you specify which page i have to check for the code you gave?

 

thank you

 

 

 

The code in your application_top is identical to mine, so I'm pretty sure that's not the problem. Do you have something like:

 

 $breadcrumb->add(NAVBAR_TITLE_1, tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'));
$breadcrumb->add(NAVBAR_TITLE_2, tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'));

in each individual page you're working with?  You need both, you know.

Posted

Well, that was from my checkout_payment page, since that was what I was working on. Basically, though, every single page in your catalog folder would need some sort of code like that.

 

...Although come to think of it, it should at least be showing Top >> Catalog with that. Since I'm sure that if your application_top page were not showing, you'd be having more to complain about than that, you might want to check your includes/header file for:

 

  <tr class="breadcrumb">
   <td class="breadcrumb">  <?php echo $breadcrumb->trail(' » '); ?></td>
 </tr>

Always BACK UP your files and your database before making any changes. Before asking questions, check out the Knowledge Base. Check out the contributions to see if your problem's solved there. Search the forums.

 

Useful threads: Store Speed Optimization How to make a horrible shop Basics for design change How to search the forums

 

Useful contributions: Easypopulate Fast, Easy Checkout Header Tag Controller

Posted

There was no code like that in my include/header.ph.

Then i added it

But it is showing >>

 

I don't understand where the » comes from. Do we have to install some contribution?

 

thankyou for your patience.

 

Well, that was from my checkout_payment page, since that was what I was working on.  Basically, though, every single page in your catalog folder would need some sort of code like that.

 

...Although come to think of it, it should at least be showing Top >> Catalog with that.  Since I'm sure that if your application_top page were not showing, you'd be having more  to complain about than that, you might want to check your includes/header file for:

 

 ?<tr class="breadcrumb">
? ?<td class="breadcrumb">  <?php echo $breadcrumb->trail(' » '); ?></td>
?</tr>

Posted

...I have no idea where the raquo comes from, actually. (I'm really not that good at php yet) But I haven't installed any contributions that would affect the breadcrumb, I think. Have you tried clicking the area around the >> to see if it links? I had problems for a while with my link color for the breadcrumb being the same as the background.

Always BACK UP your files and your database before making any changes. Before asking questions, check out the Knowledge Base. Check out the contributions to see if your problem's solved there. Search the forums.

 

Useful threads: Store Speed Optimization How to make a horrible shop Basics for design change How to search the forums

 

Useful contributions: Easypopulate Fast, Easy Checkout Header Tag Controller

Posted

Yeah, the background color was same as thef font color.

 

 

thanks a lot for helping

 

 

 

...I have no idea where the raquo comes from, actually.  (I'm really not that good at php yet)  But I haven't installed any contributions that would affect the breadcrumb, I think.  Have you tried clicking the area around the >> to see if it links?  I had problems for a while with my link color for the breadcrumb being the same as the background.

Posted

You're welcome.

Always BACK UP your files and your database before making any changes. Before asking questions, check out the Knowledge Base. Check out the contributions to see if your problem's solved there. Search the forums.

 

Useful threads: Store Speed Optimization How to make a horrible shop Basics for design change How to search the forums

 

Useful contributions: Easypopulate Fast, Easy Checkout Header Tag Controller

  • 4 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...