First time user of Portal need advice on code
Posted: 18. November 2017 13:28
I have just started to set up my site and am so pleased to find your portal appears to work!
My question is with code.
I have tried to place the code for google translate in a custom module but nothing shows up.
The code is
I have tried clicking both options in module
Activate BBCode for the custom block
BBCode could be used in this box. If BBCode is not activated, HTML will be parsed.
But code does not appear.
Any advice please. this is important to me as I would like to use code in my site
Thx in advance
My question is with code.
I have tried to place the code for google translate in a custom module but nothing shows up.
The code is
Code: Select all
[b]<div id="google_translate_element"></div><script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: 'en'}, 'google_translate_element');
}
</script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>[/b]
Activate BBCode for the custom block
BBCode could be used in this box. If BBCode is not activated, HTML will be parsed.
But code does not appear.
Any advice please. this is important to me as I would like to use code in my site
Thx in advance