Author Topic: Bookmarks with Google +1 Button for virtuemart?  (Read 4297 times)

ssrkrishna

  • Beginner
  • *
  • Posts: 16
Bookmarks with Google +1 Button for virtuemart?
« on: July 06, 2011, 19:44:06 pm »
Hi Every one,

I am running a shopping portal. I would like to have social book marking for each virtue mart product incliding the new google+.  I searched a lot in the web but i am unable find a proper one. I am attaching an image of the book markings how i am planning to have.

Thanks for ur replies.

[attachment cleanup by admin]

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10404
  • VirtueMart Version: 3+
Re: Bookmarks with Google +1 Button for virtuemart?
« Reply #1 on: July 06, 2011, 21:08:45 pm »
http://forum.virtuemart.net/index.php?topic=80560.0

ALSO,  for like google + 1

<g:plusone size="medium"></g:plusone>
YOU ALSO, have to add the google java link to your template.

I am implementing this with my new site. I have just used the buttons.tpl template to hold facebook, google, tweet, and print button.
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

ssrkrishna

  • Beginner
  • *
  • Posts: 16
Re: Bookmarks with Google +1 Button for virtuemart?
« Reply #2 on: July 06, 2011, 21:13:40 pm »
Can you please let me know the complete code for keeping this book marks in virtuemart product page. I would like to add this. I am new to the virtuemart. So please guide me.

sakara

  • Beginner
  • *
  • Posts: 12
    • PazLab
Re: Bookmarks with Google +1 Button for virtuemart?
« Reply #3 on: September 14, 2011, 18:25:26 pm »
Try to make an AddThis account here (it's free):

http://www.addthis.com/


and then add this lines wherever you want to your flypage.tpl.php (in your personal folder under components>com_virtueamart>themes>YOURTHEMENAME>templates>product_details>YOURFLYPAGENAME-flypage.tpl.php):

<!-- AddThis Button BEGIN -->
            <div style="float:left; padding-top: 20px; padding-right: 5px; ">Share: </div><div class="addthis_toolbox addthis_default_style addthis_32x32_style " style="padding-top: 20px; float: right;">
            <a class="addthis_button_facebook"></a>
            <a class="addthis_button_twitter"></a>
            <a class="addthis_button_google_plusone"></a>
            </div>
            <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=YOURADDTHISPROFILEID"></script>
<!-- AddThis Button END -->

(if you want different layout...try to play with different configuration in addthis website)
obviously remember to change YOURTHEMENAME, YOURFLYPAGENAME and YOURADDTHISPROFILEID before upload!!!!

;)