Forums / Setup & design / Facebook share button

Facebook share button

Author Message

Sandra Parente

Monday 08 June 2009 10:25:12 am

I would like a facebook share button to include in my full/article.tpl
I included the code as it is, then I did a .js to be loaded in pagelayout, I tried with .php external file, nothing works: I receive a http://www.facebook.com/posted.php?id=11... but the link isn't posted.

Has someone already solved this in eZ Publish?

Thanks for help.

Sandra Parente
www.netbliss.it

Cori Roberts

Thursday 11 June 2009 7:48:40 am

Hi Sandra!

I think there is a new extension that does this for you in the Ez Projects repository. Let me know what you find as I'll be trying to add our facebook next.

Thanks!
C

Patrick Kaiser

Friday 12 June 2009 2:18:16 am

also make sure that you add the facebook xml-namespace to your opening html tag:

before:

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">

after:

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml" xml:lang="de" lang="de"> 


Best regards,

Patrick

Andreas Kaiser

Tuesday 16 June 2009 9:54:45 am

This is the facebook connect extension:

http://projects.ez.no/facebook_connect

I have test it in the example site and it works well, but couldn't test it in depth...

eZ Partner in Madrid (Spain)
Web: http://www.atela.net/

Neo Pixel

Friday 19 June 2009 2:31:08 am

I use "addthis" code in the template.

http://www.addthis.com

Asking stupid questions so you don't have to!

Sandra Parente

Saturday 20 June 2009 1:18:33 am

Thanks, "addthis" button works perfectly, but I'll try the facebook connect extension, it looks very interesting.

Sandra Parente
www.netbliss.it