Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Navigation
Latest Addons
AD Gallery 16
SyntaxHighlighte... 42
Newsletters v4.03 103
Facebook Like Box 115
Newsletters v4.02 55
Metro 143
Facebook Connect 161
Shoutbox Panel 123
Redactor for PHP... 102
MI Floating Side... 105
Facebook Login/R... 146
Avatar Studio v2.03 175
Relationship Sta... 93
Sexual Orientati... 111
Fisherman 138
Popular Addons
iTheme2 5789
Arise 5778
User Control v1.23 4608
Event Calendar 4036
Photowidget panel 3878
Radio-Theme red2... 3342
Highslide Gallery 3306
CSS/JavaScript D... 3218
Facebook Connect... 2972
Dynamic Menu 2885
Slideshow Lightb... 2712
L-AMANT 2654
Enigma 2627
2Dark 2601
Black 2565
View Thread
Official Home of PHP-Fusion » General Addon and Modification Support » Code Snippet and functions
Who is here? 1 guest(s)
 Print Thread
Google Translate Bar
redmott
Hello,
How do I get google translate bar to work on my website?
Any help would be appreciated.

I'm a newbie at this Smile
 
smokeman
Hi there.

Where do you see/can get this translate bar ?
 
http://www.phpfusion-tips.dk/
redmott
Hi

http://translate....late_tools

If you go to google translate it will give you a snippet of code to enter into your webpage.
I have no idea where to put this code. I have seen this working on another php fusion site.

Thanks
 
dusk
Go to admin panel, System Admin, banners and put the code in Banner 2.
Edited by dusk on 04-01-2012 16:22
 
http://www.mcnw.be
redmott
Hi Dusk,

Thank you very much for your help, it works Grin
 
dusk
redmott wrote:

Hi Dusk,

Thank you very much for your help, it works Grin



You can always paste that code in a panel if you want it on the side or if you need the banner spaces for something else.

Glad I could help. Smile
 
http://www.mcnw.be
redmott
Hello Dusk,

I have created a panel and pasted the code into it. When I return to site the panel is there but it does nothing, all I see is the name of the panel?


Thanks
 
smokeman
The code for a panel should look like this:
Download source  Code
openside("Translate");

echo "<div id=\"google_translate_element\"></div><script>
function googleTranslateElementInit() {
  new google.translate.TranslateElement({
    pageLanguage: 'da'
  }, 'google_translate_element');
}
</script><script src=\"//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit\"></script>";

closeside();



 
http://www.phpfusion-tips.dk/
redmott
Thanks
 
Jump to Forum:
Similar Threads
Thread Forum Replies Last Post
Google Adsense Content Administration 4 25-04-2013 08:47
Translate Panel Panels and Infusions 6 05-02-2013 07:32
Google Adsense Does Not Show Panels and Infusions 3 31-12-2012 05:05
Google Analytics Ideas for Modifications and Requests 8 27-12-2012 00:34
Google docs - bbcode Panels and Infusions 3 23-10-2012 20:27
Official Home of PHP-Fusion uses cookies. Some may already have been set. Read more about our Cookies here.
Please click the button I Consent Cookies to hide this bar and accept our cookies. If you continue to use the site with no action taken, we'll assume that you consent our cookies anyway.
Cookiebar Panel byVenue