Jalbum and Google +

Keltic Ice Man

Glossary King
Messages
3,179
Name
Allan
Edit My Images
Yes
Hi there

I dont suppose anyone has tried putting a google+ button on their jalbum photo albums?

I'm use a form of the chameleon skin, but cant work out where to put the code for the google + button.

I've tried asking in the Chameleon forum, but so far no reply (after about 2 weeks) so thought someone here might have tried it.

Thanks

Allan

PS my jalbums are at http://www.kelticrose.co.uk/portraitpics/index.html for example.
 
Hi Allan,

Where about are you wanting to stick the button?

Also what is the code for the Google+ button, can you post it up please?

When I want to add things to a Jalbum page the only place to really do it is on the index.html page that gets generated when you make the album, just open it up in a text editor and pop your code in at the appropriate place.
 
Thanks for the reply Keith

this is the code for putting +1 on your pages but cant work out if this would go in the Chameleon Skin's "Header or Footer" section of the options, or if I need to change one of the template files

Code is
< !-- Place this tag where you want the +1 button to render -->
< g:plusone></g:plusone>

< !-- Place this tag after the last plusone tag -->
< script type="text/javascript">
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
< /script>

I'm looking to try to get it self generated, and see if it will put the +1 on every photo page.

Though I must admit I haven't tried self inserting it into an index.html yet.
 
Just had a quick play and could not get it to self generate by putting it in Chameleon Skin's "Header or Footer" section
 
Back
Top