[SOLVED] "share" plugin not working in G2
|
imarefuzor
Joined: 2007-09-09
Posts: 16 |
Posted: Fri, 2012-08-17 18:07
|
|
I'm trying to add Facebook functionality to my website. Found a plugin called "share" loaded it, installed it. Can see that it is active. Tried to activate it in Themes/Blocks and nothing. Not visible. Tried it five ways from Sunday, not visible. Finally checked My log files and everytime i tried to load this it generated this error message: [Notice] Undefined index: photoBlocks2 in file D:\hshome\mikeleac\g2data\smarty\templates_c\%%1038871206\carbon\%%B9^B9E^B9E4A752%%photo.tpl.php on line 126 Here is my info: |
|

Posts: 8339
Worked for me.
The plugin adds css/javascript to the <head /> and I don't see it on your site.
<style> html .fb_share_button { display: -moz-inline-block; display:inline-block; padding:1px 20px 0 5px; height:15px; border:1px solid #d8dfea; background:url(http://b.static.ak.fbcdn.net/rsrc.php/zAB5S/hash/4273uaqa.gif) no-repeat top right; } html .fb_share_button:hover { color:#fff; border-color:#295582; background:#3b5998 url(http://b.static.ak.fbcdn.net/rsrc.php/zAB5S/hash/4273uaqa.gif) no-repeat top right; text-decoration:none; } </style> <script> function fbs_click() { u=location.href; t=document.title; window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(u)+'&t='+encodeURIComponent(t),'sharer','toolbar=0,status=0,width=626,height=436'); return false; } if (top.location != location) { top.location.href = document.location.href; } </script>-s
All New jQuery Minislideshow for G2/G3
Posts: 16
Ok, new problem. Can't add "share" globally, but can if I add it one gallery at a time. Problem is after I log out as admin is no longer visible. Guest permissions are "view all versions".
Posts: 16
I got it to work finally, had to add "share" one gallery at a time (300 times).