1

Topic: google +1 button

Hello,

I would like to integrate the code in the footer for a google +1 button.

Unfortunately, this does not appear.

One of you has already implemented this button?

Thx
Steto

2

Re: google +1 button

Yep. Follow the instructions on the Google +1 page
http://www.google.com/webmasters/+1/button/

Don't change the language because it conflicts with lang on vld.

3

Re: google +1 button

I need all the code to insert into the footer.tpl? or in another file?

4

Re: google +1 button

Insert the following just ABOVE </body> in your footer:

<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>

Insert

<g:plusone></g:plusone>

where you want it in the footer  (look for the following code starting on about line 8:

<div id="footer">
                <!-- IF settings.enable_tellfriend OR settings.enable_openinviter -->
                    {anchor:url1="invitefriends/",url2="index.php?m=invitefriends",name="core|menu_invitefriends"} |
                <!-- ENDIF -->
                <!-- IF settings.enable_feedback -->
                    {anchor:url1="contactus/",url2="index.php?m=contactus",name="core|menu_contactus"} |
                <!-- ENDIF -->
                {pages:tag="footer",cache_time="10"}
                <!-- CREDIT LINE: UNAUTHORIZED REMOVAL WILL VOID LICENSE -->
                <!-- IF settings.enable_poweredby_link -->| {app_copyright}<!-- ENDIF -->
                | <a href="/page/general/privacy/">Privacy Policy</a>
                | <a href="/page/general/About_Us/">About Us</a>
                | <g:plusone></g:plusone>
            </div>

Last edited by DesperateSailors (2011-07-19 12:51:02)

5

Re: google +1 button

It is not possible to choose another language besides English?

6

Re: google +1 button

I tried, but it caused VLD to crash. I suspect that the {lang:...} statement caused a conflict.

7

Re: google +1 button

DesperateSailors wrote:

I tried, but it caused VLD to crash. I suspect that the {lang:...} statement caused a conflict.

User DDNY gave me the right solution into another topic.

Just add the language code this way:

{ldelim}lang: 'de'{rdelim}

instead of:

{lang: 'de'}

Remember "de" is for German. Set your language.

Thanks to DDNY.

Last edited by orange_slice (2011-08-17 16:05:37)