email to friend functionality

Author Message

James Ward

Monday 01 September 2003 9:10:29 pm

Has anyone duplicated ez 2.2.x's "email article to a friend" functionality in ez 3? If so, please post a how-to. If not, any suggestions on how best to go about it would be much appreciated.

working at www.wardnet.com
blogging at www.jamesward.ca

Jan Borsodi

Wednesday 03 September 2003 1:42:46 am

There's the tipafriend functionality in the content module, for instance try entering this in the url:
content/tipafriend

It use the template
design/standard/templates/content/tipafriend.tpl
for displaying the page and
the template
design/standard/templates/content/tipafriendemail.tpl
for sending out the email.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

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 31 2025 06:16:14
Script start
Timing: Jan 31 2025 06:16:14
Module start 'layout'
Timing: Jan 31 2025 06:16:14
Module start 'content'
Timing: Jan 31 2025 06:16:15
Module end 'content'
Timing: Jan 31 2025 06:16:15
Script end

Main resources:

Total runtime0.8611 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0046 588.1328151.2109
Module start 'layout' 0.00460.0019 739.343836.6484
Module start 'content' 0.00640.8538 775.9922922.7813
Module end 'content' 0.86020.0008 1,698.77347.8516
Script end 0.8611  1,706.6250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.3347160.0002
Check MTime0.00120.1409160.0001
Mysql Total
Database connection0.00060.068510.0006
Mysqli_queries0.820195.2436540.0152
Looping result0.00040.0471520.0000
Template Total0.835797.120.4179
Template load0.00180.213820.0009
Template processing0.833996.837620.4169
Template load and register function0.00120.142610.0012
states
state_id_array0.00110.123410.0011
state_identifier_array0.00120.144120.0006
Override
Cache load0.00150.1725150.0001
Sytem overhead
Fetch class attribute can translate value0.00050.054820.0002
Fetch class attribute name0.00170.197340.0004
XML
Image XML parsing0.00190.226220.0010
class_abstraction
Instantiating content class attribute0.00000.000940.0000
General
dbfile0.00190.2254230.0001
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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs