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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 30 2025 22:29:38
Script start
Timing: Jan 30 2025 22:29:38
Module start 'layout'
Timing: Jan 30 2025 22:29:38
Module start 'content'
Timing: Jan 30 2025 22:29:39
Module end 'content'
Timing: Jan 30 2025 22:29:39
Script end

Main resources:

Total runtime1.0557 sec
Peak memory usage8,192.0000 KB
Database Queries72

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 588.1250151.2109
Module start 'layout' 0.00570.0042 739.3359220.6875
Module start 'content' 0.00991.0449 960.02344,599.3984
Module end 'content' 1.05480.0009 5,559.421915.8594
Script end 1.0557  5,575.2813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.3521160.0002
Check MTime0.00130.1224160.0001
Mysql Total
Database connection0.00080.074010.0008
Mysqli_queries0.945989.5928720.0131
Looping result0.00080.0740700.0000
Template Total0.999194.620.4995
Template load0.00170.163720.0009
Template processing0.997394.467620.4987
Template load and register function0.00150.143210.0015
states
state_id_array0.00150.137710.0015
state_identifier_array0.00150.138720.0007
Override
Cache load0.00150.1428320.0000
Sytem overhead
Fetch class attribute can translate value0.00210.201750.0004
Fetch class attribute name0.00220.2055100.0002
XML
Image XML parsing0.00920.870050.0018
class_abstraction
Instantiating content class attribute0.00000.0022110.0000
General
dbfile0.00950.9033350.0003
String conversion0.00000.000740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 25
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs