Forums / Developer / Threaded discussion... how?

Threaded discussion... how?

Author Message

Sam Wong

Tuesday 04 November 2003 2:46:22 pm

Hi, I was wondering if ez.no can do threaded discussion.
The one I want to write is this one shown on the URL below.
http://www.macosxhints.com/article.php?story=20031010141631859

It will be in this similar format.

[thread title]
[content]
[list of replies in thread]

[thread title]
[content]
[list of replies in thread]

[thread title]
[content]
[list of replies in thread]

Thanks!

Eirik Alfstad Johansen

Wednesday 12 November 2003 12:07:58 pm

Hi Sam,

Yes, ezP can do this. Just loop through the threads, and then, for each thread, loop through the replies.

Sincerely,

Eirik Johansen
Netmaking AS

http://www.netmaking.no/

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

eZ debug

Timing: Jan 18 2025 22:21:36
Script start
Timing: Jan 18 2025 22:21:36
Module start 'content'
Timing: Jan 18 2025 22:21:36
Module end 'content'
Timing: Jan 18 2025 22:21:36
Script end

Main resources:

Total runtime0.7696 sec
Peak memory usage4,096.0000 KB
Database Queries55

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 587.7031180.8438
Module start 'content' 0.00630.7583 768.5469529.8203
Module end 'content' 0.76450.0050 1,298.367242.1094
Script end 0.7696  1,340.4766 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.3796140.0002
Check MTime0.00130.1706140.0001
Mysql Total
Database connection0.00090.118110.0009
Mysqli_queries0.729794.8148550.0133
Looping result0.00040.0570530.0000
Template Total0.742596.520.3712
Template load0.00200.259220.0010
Template processing0.740596.212620.3702
Template load and register function0.00020.031610.0002
states
state_id_array0.00080.108910.0008
state_identifier_array0.00080.100220.0004
Override
Cache load0.00160.2029250.0001
Sytem overhead
Fetch class attribute can translate value0.00060.073020.0003
Fetch class attribute name0.00100.135230.0003
XML
Image XML parsing0.00050.070320.0003
class_abstraction
Instantiating content class attribute0.00000.000930.0000
General
dbfile0.00150.1959180.0001
String conversion0.00000.000530.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs