Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: Make Logo at Top, a link to home page  (Read 810 times)

Offline MarkSmith

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-1
    • View Profile
Make Logo at Top, a link to home page
« on: August 16, 2017, 01:53:20 PM »
I asked how you make the logo at the top of the page, a link back to the home page.  The response I got was:

Just change url inside your public_html/storefront/view/default/template/common/header.tpl
You can do this manually via hard code or via some hook. First way easier.

Please advise how you do this.  Specifically, what do I need to put im the template/common/header and where?

Thanks
Mark

Offline llegrand

  • Hero Member
  • *****
  • Posts: 1495
  • Karma: +390/-2
    • View Profile
Re: Make Logo at Top, a link to home page
« Reply #1 on: August 16, 2017, 06:59:02 PM »
What cart version are you using?  1.2.10?

What template -  the default or a third-party?

If default template have you modified the template?

How did you upload your logo?  via the admin panel  or some other way?

It has been my experience since version 1.1.3  that if the logo is uploaded via the admin panel,  on the design edit 
see this doc links for info and a good video 
http://docs.abantecart.com/pages/design/templates/edit.html

the header code will use the the store URL that is set in the
admin panel   System > settings> store detail
no further coding tweaks are required

If you have altered your coding you can look at the basic coding for the hook,  or if a third-party template -  contact that developer for assistance.

Otherwise default coding works as you have defined it.



 


 

Powered by SMFPacks Social Login Mod