Additional workflows, editing user attributes

Author Message

Norman Leutner

Saturday 05 November 2005 2:52:59 am

I´ll try to keep it simple:

I want to realise a shop system that uses a point system.
The points are a additional user attribute.

If the user publishes specific objectclass,
his point account should be decreased by 1.

What's the right way to do this?

Should a use an extension and publish the object there or should I use a template operator to incease the point account?

In addition I need some workflows if this object is edited that send some mails.

Mit freundlichen Grüßen
Best regards

Norman Leutner

____________________________________________________________
eZ Publish Platinum Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh

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

Main resources:

Total runtime1.0687 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 588.0469151.2266
Module start 'layout' 0.00470.0032 739.273436.6797
Module start 'content' 0.00791.0598 775.9531493.2031
Module end 'content' 1.06770.0010 1,269.15637.9688
Script end 1.0687  1,277.1250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3073160.0002
Check MTime0.00140.1295160.0001
Mysql Total
Database connection0.00060.054210.0006
Mysqli_queries1.033996.7363460.0225
Looping result0.00040.0377440.0000
Template Total1.039697.320.5198
Template load0.00210.192220.0010
Template processing1.037697.083420.5188
Template load and register function0.00010.008710.0001
states
state_id_array0.00150.140310.0015
state_identifier_array0.00100.097520.0005
Override
Cache load0.00160.1511120.0001
Sytem overhead
Fetch class attribute can translate value0.00060.054710.0006
Fetch class attribute name0.00060.057320.0003
XML
Image XML parsing0.00050.043810.0005
class_abstraction
Instantiating content class attribute0.00000.000420.0000
General
dbfile0.00090.0809170.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/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: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs