Active
Project:
Facebook Share
Version:
7.x-1.3
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Sep 2010 at 18:07 UTC
Updated:
21 Feb 2012 at 11:55 UTC
I cannot get the share widget to show on node pages that us panel pages.
I have looked in widgets and miscellaneous in the panel page content categories.
How can I add this to panel pages?
Comments
Comment #1
jenifertucker commentedHaving the same problem... anyone help? Assumed it would appear in the 'widgets' to select from.
Comment #2
lolandese commentedA temporary work-around independent from the module.
Next step would be to use the URL alias instead of the nid. Any suggestions?
A working demo.
If instead you want to generate a FB button in a View, go here.
Comment #3
summit commentedSubscribing, anyone has a native panels solution?
greetings,
Martijn
Comment #4
itserich commentedThis button looks great but I also use panels.
Comment #5
baff commentedI tried the code in #2 - but I think there is a bug in it
Comment #6
lolandese commented@ baff: More specifically?
Comment #7
baff commentedIt is working. had to manually clean the code after pasting - this comes I think with the copy and paste procedure where some spaces get lost.
Comment #8
boardyuk commentedI know it's been a while since this was last posted in but just thought I'd share how to get URL aliases working in the buttons, I'm using a modified version of #2 with the code being as follows -
That uses Drupals url() function to find the alias of the node.
Simple really :-)
Comment #9
lolandese commented#8: Tested. Also in D6 it works. Thanks for sharing. Enjoy the blue, Boardy.
Comment #10
matteblacke commentedThis is killing the Javascript for a Google maps CCK (Gmaps) on the same page, any idea why?
Comment #11
matteblacke commentedUsing Jquery to append the script tag seems to have fixed the problem, no idea why though
$('head').append("");Comment #12
eidoscomBetter if you use this code: