![]() |
Redirecting customers to home.php on click
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. |
Re: Redirecting customers to home.php on click
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. |
Re: Redirecting customers to home.php on click
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. |
Re: Redirecting customers to home.php on click
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. |
Re: Redirecting customers to home.php on click
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. |
Re: Redirecting customers to home.php on click
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. |
All times are GMT -8. The time now is 07:11 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.