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)
-   -   Bread Crumbs do not work in Firefox? (https://forum.x-cart.com/showthread.php?t=45834)

rageon75 02-25-2009 10:43 AM

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.

Victor D 02-26-2009 12:17 AM

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

chris@earmark 03-05-2009 02:02 PM

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

Victor D 03-05-2009 11:59 PM

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

chris@earmark 03-06-2009 09:33 AM

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

rageon75 03-06-2009 02:30 PM

Re: Bread Crumbs do not work in Firefox?
 
Yes I am also confused.

Victor D 03-09-2009 12:20 AM

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

rageon75 03-09-2009 12:06 PM

Re: Bread Crumbs do not work in Firefox?
 
That worked! Thank you for your help, Victor.

chris@earmark 03-10-2009 01:20 PM

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


All times are GMT -8. The time now is 05:17 AM.

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