| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
changing .home.php | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I know a completely noob questions but still getting my head around editing this script
How do i change so that my logo and breadcrumb link to domain.com/ instead of domain.com/home.php? Thanks ![]()
__________________
X-Cart DB Version: 4.2.0 GOLD |
|||||||
#2
|
|||||||
|
|||||||
![]() Welcome to the X-Cart forums! Please start by reading the following thread, which will help you get started and hopefully make your experience here a positive one:
http://forum.x-cart.com/showthread.php?t=23970 Please note that this link is not an answer to your question, but we need you to update your signature with your X-Cart version so that we can answer your questions correctly. Thanks! ![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Thanks for the the link ill check that out now .. updated my sig also
__________________
X-Cart DB Version: 4.2.0 GOLD |
|||||||
#4
|
|||||||||
|
|||||||||
![]() 1) Logo is placed in the skin1/customer/head.tpl
just change href for the hyperlink from "home.php" to "/" 2) In skin1/customer/bread_crumbs.tpl replace the line Code:
Code:
__________________
Regards, Victor Dubiniuk X-Cart Skins Store ![]() - twenty two different skins for 4.1.x and 4.2.x; - 4.3.x compatible versions are available; - refresh you store now! Smart menu X-Cart add-on for 4.1.8 - 4.3.x Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x |
|||||||||
|
#5
|
|||||||
|
|||||||
![]() thanks very much Victor. That has sorted it!
__________________
X-Cart DB Version: 4.2.0 GOLD |
|||||||
#6
|
|||||||
|
|||||||
![]() Quote:
Thanks for the good info Victor. I am trying to do the same thing but with a slight twist. How would you go about linking your bread crumb to a site that is not domain.com/ but a domain separate from your cart itself or possibly linking to another page within the cart itself? t.i.a chris
__________________
x-cart 4.2.0 fancy categories |
|||||||
|
#7
|
|||||||||
|
|||||||||
![]() Quote:
just replace the code mentioned above with Code:
__________________
Regards, Victor Dubiniuk X-Cart Skins Store ![]() - twenty two different skins for 4.1.x and 4.2.x; - 4.3.x compatible versions are available; - refresh you store now! Smart menu X-Cart add-on for 4.1.8 - 4.3.x Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x |
|||||||||
#8
|
|||||||
|
|||||||
![]() Victor, that solution worked excellent. Thanks for the help!
__________________
x-cart 4.2.0 fancy categories |
|||||||
#9
|
|||||||
|
|||||||
![]() what about in version 4.4.3 gold
I have examined bread_crumbs.tpl in customer folder under specific skin type, but could not figure out how to change link from home.php to point to domain name. Thank you,
__________________
x cart 4.4.3 gold Unix U.S.A |
|||||||
#10
|
|||||||
|
|||||||
![]() For version 4.4.3 gold: It is
Replace <a href="{$l.1|amp}" class="bread-crumb{if $smarty.foreach.location.last} last-bread-crumb{/if}">{if $webmaster_mode eq "editor"}{$l.0}{else}{$l.0|amp}{/if}</a> with <a href="{if $smarty.foreach.location.first}http://put.link.here{else}{$l.1|amp}{/if}" class="bread-crumb{if $smarty.foreach.location.last} last-bread-crumb{/if}">{if $webmaster_mode eq "editor"}{$l.0}{else}{$l.0|amp}{/if}</a> (..and thanks to Victor D for original post!)
__________________
Xcart Version Gold 4.7.12 Prod Sys- Debian 9 Stretch Prod Sys - Apache/2.4.25 (Debian) CDSEO Pro- 2.2 Mysql Community Edition 5.7.32 PHP 7.3 |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|