| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Modify Link to Cart Home Page | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Sorry for the no-duh question, but I can't find this in the templates: The logo at the top of the page (xlogo.gif) links to store/index.html. I want it to go to store/home.php.
I would really appreciate direction on where to find this in the code. TIA, Lynne 4.1.7
__________________
4.1.7 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() The logo is found here - /skin1/head.tpl
Regards Shafiq :sK P.S - Have a look at this v.useful post: http://forum.x-cart.com/showthread.php?t=21529
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!) Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x Multiple Instances of X-Cart MySQL 5.6.37 CentOS 7.4 Chamber Internet - Lancashire, United Kingdom http://www.chamberelancs.co.uk |
|||||||||
#3
|
|||||||
|
|||||||
![]() I already found the logo at skin1/head.tpl and I've read the Template Editing Guide. So i'm obviously missing something.
Here's the code from head.tpl: <a href="{$http_location}/"><img src="{$ImagesDir}/xlogo.gif" width="777" height="100" align="middle" alt="" /></a> Do I need ot modify "{$http_location}/"? If yes, how? Or is there another way to modify the link for xlogo.gif? Thanks, Lynne
__________________
4.1.7 |
|||||||
#4
|
|||||||||
|
|||||||||
![]() Modify to:
<a href="/store/home.php"><img src="{$ImagesDir}/xlogo.gif" width="777" height="100" align="middle" alt="" /></a> Shafiq :sK
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!) Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x Multiple Instances of X-Cart MySQL 5.6.37 CentOS 7.4 Chamber Internet - Lancashire, United Kingdom http://www.chamberelancs.co.uk |
|||||||||
#5
|
|||||||
|
|||||||
![]() Worked great -- thanks!
__________________
4.1.7 |
|||||||
#6
|
|||||||
|
|||||||
![]() The problem with hard coding a link like this is that you are going to mess up your SEO. There should be only ONE path to your store, ever, and that link should be www.yourdomain.com
In my opinion, you should hard code this image link to <a href="/"> and then let your htaccess do the rest. This assumes your htaccess takes your customer where you want... If you have a bunch of inbound links (some to www.domain.com, some to www.domain.com/store/home.php, etc.) the search engines (especially google) will share page rank betwen the pages -- they are not identical... and you risk duplicate content issus. Be consistemt in your links and you won't have these issues.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|