| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Redirecting customers to home.php on click | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi -- Hope someone can help. When a customer clicks on the company logo (x-cart logo) at the top of a page, I'd like to redirect to www.mydom.com/xcart/home.php and *not* to the default www.mydom.com/xcart/ Basically, specify the link used in the Home button by the logo. Where do I change the link?
Also, where do I change the welcome text displayed in home.php? TIA. |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Hi
Change that link by editing it in skin1/head.tpl Change text through Admin, Languages - or use Webmaster Mode to do it on the fly.
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
#3
|
|||||||
|
|||||||
![]() I'd already looked in head.tpl and couldn't see a link. Looking again, I see <a href="{$http_location}/"> So, how do I specify the home.php? I don't know PHP.
You've lost me with the other reply. Do you mean Administration > Languages? That doesn't see like the place. I just want to replace the default string. |
|||||||
#4
|
|||||||||
|
|||||||||
![]() Yep, that's the link - just change {$http_location}/ to www.mydom.com/xcart/home.php
Not sure why you would want to, but that's all you need to do. And Yep, that's exactly where I mean. Why doesn't that seem like the place? Unless you have hard coded the text into your skin1/customer/main/welcome.tpl template, which I very much doubt, just like most of the text on your site, it is stored in the database, and accessed through Languages in your Admin section.
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
#5
|
|||||||
|
|||||||
![]() I think I might wait till I have my SSL cert installed before changing the path. I read somewhere it can cause probs calling images via http when customer is logged in securely. Would calling a page do likewise?
Reason I want to change the link is because it takes you out of the store. That's not good, IMO. The Home button link is much more logical. Languages, it seems to me the place to change the language of your store or some of its properties. I still cannot see how you can change a text string that appears on a home.php page though. No, I haven't hardcoded welcome.tpl It was hard enough finding it, let alone hard code it. Not sure how Webmaster Mode can help. The welcome text also says to use this but I cannot see how. |
|||||||
#6
|
|||||||||
|
|||||||||
![]() just change it to {$http_location}/xcart/home.php
Yes, Languages is where you can change the store language, but it is also where you change any text that appears in your shop. Search for welcome in the filter box, or some of the text that you are trying to find and replace.
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
|
|||
X-Cart forums © 2001-2020
|