| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Change company name to home in location | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() How or where can I change the company name to just say "home" in the location script or breadcrumbs?
__________________
Martin |
|||||||
#2
|
|||||||||
|
|||||||||
![]() This can be found in the general settings.
Please enter your version number, so we'll can assist you better in the future.
__________________
Best regards, Niki Buitenrust Hettema X-Cart Gold 4.1.8 (Live & Loaded) Royal Bhaktapur: Handmade products from Nepal - Pashmina's, scarfs, shawls, stola's and more... |
|||||||||
#3
|
|||||||||
|
|||||||||
![]() You can do very simple by changing the skin1/location.tpl. First look for {section name=position loop=$location} change it to {section name=position loop=$location start=1}. This will take away the company name. Then look for {if $location} at the top. After just add <a href="home.php">Home</a> :: . Thats it...
__________________
v 4.1.8 and v 4.1.9 WIN XP: Apache 2.2.4, PHP 5.2.3, MySQL 5.0.45 UNIX: Apache 1.3, PHP 4.4.4, MySQL 5.0.22 |
|||||||||
#4
|
|||||||
|
|||||||
![]() Thank you, worked great.
__________________
Martin |
|||||||
#5
|
|||||||
|
|||||||
![]() Please be sure to update your signature as mentioned above per the forum rules:
http://forum.x-cart.com/viewtopic.php?t=6489 Thank you ![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#6
|
|||||||
|
|||||||
![]() Quote:
Can I just add. If you move the line <FONT.... above {if $Location} so that it looks like <FONT class="NavigationPath"> {if $location}<a href="home.php">Home :: </a> Your breadcrumbs will have the style applied to the 'Home' as well.
__________________
Xcart 4.0.19 Pro mySQL 5.5.44 PHP 5.3.27 |
|||||||
#7
|
|||||||
|
|||||||
![]() This is a perfect answer to the question!
![]() I would also like to add that you could really simplify the whole location.tpl as such: Code:
__________________
X-Cart version 4.1.7 (unix) |
|||||||
#8
|
|||||||
|
|||||||
![]() If it is any help to anyone. I followed the above instructions, and still the style of "Home" was different so I added a class to the anchor:
<FONT class="NavigationPath"> {if $location}<a href="home.php" class="NavigationPath">Home</a> :: It worked better for styling the anchor than font class.
__________________
Caroline Version 4.1.3 |
|||||||
#9
|
|||||||
|
|||||||
![]() Ephesians525 - thank you. And everyone else, thank you as well. This is exactly what I was looking for!
__________________
Version 4.1.7 |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|