ihackpro Posted February 18, 2011 Share Posted February 18, 2011 Hi,I've installed a shop in a folder called SHOP, then changed the direct acces to the shop at my hosting so people can acces directly with "www.domain.com", but the shop is still in the folder, now I have a problem when clicking the Home link, it points to the SHOP folder, not the direct domain, so I get an error.Do yo know how to solve this or where I do have to change the link? or can I hide this Home link?Thanks in advance. Link to comment Share on other sites More sharing options...
snowmanred2 Posted November 17, 2011 Share Posted November 17, 2011 I am having the exact same problem. My entire site is not built in prestashop because there was no template that suited my needs. The user switches over to Prestashop when they click on a product. When you click on the "Home" link it takes you to the shop home instead of back to the main page of my site. I noticed that your post was rather old and nobody had commented on it. I am trying to figure out how to point this link to where i want it to go right now. If I get it figured out I will post the answer. If you have already figured it out please do the same and save me the trouble. Link to comment Share on other sites More sharing options...
snowmanred2 Posted November 17, 2011 Share Posted November 17, 2011 I am having the exact same problem. My entire site is not built in prestashop because there was no template that suited my needs. The user switches over to Prestashop when they click on a product. When you click on the "Home" link it takes you to the shop home instead of back to the main page of my site. I noticed that your post was rather old and nobody had commented on it. I am trying to figure out how to point this link to where i want it to go right now. If I get it figured out I will post the answer. If you have already figured it out please do the same and save me the trouble. Link to comment Share on other sites More sharing options...
bighenry Posted January 27, 2012 Share Posted January 27, 2012 Hi Folks I know this is an old post but anyone know how this was solved? Many thanks Link to comment Share on other sites More sharing options...
Mike Kranzler Posted January 27, 2012 Share Posted January 27, 2012 Hi bighenry, Can you please post your URL so that I can take a look at this for you? -Mike Link to comment Share on other sites More sharing options...
bighenry Posted January 27, 2012 Share Posted January 27, 2012 Hi Mike What I am trying to acheive is: I have my Prestashop web site installed in a folder http://www.4staffordshire.com/shop/index.php I want to change all references to the 'Home' link which points to the url above to http:www.4staffordshire.com/index.php which will take people back to my Joomla site home page (which is not installed yet) Many thanks BigHenry Link to comment Share on other sites More sharing options...
Mike Kranzler Posted January 27, 2012 Share Posted January 27, 2012 Ahh I see, so you want the header logo to direct your users somewhere other than the homepage of your shop. In that case, please open your theme's header.tpl file (back it up first) and locate this line: <a id="header_logo" href="{$base_dir}" title="{$shop_name|escape:'htmlall':'UTF-8'}"> Then, just replace $base_dir with the URL you would like to use instead, and let me know if that resolves your issue! -Mike Link to comment Share on other sites More sharing options...
bighenry Posted January 27, 2012 Share Posted January 27, 2012 Hi Mike I am using V1.4.6.2 and the code is different any thoughts on this? BigHenry Link to comment Share on other sites More sharing options...
Mike Kranzler Posted January 27, 2012 Share Posted January 27, 2012 What is the code on that line for you? It should be line 74. -Mike Link to comment Share on other sites More sharing options...
bighenry Posted January 27, 2012 Share Posted January 27, 2012 Hi Mike Here is the code I have <!-- Header --> <div id="header"> <a id="header_logo" href="{$link->getPageLink('index.php')}" title="{$shop_name|escape:'htmlall':'UTF-8'}"> <img class="logo" src="{$img_ps_dir}logo.jpg?{$img_update_time}" alt="{$shop_name|escape:'htmlall':'UTF-8'}" {if $logo_image_width}width="{$logo_image_width}"{/if} {if $logo_image_height}height="{$logo_image_height}" {/if} /> </a> BigHenry Link to comment Share on other sites More sharing options...
Mike Kranzler Posted January 27, 2012 Share Posted January 27, 2012 In that case, put the site URL you want it to direct to in the place of $link->getPageLink('index.php') and let me know if that works for you. -Mike Link to comment Share on other sites More sharing options...
bighenry Posted January 27, 2012 Share Posted January 27, 2012 Hi Mike Yes that worked for the logo and based on the info you gave me I was able to alter the breadcrumb.tpl to alter the 'Home' link there too. So once again many thanks for your time BigHenry Link to comment Share on other sites More sharing options...
Mike Kranzler Posted January 30, 2012 Share Posted January 30, 2012 I'm glad I could help! Happy Monday! -Mike Link to comment Share on other sites More sharing options...
Recommended Posts