Creating a Event

Author Message

Mahesh Arvind

Wednesday 12 May 2004 5:49:25 am

Hi,

I am creating a new event for sending mails when an user submits an article to the site. I am using a workflow to send the mail before it is approved. I have created a new directory "resourceemail" under kernel/classes/workflowtypes/event. However I am getting only "Event/" in the pull down menu in workflows. Can anyone tell me am I doing this right or do I need to add anything more to do this?

Thanks
Mahesh

Thanks & Regards
Mahesh

Kåre Køhler Høvik

Thursday 13 May 2004 5:20:58 am

Hi

Please see the documentation on creating new events : http://ez.no/ez_publish/documentation/development/extensions/workflow_events/creating_a_new_event

--
Kåre høvik

Kåre Høvik

Mahesh Arvind

Thursday 13 May 2004 6:06:53 am

Hi,

I have followed the http://ez.no/ez_publish/documentation/development/extensions/workflow_events/creating_a_new_event. But it only comes as "Event/" in workflow pull down menu. The event name does not appear here.

Thanks
Mahesh

Thanks & Regards
Mahesh

Mahesh Arvind

Thursday 13 May 2004 6:31:20 am

Got it. I have made a typo error in the constructor function

Thanks & Regards
Mahesh

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 18 2025 23:20:23
Script start
Timing: Jan 18 2025 23:20:23
Module start 'layout'
Timing: Jan 18 2025 23:20:23
Module start 'content'
Timing: Jan 18 2025 23:20:24
Module end 'content'
Timing: Jan 18 2025 23:20:24
Script end

Main resources:

Total runtime1.4932 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 587.8125152.6094
Module start 'layout' 0.00670.0041 740.421939.4141
Module start 'content' 0.01081.4810 779.8359552.1875
Module end 'content' 1.49170.0014 1,332.023412.1875
Script end 1.4932  1,344.2109 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2154160.0002
Check MTime0.00130.0843160.0001
Mysql Total
Database connection0.00080.056710.0008
Mysqli_queries1.439596.4033600.0240
Looping result0.00070.0457580.0000
Template Total1.440196.420.7200
Template load0.00210.140120.0010
Template processing1.438096.302320.7190
Template load and register function0.00010.005910.0001
states
state_id_array0.00310.209610.0031
state_identifier_array0.00190.128720.0010
Override
Cache load0.00170.1139230.0001
Sytem overhead
Fetch class attribute can translate value0.00060.043320.0003
Fetch class attribute name0.00180.119060.0003
XML
Image XML parsing0.00220.146620.0011
class_abstraction
Instantiating content class attribute0.00000.000780.0000
General
dbfile0.00310.2104210.0001
String conversion0.00000.000640.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
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/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: 20
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs