Guestbook (general question)

Author Message

Sébastien Prud'homme

Tuesday 06 January 2004 10:33:19 am

Hi,

If i read the guestbook sample :
http://www.ez.no/developer/ez_publish_3/documentation/building_an_ez_publish_site/the_guestbook

I can see that submitting new guestbook messages happens in two phases :

- 1st page (the one with the message list): clicking on the new button to create a draft guestbook message
- 2eme page (the one with the form): entering fields for the message and clicking on the save button to publish the draft

I'd like to build a guestbook with an unique page :
- input fields + button to submit a new entry
- list of guestbook messages

Is there a way to do this ? Or does the content module impose you to use a create button + an edit page + a publish button ?

Sébastien Prud'homme

Wednesday 07 January 2004 7:57:09 am

Nobody ?

Balazs Halasy

Wednesday 07 January 2004 8:17:57 am

You could use information collection to do this. Create a custom content class with some attributes that are information collectors. Search for "information collection" or "information collector" within the eZp 3 docs.

Balazs

Sébastien Prud'homme

Wednesday 07 January 2004 9:08:45 am

Ok, thanks

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 31 2025 04:14:35
Script start
Timing: Jan 31 2025 04:14:35
Module start 'layout'
Timing: Jan 31 2025 04:14:35
Module start 'content'
Timing: Jan 31 2025 04:14:36
Module end 'content'
Timing: Jan 31 2025 04:14:36
Script end

Main resources:

Total runtime0.9566 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.0040 588.1328151.2109
Module start 'layout' 0.00400.0022 739.343836.6484
Module start 'content' 0.00620.9411 775.9922936.5859
Module end 'content' 0.94720.0093 1,712.578112.1641
Script end 0.9566  1,724.7422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00270.2845160.0002
Check MTime0.00120.1216160.0001
Mysql Total
Database connection0.00050.056410.0005
Mysqli_queries0.903794.4726600.0151
Looping result0.00040.0385580.0000
Template Total0.927697.020.4638
Template load0.00180.187020.0009
Template processing0.925896.773620.4629
Template load and register function0.00120.129810.0012
states
state_id_array0.00160.171310.0016
state_identifier_array0.00080.086020.0004
Override
Cache load0.00150.1516210.0001
Sytem overhead
Fetch class attribute can translate value0.00040.039520.0002
Fetch class attribute name0.00130.138850.0003
XML
Image XML parsing0.00170.177320.0008
class_abstraction
Instantiating content class attribute0.00000.000750.0000
General
dbfile0.00220.2309160.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
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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs