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

eZ debug

Timing: Jan 18 2025 10:27:19
Script start
Timing: Jan 18 2025 10:27:19
Module start 'content'
Timing: Jan 18 2025 10:27:19
Module end 'content'
Timing: Jan 18 2025 10:27:19
Script end

Main resources:

Total runtime0.2635 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0096 588.8359180.8438
Module start 'content' 0.00960.0058 769.679797.9766
Module end 'content' 0.01540.2480 867.6563526.1250
Script end 0.2634  1,393.7813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00411.5410200.0002
Check MTime0.00150.5776200.0001
Mysql Total
Database connection0.00070.269510.0007
Mysqli_queries0.214881.51381410.0015
Looping result0.00130.49291390.0000
Template Total0.247593.910.2475
Template load0.00110.432710.0011
Template processing0.246393.486310.2463
Override
Cache load0.00060.239810.0006
Sytem overhead
Fetch class attribute can translate value0.00170.627010.0017
XML
Image XML parsing0.00040.135510.0004
General
dbfile0.00381.4312200.0002
String conversion0.00000.003430.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0002 secs