| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
bad link in logo | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() When i click on a the logo on the front page of my site it takes me to this url.
http://www.Mysite.co.uk/%7B$http_location%7D i would manually change the head.tpl but i dont think that this would solve the underlying problem of the $http_location variable which is probably used in other pages in the site. please could you tell me why it might be doing this and or where this variable is defined ? version 4.0.14 thanks
__________________
signature |
|||||||
#2
|
|||||||||
|
|||||||||
![]() The problem is caused I believe by the way you have edited the file, probably using something like Adobe Golive?
Whatever, your editing package has kindly decided to some extra editing! In this case altering { to %7B and } to %7D!! what it should of course look like is: http://www.Mysite.co.uk/{$http_location} This would have been caused in skin1/head.tpl You will also get a similar problem with images location - {$ImagesDir} If you are using Golive, you may need to change your templates to text files not html files to edit them.
__________________
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
|
|||||||
|
|||||||
![]() thanks for the help so far.
this is the line that generates the link. it seems normal, i cant see any thing thats been replaced. <TD>[img]{$ImagesDir}/xlogo.gif[/img]</TD> i am using dreamweaver.
__________________
signature |
|||||||
#4
|
|||||||||
|
|||||||||
![]() Have you checked config.php, that is where the locations are defined.
Check the locations you have set up at the top and also line 286: $http_location = "http://$xcart_http_host".$xcart_web_dir;
__________________
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
|
|||||||
|
|||||||
![]() 286 apears as you showed it.
and the variable at the top is set to the address of my site. |
|||||||
#6
|
|||||||||
|
|||||||||
![]() hmm, well I am not sure where the problem lies.
Something is changing your "{" to other code and that is typically done by html editors. If you are sure that any files you have edited are OK, it could be a server/setup problem, but I don't know. I would be looking at putting back the original files from skin1_original to see if that solves it or not. Maybe someone else can spot the problem, but my experience of the problem is editing files as I say.
__________________
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. |
|||||||||
#7
|
|||||||
|
|||||||
![]() Is there a way to change that link completely? I want it to point back to my main index page on my site, not the index page of my x-cart.
THanks,
__________________
Version 4.0.17 |
|||||||
#8
|
|||||||||
|
|||||||||
![]() Just edit the skin1/head.tpl template.
Look for the link that is on the logo and put in there anything you want. (Presuming you have a bit of html knowledge here - if not just ask)
__________________
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. |
|||||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|