My website is configured with Panels. I can select a miscellaneous item FB like button and add that to my panel. It shows perfectly. But...when I use the FB like button, the reference in my Facebook account is to the home-page of the site (or the URL you define in the FB like button module block settings).

But this is not the thing you want. Is it possible to let the FB like button to refer to the exact URL?

CommentFileSizeAuthor
#4 fblikepanels.zip155.45 KBpwaterz

Comments

pwaterz’s picture

I could create this relatively easy, if the maintainer is interested.

andrea.brogi’s picture

Hi pwaterz,
i'm not the maintainer but I'm using FLB into panel (node template panel) and I'm interesting to know how refer to the node url instead of Home Page.
May you explain.......

dmsmidt’s picture

Hi,

I've already created a patch that enabled the FB button to the current page url to be displayed in a block:
http://drupal.org/node/1167194

This way you can also place it through panels.

Maintainer did like the idea but nothing happened jet.

pwaterz’s picture

StatusFileSize
new155.45 KB

Alright here is a new version of the module with panels integration. I did not know how to create a patch that added new files and folders, so I had to just zip up the module. If someone know's how to create a git patch that includes new folders and files, let me know how to do it and I will create it.

pwaterz’s picture

Also that could be cleaned up a bit, if the maintainer of fblike would cleanup his module a little. The main thing that should be rewritten about fblike module is to add a theme function for to generate the facebook iframe link.

dmsmidt’s picture

I didn't check your version yet, have you looked at my proposal patch? Because I cleaned the module already a bit (in way of renaming and more). I mailed the maintainer a couple of days ago, but no response ...

Patching can be learned from here: http://drupal.org/node/707484

pwaterz’s picture

I know how to make a git patch when editting exsiting files, but when you add files git diff does not pick on that.

Allan Walker’s picture

subscribing, I am after this for D7

theullrich’s picture

I am also intrested in this for d7

theullrich’s picture

haha i feel stupid the drupal 7 version is here
http://drupal.org/node/1167194

ecvandenberg’s picture

Hi pwaterz,

Thanks for your effort. I have installed your zipped module. Cleared all cache (including my browser's). But the Facebook link still refers to the homepage and not the specific page. Do I have to do something specific after installing your zipped module?

gvso’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

We are not fixing this issue as Drupal 6 has reached end of life