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)
-   -   Breadcrumb code missing (https://forum.x-cart.com/showthread.php?t=43533)

swifty1 11-09-2008 07:59 AM

Breadcrumb code missing
 
Hi Can any one tell me if i am right as the breadcrumb on my site does not function any more as i belive some code is missing from the skin1/customer/main/welcome.tp

Find below a copy of the file

{*$Id: welcome.tpl,v 1.28.2.1 2006/07/12 04:51:17 svowl Exp $*}
{if ($active_modules.Greet_Visitor ne "") and ($smarty.cookies.GreetingCookie ne "") and $logout_user eq ''}
{assign var="_name" value=$smarty.cookies.GreetingCookie|replace:"\'": "'"}
<h3>{$lng.lbl_welcome_back|substitute:"name":$_nam e} </h3>
{elseif $lng.lbl_site_title}
<h3>{$lng.lbl_welcome_to|substitute:"company":$lng .lbl_site_title}</h3>
{else}
<h3>{*{$lng.lbl_welcome_to|substitute:"company":$c onfig.Company.company_name}*}</h3>
{/if}
{$lng.txt_welcome}
<br />
{if $active_modules.Bestsellers ne "" and $config.Bestsellers.bestsellers_menu ne "Y"}
{include file="modules/Bestsellers/bestsellers.tpl"}
{/if}
<br />
{include file="customer/main/featured.tpl" f_products=$f_products}

Can any see what is missing.

Regards Swift master.

neroag 11-09-2008 08:05 AM

Re: Breadcrumb code missing
 
Code:

{include file="location.tpl"}

in skin1/customer/home.tpl

swifty1 11-09-2008 08:28 AM

Re: Breadcrumb code missing
 
Checked this out already and the code

{include file="location.tpl"}

is in the home.tpl below
<!-- central space --> so any more ideas as to why breadcrumb does not work, my thoughs were that i was missing some code from the welcome.tpl

neroag 11-09-2008 08:41 AM

Re: Breadcrumb code missing
 
You can find an original copy of the welcome.tpl file in your skin1_original folder, however i dont think it contains anything regards the breadcrumb.

have you checked your location.tpl file has data in it, that the text isnt the same colour as the background or the the call to the location.tpl file isnt restricted in anyway?

swifty1 11-09-2008 08:55 AM

Re: Breadcrumb code missing
 
Thanks for that neroag the whole location.tpl had been ommited, all working correctly now.
One more question how do i put the following text before the breadcrumb
You Are Here:
And a big thanks again, i suppose the more i do with x-cart the easier it will become.
Regards swift master

swifty1 11-09-2008 08:59 AM

Re: Breadcrumb code missing
 
One other thing at the moment the breadcrumb uses the title of the web site as the opening text.

neroag 11-09-2008 09:30 AM

Re: Breadcrumb code missing
 
in location.tpl look for {strip}
& change it to {strip} You Are Here :

swifty1 11-09-2008 09:39 AM

Re: Breadcrumb code missing
 
Thanks it is so easy when you now how that put the required text into the breadcrumb line but i still have in the breadcrumb line the text that i put into company name field under general settings in the admin, is there a way to remove this from the breadcrumb only as the search engines use as the web title in the browser tab.

neroag 11-09-2008 10:11 AM

Re: Breadcrumb code missing
 
have a look at the following thread it may help ;-)

http://forum.x-cart.com/showthread.php?t=43274&highlight=breadcrumb

swifty1 11-09-2008 10:38 AM

Re: Breadcrumb code missing
 
Thanks but the first thread by j wait did what you sugested and the next thread by j wait went to a unrelated subject, so i am still none the wiser.
I did a search and had allreay seen these threads so maybe this subject is new to the forum.


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

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