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

Breadcrumb code missing

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-09-2008, 07:59 AM
 
swifty1 swifty1 is offline
 

eXpert
  
Join Date: Aug 2008
Location: UK
Posts: 327
 

Unhappy 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.
__________________
4.1.11 gold
x-special offers
CDSEO Pro
Reply With Quote
  #2  
Old 11-09-2008, 08:05 AM
 
neroag neroag is offline
 

Senior Member
  
Join Date: May 2005
Location: UK
Posts: 171
 

Default Re: Breadcrumb code missing

Code:
{include file="location.tpl"}

in skin1/customer/home.tpl
__________________
X-cart Gold - 4.0.18 - 4.1.9 - 4.1.10 - 4.3.0
Reply With Quote
  #3  
Old 11-09-2008, 08:28 AM
 
swifty1 swifty1 is offline
 

eXpert
  
Join Date: Aug 2008
Location: UK
Posts: 327
 

Default 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
__________________
4.1.11 gold
x-special offers
CDSEO Pro
Reply With Quote
  #4  
Old 11-09-2008, 08:41 AM
 
neroag neroag is offline
 

Senior Member
  
Join Date: May 2005
Location: UK
Posts: 171
 

Default 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?
__________________
X-cart Gold - 4.0.18 - 4.1.9 - 4.1.10 - 4.3.0
Reply With Quote
  #5  
Old 11-09-2008, 08:55 AM
 
swifty1 swifty1 is offline
 

eXpert
  
Join Date: Aug 2008
Location: UK
Posts: 327
 

Thumbs up 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
__________________
4.1.11 gold
x-special offers
CDSEO Pro
Reply With Quote
  #6  
Old 11-09-2008, 08:59 AM
 
swifty1 swifty1 is offline
 

eXpert
  
Join Date: Aug 2008
Location: UK
Posts: 327
 

Default Re: Breadcrumb code missing

One other thing at the moment the breadcrumb uses the title of the web site as the opening text.
__________________
4.1.11 gold
x-special offers
CDSEO Pro
Reply With Quote
  #7  
Old 11-09-2008, 09:30 AM
 
neroag neroag is offline
 

Senior Member
  
Join Date: May 2005
Location: UK
Posts: 171
 

Default Re: Breadcrumb code missing

in location.tpl look for {strip}
& change it to {strip} You Are Here :
__________________
X-cart Gold - 4.0.18 - 4.1.9 - 4.1.10 - 4.3.0
Reply With Quote
  #8  
Old 11-09-2008, 09:39 AM
 
swifty1 swifty1 is offline
 

eXpert
  
Join Date: Aug 2008
Location: UK
Posts: 327
 

Default 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.
__________________
4.1.11 gold
x-special offers
CDSEO Pro
Reply With Quote
  #9  
Old 11-09-2008, 10:11 AM
 
neroag neroag is offline
 

Senior Member
  
Join Date: May 2005
Location: UK
Posts: 171
 

Default 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
__________________
X-cart Gold - 4.0.18 - 4.1.9 - 4.1.10 - 4.3.0
Reply With Quote
  #10  
Old 11-09-2008, 10:38 AM
 
swifty1 swifty1 is offline
 

eXpert
  
Join Date: Aug 2008
Location: UK
Posts: 327
 

Default 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.
__________________
4.1.11 gold
x-special offers
CDSEO Pro
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 03:28 PM.

   

 
X-Cart forums © 2001-2020