Checking if user has just created content

Author Message

Nabil Alimi

Tuesday 12 July 2005 4:59:54 am

Hi,

Is there a way to check if user has just created content ?
On my site, the visitors can create content (class named "contact"). So when this is done, they are brought back to the container node.
So when they're brought here by the creation of content, I'd like to display a message like "Thank you bla bla bla bla" or even bring them to an other node.

Is this possible ?

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

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 09:01:34
Script start
Timing: Jan 20 2025 09:01:34
Module start 'layout'
Timing: Jan 20 2025 09:01:34
Module start 'content'
Timing: Jan 20 2025 09:01:35
Module end 'content'
Timing: Jan 20 2025 09:01:35
Script end

Main resources:

Total runtime1.0684 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.0056 590.4219152.6406
Module start 'layout' 0.00560.0041 743.062539.4766
Module start 'content' 0.00971.0572 782.5391467.6094
Module end 'content' 1.06690.0014 1,250.14848.1250
Script end 1.0684  1,258.2734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3107160.0002
Check MTime0.00140.1288160.0001
Mysql Total
Database connection0.00090.087010.0009
Mysqli_queries1.026496.0706460.0223
Looping result0.00070.0645440.0000
Template Total1.033796.820.5169
Template load0.00190.181120.0010
Template processing1.031896.570320.5159
Template load and register function0.00010.009910.0001
states
state_id_array0.00170.160710.0017
state_identifier_array0.00150.137520.0007
Override
Cache load0.00150.136790.0002
Sytem overhead
Fetch class attribute can translate value0.00080.076710.0008
Fetch class attribute name0.00090.081520.0004
XML
Image XML parsing0.00050.045610.0005
class_abstraction
Instantiating content class attribute0.00000.000420.0000
General
dbfile0.00080.0772160.0001
String conversion0.00000.001040.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
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/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: 7
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs