Forums / General / A philosophical question

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 :)

eZ debug

Timing: Jan 30 2025 01:06:16
Script start
Timing: Jan 30 2025 01:06:16
Module start 'content'
Timing: Jan 30 2025 01:06:16
Module end 'content'
Timing: Jan 30 2025 01:06:16
Script end

Main resources:

Total runtime0.1305 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 587.9063180.8438
Module start 'content' 0.00650.0061 768.750097.8203
Module end 'content' 0.01270.1178 866.5703527.0234
Script end 0.1304  1,393.5938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00312.3995200.0002
Check MTime0.00130.9696200.0001
Mysql Total
Database connection0.00100.745610.0010
Mysqli_queries0.088567.85381410.0006
Looping result0.00090.70981390.0000
Template Total0.117389.910.1173
Template load0.00080.620610.0008
Template processing0.116589.264610.1165
Override
Cache load0.00050.390810.0005
Sytem overhead
Fetch class attribute can translate value0.00080.595410.0008
XML
Image XML parsing0.00020.154810.0002
General
dbfile0.00564.3029200.0003
String conversion0.00000.003730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs