Basic forum

Author Message

P K

Tuesday 07 August 2007 2:10:21 pm

Hi everyone!
Does anybody know how to create a basic forum using ez publish. I just found references in the documentation but no instructions.
Could anybody say would should I do (step-by-step)
Thanks a lot
P.K.

Frédéric DAVID

Wednesday 08 August 2007 8:28:41 am

Hello,

the first step is to make the content class. You can find them there :

http://ez.no/doc/ez_publish/technical_manual/3_9/reference/content_classes/content

You need forum / forum_topic / forum reply classes.

After create some forums in your web site, eZ publish use the default templates. In the design "standard", you can find the basic templates to display a forum, forum_topic and forum_reply.

After, you can override the default templates, and customize your forum like you want.

Blog : http://www.frefred.fr/blog/ez-publish
feZ Meta Data : http://projects.ez.no/fezmetadata

P K

Thursday 09 August 2007 7:56:44 am

Thanks :-)

André R.

Thursday 09 August 2007 8:44:47 am

Or you could use the pre made classes and templates laying around.
I guess you installed 'plain install' witch means no content and almost no classes.
So classes for plain install can be found here:
http://ez.no/download/ez_publish/ez_publish_3_stable_releases/3_8/packages

If you want the newer classes used in ezwebin, you can go here:
http://ez.no/download/ez_publish/ez_publish_3_stable_releases/3_9/packages/3_9_2

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

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 18 2025 22:17:07
Script start
Timing: Jan 18 2025 22:17:07
Module start 'layout'
Timing: Jan 18 2025 22:17:07
Module start 'content'
Timing: Jan 18 2025 22:17:09
Module end 'content'
Timing: Jan 18 2025 22:17:09
Script end

Main resources:

Total runtime1.3680 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0071 589.2188152.6094
Module start 'layout' 0.00710.0037 741.828139.3984
Module start 'content' 0.01081.3559 781.2266589.3906
Module end 'content' 1.36670.0013 1,370.617212.2031
Script end 1.3680  1,382.8203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2450160.0002
Check MTime0.00140.0995160.0001
Mysql Total
Database connection0.00080.060910.0008
Mysqli_queries1.314996.1206620.0212
Looping result0.00060.0472600.0000
Template Total1.335197.620.6675
Template load0.00200.149620.0010
Template processing1.333097.440520.6665
Template load and register function0.00020.011910.0002
states
state_id_array0.00080.059310.0008
state_identifier_array0.00130.095520.0007
Override
Cache load0.00170.1267260.0001
Sytem overhead
Fetch class attribute can translate value0.00060.047530.0002
Fetch class attribute name0.00140.100860.0002
XML
Image XML parsing0.00210.151530.0007
class_abstraction
Instantiating content class attribute0.00000.001360.0000
General
dbfile0.00240.1790230.0001
String conversion0.00000.000840.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
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/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: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs