| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Where is the file that the bread crumb is getting info from? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I see that the bread crumb is always showing whatever company name I typed in the control panal. I only wanted it to show "home" as the first level of my bread crumb instead of my company name. I looked into location.tpl, but doesn't seem like there is anything that I can modify to change that. Does anyone know where is the file I can modifiy to change the name of the first level on bread crumb to something else instead of company name?
__________________
X-Cart Gold 4.0.17 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() have you tried using webmaster mode - that's really handy for finding things like this,
__________________
X-Cart version 5 (Previously 3.5-4) Previous Versions included BCSE Reward Points Mod Altered Cart On Sale Mod Wordpress Plugin Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there. Shout me a Coffee! |
|||||||||
#3
|
|||||||
|
|||||||
![]() Yes, it just shows the location.tpl which shows only the following coding, still no clue where is the code that is pulling the company name.
Code:
__________________
X-Cart Gold 4.0.17 |
|||||||
#4
|
|||||||
|
|||||||
![]() Hi, I found it in auth.php in the root directory. The language string is lbl_site_title at least in v 4.1.2 I imagine it's the same. Create a new language lable and call it lbl_home, then changed the lbl_site_title to lbl_home.
I haven't checked all my pages yet to make sure the change didn't affect anything else, you may want to do that. Hope that helps
__________________
x-cart 4.1.6 PHP 4.4.2 MySQL server 4.0.26-log MySQL client 5.0.20 Operation system FreeBSD Perl 5.008008 |
|||||||
#5
|
|||||||
|
|||||||
![]() I dont see anything language label in auth.php. Can you tell me which line are you refering to? I'm on v4.0.17
__________________
X-Cart Gold 4.0.17 |
|||||||
#6
|
|||||||
|
|||||||
![]() I just checked the auth.php for 4.0.18 and yeah I see it is not there. Check you languages and see what your company name is under, what's the variable? mine was lbl_site_title.
__________________
x-cart 4.1.6 PHP 4.4.2 MySQL server 4.0.26-log MySQL client 5.0.20 Operation system FreeBSD Perl 5.008008 |
|||||||
#7
|
|||||||
|
|||||||
![]() It is not pulling from any language. It is pulling from the company name information I enter on xxxx.com/xcart/admin/configuration.php?option=Company
__________________
X-Cart Gold 4.0.17 |
|||||||
#8
|
|||||||
|
|||||||
![]() hmm, I never thought of that. Did you try and see if there was any language variable for your company name? That's the first thing I did and then searched for the variable within the xcart directory using dreamweaver and found it in the auth.php file, changed it and lucked out.
I compared the 2 versions together and see there's an extra line on 4.1, it looks like it points to the language and if nothing is there then it uses the company name in options, I'm thinking if you play in this area and try a few things something should work. I was hoping I coudl help you out but its pretty hard when I don't have that version runnign so I can't test it. This is how 4.1.2 looks. Quote:
The bottom 2 lines should be 137 & 138 in yours. I think in the end you want to try and change line 138 to call on a language label. Good luck!
__________________
x-cart 4.1.6 PHP 4.4.2 MySQL server 4.0.26-log MySQL client 5.0.20 Operation system FreeBSD Perl 5.008008 |
|||||||
|
|||
X-Cart forums © 2001-2020
|