A philosophical question

Author Message

PaoloMellerio kk

Friday 09 January 2004 12:46:55 am

Hi,

I've a problem, more philosophical than technical.
In my site, the anonymous user must have the possibility to create a Curriculum Vitae and when it makes this, an email must be submitted to admin-site. I've solved the problem creating a specific class for the curriculum vitae and giving the right permission rules to the anonymous user for creating it. All works, and the curricula created are visible in a specific folder in my admin interface.
The question is: what can I make for send an email to admin-site every time a new curriculum is submitted; i don't want to make the user login; it simply goes in the appropriate section of my site and create his curriculum.
Is this the correct approach to solve the problem? (I don't want to use the mechanism form-information collector, because the curriculum must be stored and not only sended by email to the admin-site)

Any idea?

Thx in Advice

Paolo Mellerio (Clikka!com)

Paolo Mellerio
http://www.clikka.com

Dominik Stoeppel

Friday 09 January 2004 10:39:31 am

hi,

you can use the notification system. Go to the folder in the admin interface and press "keep me updated".
Every time a user publish something in this folder you will be informed.

After this you must config the notification system /cronjobs, so the mails are generated automaticly.

look here :
http://www.ez.no/developer/ez_publish_3/documentation/configuration/configuration/cron_jobs

(there are some problems with notification system in 3.3.1 at the moment)

--
dominik

Marco Zinn

Friday 09 January 2004 12:18:27 pm

Dominik,
I'd like to use the notification system on 3.3 soon. i just did some tests with it with 3.2-3 and they like fine.
What's wrong in 3.3... Can you give me a hint (or links to bug reports?)
I know, that there was some change concerning the use of the "primary key" (user-id instead of email-adress), which i absoluty will need.

Paolo, i agree 100% with dominik: The notification system is exactly, what you need ;)

Marco
http://www.hyperroad-design.com

Dominik Stoeppel

Saturday 10 January 2004 1:04:08 pm

hi marco,

i have many problems with ez at the moment. the notification is only one of them (have make many tests this week, and most problems doesn't made by me :) )

You can look here :
http://ez.no/developer/ez_publish_3/bug_reports/notification_system
http://ez.no/developer/ez_publish_3/bug_reports/fatal_error_runcronjobs

and if you have time & an answer for this ;)
http://ez.no/developer/ez_publish_3/bug_reports/placements_in_plain_package_wrong
http://ez.no/developer/ez_publish_3/forum/install_configuration/problem_with_siteaccess_vhost_ie6

--
dominik

Marco Zinn

Saturday 10 January 2004 1:57:06 pm

Dominik,
the first two (bug reports) very much seem to be some SQL error.
Kaare send an SQL fix, which was in the update scripts, but not in the 3.3-1 "full" release.
For the "placement" bug: I didn't quite understand the bug report.
For the "host map" problem: I wrote a comment, but I'd assume, that it IS a cookie problem. May be a code bug anyway.
If you can reproduce it 100%, file a bug report.

Marco

Marco
http://www.hyperroad-design.com

Dominik Stoeppel

Saturday 10 January 2004 2:26:12 pm

hi marco,

it's the location (path) to the object. placement is not the right name . (edit_placement.tpl is the template for location)

thanks for helping with the ie6 problem :)

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 11:15:52
Script start
Timing: Jan 18 2025 11:15:52
Module start 'layout'
Timing: Jan 18 2025 11:15:52
Module start 'content'
Timing: Jan 18 2025 11:15:53
Module end 'content'
Timing: Jan 18 2025 11:15:53
Script end

Main resources:

Total runtime0.7250 sec
Peak memory usage4,096.0000 KB
Database Queries68

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0124 587.9063152.6250
Module start 'layout' 0.01240.0025 740.531339.4297
Module start 'content' 0.01490.7089 779.9609618.6797
Module end 'content' 0.72380.0012 1,398.640616.8047
Script end 0.7250  1,415.4453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4271160.0002
Check MTime0.00130.1747160.0001
Mysql Total
Database connection0.00600.826310.0060
Mysqli_queries0.659890.9962680.0097
Looping result0.00080.1099660.0000
Template Total0.682394.120.3411
Template load0.00200.276620.0010
Template processing0.680393.824620.3401
Template load and register function0.00010.012810.0001
states
state_id_array0.00300.413010.0030
state_identifier_array0.00100.137920.0005
Override
Cache load0.00170.2365530.0000
Sytem overhead
Fetch class attribute can translate value0.00070.092030.0002
Fetch class attribute name0.00250.349880.0003
XML
Image XML parsing0.00100.139730.0003
class_abstraction
Instantiating content class attribute0.00000.002290.0000
General
dbfile0.00080.1158220.0000
String conversion0.00000.001140.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
3content/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
13content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
9content/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: 33
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs