Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / facebook like button and google + button in Header.

facebook like button and google + button in Header.

Views: 3,299

Results 1 to 6 of 6
21 Dec 2011, 3:00 AM
#1
horrific_ending avatar

horrific_ending

New Zenner

Join Date:
Oct 2009
Posts:
90
Plugin Contributions:
0

facebook like button and google + button in Header.

Ok so i have two examples of what i am trying to do. Not sure where to put this or make this happen. Been searching this forum and havent quite found anyone that has attempted or did this.

Ok so i want to add a facebook like button and google + button overlaping my header. look at the picture below to see where i want to put it.

http://www.hidguy.net/images/forumwebhelpstuff/example1.gif

and the below photo is what i an example of what i am talking about if i didnt explain it to well.

http://www.hidguy.net/images/forumwebhelpstuff/example2.gif

basically i want my website to look like the above but with an extra button. any ideas where this code would be put or do i have write some code to make this happen? not sure.

21 Dec 2011, 2:09 PM
#2
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: facebook like button and google + button in Header.

im not exactly sure how dose codes look like but if you need anything to appear on your header through out your site. you need to add the code to your tpl_header.php file .

if you used custom template , then this file should be in your custom template directory within common folder.

before any code addition and changes, backup your site . test everything locally but duplicating your site and database on your local server .

4 Jan 2012, 6:17 AM
#3
horrific_ending avatar

horrific_ending

New Zenner

Join Date:
Oct 2009
Posts:
90
Plugin Contributions:
0

Re: facebook like button and google + button in Header.

So i asked this question before. Not much help on this issue. But i was wondering if anyone had added a facebook like and or google plus button in their header? If so how did you do it? i am super interested in this and would love it is someone could help me out with this.

4 Jan 2012, 2:41 PM
#4
usernamenone avatar

usernamenone

Totally Zenned

Join Date:
Sep 2006
Posts:
541
Plugin Contributions:
0

Re: facebook like button and google + button in Header.

To be honest your not getting much help because you have changed you zen cart code for your logo.
commented it out and moved it somewhere.

If you have left the original code in tact you would have probably had several helpers on your project.

4 Jan 2012, 2:47 PM
#5
usernamenone avatar

usernamenone

Totally Zenned

Join Date:
Sep 2006
Posts:
541
Plugin Contributions:
0

Re: facebook like button and google + button in Header.

That site on the bottom has logo on the left (like the original code you commented out) background same color as the logo then image links then the header serach.

4 Jan 2012, 3:46 PM
#6
usernamenone avatar

usernamenone

Totally Zenned

Join Date:
Sep 2006
Posts:
541
Plugin Contributions:
0

Re: facebook like button and google + button in Header.

I found you the buttons and you can place them anywhere you would like

<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><br /
<a class="addthis_button_tweet"></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4e1cb9cd525e5a84"></script>
<!-- AddThis Button END -->