eZ Community » Forums » Setup & design » Facebook integration
expandshrink

Facebook integration

Facebook integration

Sunday 13 June 2010 4:18:21 pm - 4 replies

Hello friends in need!

I cant find anything about integration of facebook into ez Publish! O'm Using Version 4.2.0 and i want to include a "Like-Box", a "Facebook Coment-Box and an "iLike Button (for Articles). I installed Facebook Connect but it didnt work. I tryed using iFrames, it dint work.

I activated HTML ( ithink so) but it doesnt work.

Lot of "Questions" do you have any answers?

Sunday 13 June 2010 11:08:59 pm

Most of the questions are better put on the facebook connect and developer forums.

One thing to make sure works is if you use xd_receiver.htm file for fb communication, make sure it's not blocked as in rewrite rules doesn't work. So open the url in your browser to make sure it is not served by eZ Publish (if it's not working you'll get an error page from your own site instead of the html in the xd_reciver file)

Tuesday 22 June 2010 3:38:16 pm

The "like button" is easily done:

(of course you have to change the settings so suit your needs)

<iframe src={concat( 'http://www.facebook.com/plugins/like.php?href=', $node.url|ezurl('no', 'full'), '&amp;layout=standard&amp;show_faces=false&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=35')} scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:35px;" allowTransparency="true"></iframe>

Tuesday 22 June 2010 10:09:37 pm

Thanks! I found the code you posted on another site but its a most easier way to add

$node.url|ezurl

instead of the whole url!

Modified on Tuesday 22 June 2010 10:10:44 pm by Timo Bahr

Friday 10 September 2010 12:01:21 pm

Hi,

I'm trying to add this to a blog post.tpl

thing is, it works fine on the actual blog post but it doesn't appear in the blog list under the text.

If I paste the code into the body using a literal tag then that gives me the effect I want but it's very time consuming.

Is there a way to make it automatic???

Modified on Friday 10 September 2010 12:12:11 pm by Andy Boston

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from