Setting up forum and the templates

Author Message

Ole Brudvik

Thursday 14 April 2005 2:49:01 am

Hi guys,

Im setting up a forum: http://singteach.nie.edu.sg/index.php/singteach/forum

But i am stuck. Under each topic i want to show the replies. how to do that?

Thanks alot!

Łukasz Serwatka

Friday 15 April 2005 1:47:38 am

Hi Ole,

You will have to use fetch function with "list".
http://ez.no/ez_publish/documentation/reference/data_fetching/content/list

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Łukasz Serwatka

Friday 15 April 2005 1:51:43 am

Look also to standard or base deign folders see how templates works:

design/base/override/templates/full/forum_topic.tpl

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Ole Brudvik

Sunday 17 April 2005 12:06:06 am

hi,

I have a folder named forum, inside the folder there wil be several forums and in each forum several topics and under each topic several replies. What overrides should i use? list.tpl or full.tpl or any others.

Thanks alot! Cheers

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 19 2025 04:30:23
Script start
Timing: Jan 19 2025 04:30:23
Module start 'layout'
Timing: Jan 19 2025 04:30:23
Module start 'content'
Timing: Jan 19 2025 04:30:23
Module end 'content'
Timing: Jan 19 2025 04:30:23
Script end

Main resources:

Total runtime0.0182 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 589.2578152.6250
Module start 'layout' 0.00600.0035 741.882839.4453
Module start 'content' 0.00950.0059 781.328189.3359
Module end 'content' 0.01540.0028 870.664134.3047
Script end 0.0181  904.9688 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002714.7576140.0002
Check MTime0.00126.4835140.0001
Mysql Total
Database connection0.00095.058610.0009
Mysqli_queries0.003016.531230.0010
Looping result0.00000.142910.0000
Template Total0.002413.310.0024
Template load0.00095.185710.0009
Template processing0.00158.077510.0015
Override
Cache load0.00073.705810.0007
General
dbfile0.00126.635680.0002
String conversion0.00000.055140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

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

Time used to render debug report: 0.0005 secs