I'm a big fan of sharing so I was pleased to see the Buzz about Google +1 today.
For details you can go to Google +1
so, I certainly wanted to try the button out on a pligg site so I got to work on a quick hack for the Social Pro theme.
Step One:
Just before the end body tag in pligg.tpl ad this:
Next:Code:{literal}<script type="text/javascript" src="http://apis.google.com/js/plusone.js"></script>{/literal}
edit link_summary.tpl
Find:
Add this:Code:{checkActionsTpl location="tpl_pligg_story_title_start"} {if $use_title_as_link eq true}
This shows the button on the story page only.Code:{checkActionsTpl location="tpl_pligg_story_title_start"} {if $pagename eq "story"} <div style="float: right; top:0px;"> <g:plusone size="medium"></g:plusone> </div> {/if} {if $use_title_as_link eq true}
Want an example of how it looks...see screen shot.
I'll bet it could be put into a module modeled after the Facebook sharer mode :-)



Reply With Quote



