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

Bread Crumbs do not work in Firefox?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-25-2009, 10:43 AM
 
rageon75 rageon75 is offline
 

Senior Member
  
Join Date: Feb 2009
Posts: 108
 

Question Bread Crumbs do not work in Firefox?

I noticed that the bread crumbs do not work in Firefox? Has anybody else had that problem? If you have how did you fix it? Thanks.
__________________
X-Cart Gold 4.2 - 4.3 - 4.4.5 - 4.6 - 4.7
Reply With Quote
  #2  
Old 02-26-2009, 12:17 AM
  Victor D's Avatar 
Victor D Victor D is offline
 

X-Adept
  
Join Date: Aug 2008
Posts: 643
 

Default Re: Bread Crumbs do not work in Firefox?

Your header has absolute position and covers top of the central part so you should place breadcrumbs inside div with class line3 of skin1/customer/head.tpl or
remove this the third line at all, reduce overall height of the header and place printable link into the div with id center-main of skin1/customer/home.tpl
__________________
Regards,
Victor Dubiniuk

X-Cart Skins Store
- twenty two different skins for 4.1.x and 4.2.x;
- 4.3.x compatible versions are available;
- refresh you store now!

Smart menu X-Cart add-on for 4.1.8 - 4.3.x
Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x
Reply With Quote
  #3  
Old 03-05-2009, 02:02 PM
 
chris@earmark chris@earmark is offline
 

Advanced Member
  
Join Date: Jan 2009
Posts: 42
 

Default Re: Bread Crumbs do not work in Firefox?

Has anyone got their breadcrumbs to work in mozilla?

I tried to insert breadcrumbs into div class="line3" and I cannot tell what part earlier in the code is the breadcrumb?

Does it have anything to do w/?

"<div class="languages">
<form action="home.php" method="get" name="sl_form">
<input type="hidden" name="redirect" value="{$smarty.server.PHP_SELF}{if $smarty.server.QUERY_STRING}?{$smarty.server.QUERY _STRING|amp}{/if}" />
{strip}
<label>{$lng.lbl_select_language}:
<select name="sl" onchange="javascript: this.form.submit();">
{foreach from=$all_languages item=l}
<option value="{$l.code}"{if $store_language eq $l.code} selected="selected"{/if}>{$l.language}</option>"

This is the next piece of code after the search bar in class line 2 and I cannot tell if any of this is the breadcrumb code. T.I.A.

Chris
__________________
x-cart 4.2.0
fancy categories
Reply With Quote
  #4  
Old 03-05-2009, 11:59 PM
  Victor D's Avatar 
Victor D Victor D is offline
 

X-Adept
  
Join Date: Aug 2008
Posts: 643
 

Default Re: Bread Crumbs do not work in Firefox?

The code you posted above is a language selector
breadcrumbs are in skin1/customer/bread_crumbs.tpl
__________________
Regards,
Victor Dubiniuk

X-Cart Skins Store
- twenty two different skins for 4.1.x and 4.2.x;
- 4.3.x compatible versions are available;
- refresh you store now!

Smart menu X-Cart add-on for 4.1.8 - 4.3.x
Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x
Reply With Quote
  #5  
Old 03-06-2009, 09:33 AM
 
chris@earmark chris@earmark is offline
 

Advanced Member
  
Join Date: Jan 2009
Posts: 42
 

Default Re: Bread Crumbs do not work in Firefox?

Quote:
Originally Posted by Victor D
The code you posted above is a language selector
breadcrumbs are in skin1/customer/bread_crumbs.tpl

I am a bit confused.

Earlier you said, "you should place breadcrumbs inside div with class line3 of skin1/customer/head.tpl" which I interpreted as meaning that the breadcrumb could be fixed by moving the code within skin1/customer/head.tpl.

Sorry I'm so confused. thanks for the quick reply. I will search customer/bread_crumbs.tpl and see if I can get it.

Chris
__________________
x-cart 4.2.0
fancy categories
Reply With Quote
  #6  
Old 03-06-2009, 02:30 PM
 
rageon75 rageon75 is offline
 

Senior Member
  
Join Date: Feb 2009
Posts: 108
 

Default Re: Bread Crumbs do not work in Firefox?

Yes I am also confused.
__________________
X-Cart Gold 4.2 - 4.3 - 4.4.5 - 4.6 - 4.7
Reply With Quote
  #7  
Old 03-09-2009, 12:20 AM
  Victor D's Avatar 
Victor D Victor D is offline
 

X-Adept
  
Join Date: Aug 2008
Posts: 643
 

Default Re: Bread Crumbs do not work in Firefox?

The code to produce breadcrumbs are stored in customer/bread_crumbs.tpl so this this template have to be included to print them on page.

to place breadcrumbs in your header you should remove the line
Code:
{include file="customer/bread_crumbs.tpl"}
from your skin1/customer/home.tpl and place it into skin1/customer/head.tpl

But I think the second way is preferrable since it requires no CSS tweaking
so change the last lines of your your skin1/customer/head.tpl to
Code:
{*<div class="line3"> {if $printable_link_visible} <div class="printable-bar"> <a href="{$php_url.url}?printable=Y{if $php_url.query_string ne ''}&amp;{$php_url.query_string|amp}{/if}">{$lng.lbl_printable_version}</a> </div> {/if} </div>*}

and put
Code:
{if $printable_link_visible} <div class="printable-bar"> <a href="{$php_url.url}?printable=Y{if $php_url.query_string ne ''}&amp;{$php_url.query_string|amp}{/if}">{$lng.lbl_printable_version}</a> </div> {/if}

after the line
Code:
<!-- central space -->
into your skin1/customer/home.tpl
__________________
Regards,
Victor Dubiniuk

X-Cart Skins Store
- twenty two different skins for 4.1.x and 4.2.x;
- 4.3.x compatible versions are available;
- refresh you store now!

Smart menu X-Cart add-on for 4.1.8 - 4.3.x
Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x
Reply With Quote

The following user thanks Victor D for this useful post:
chris@earmark (03-10-2009)
  #8  
Old 03-09-2009, 12:06 PM
 
rageon75 rageon75 is offline
 

Senior Member
  
Join Date: Feb 2009
Posts: 108
 

Default Re: Bread Crumbs do not work in Firefox?

That worked! Thank you for your help, Victor.
__________________
X-Cart Gold 4.2 - 4.3 - 4.4.5 - 4.6 - 4.7
Reply With Quote
  #9  
Old 03-10-2009, 01:20 PM
 
chris@earmark chris@earmark is offline
 

Advanced Member
  
Join Date: Jan 2009
Posts: 42
 

Default Re: Bread Crumbs do not work in Firefox?

Thank you Victor, I went with your advice and tried the second method. It worked great!

Chris
__________________
x-cart 4.2.0
fancy categories
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 05:34 AM.

   

 
X-Cart forums © 2001-2020