Forum Layout

Author Message

Federico Canuti

Tuesday 03 May 2005 10:29:32 am

Hi everyone, I'm stunned by the power of ezpublish, it's really a powerful framework, and the tutorial is very easy to follow, but I haven't found any example about the forum.. how can I build a forum according to my needs? Where can I find the exact templates I have to override to modify the layout.. well everything (I have very restrictive guidelines to follow)?
Thanks a lot ;)

Łukasz Serwatka

Wednesday 04 May 2005 2:21:29 am

Hi Federico, that`s great that you want to use eZ publish as a forum, ez.no is a good example ;)

Go to Setup->Classes->Content and click on Forum topic class name, then at the bottom of page you will find all related templates that this class uses. You can also see templates for Forum class and Forum reply class.

Make sure that Forum package is already installed in your system. Setup->Packages

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

Federico Canuti

Tuesday 17 May 2005 10:02:31 am

Thanks for the help, my problem now is that it is very difficult to override in the correct way the templates.
I have no problem at all with html but the ez code is pretty obscure to me yet.
How can I understand what I have to modify for example to change the position of a link, modify the structure of div's and something like this?

Niklas Gunnäs

Thursday 19 May 2005 6:09:15 am

I readed that the this forum templates (used her at ez.no) will be released by ez publish as addon package or in later release. Will they be included in 3.6?

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 01:00:33
Script start
Timing: Jan 19 2025 01:00:33
Module start 'layout'
Timing: Jan 19 2025 01:00:33
Module start 'content'
Timing: Jan 19 2025 01:00:34
Module end 'content'
Timing: Jan 19 2025 01:00:34
Script end

Main resources:

Total runtime0.7021 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.0049 589.0313152.6094
Module start 'layout' 0.00490.0030 741.640639.4141
Module start 'content' 0.00790.6926 781.0547584.1719
Module end 'content' 0.70050.0015 1,365.226612.1953
Script end 0.7021  1,377.4219 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4509160.0002
Check MTime0.00130.1804160.0001
Mysql Total
Database connection0.00060.090710.0006
Mysqli_queries0.648992.4280620.0105
Looping result0.00060.0904600.0000
Template Total0.672095.720.3360
Template load0.00250.352920.0012
Template processing0.669595.352820.3347
Template load and register function0.00020.023410.0002
states
state_id_array0.00170.240910.0017
state_identifier_array0.00090.130520.0005
Override
Cache load0.00210.2981170.0001
Sytem overhead
Fetch class attribute can translate value0.00060.090630.0002
Fetch class attribute name0.00130.181360.0002
XML
Image XML parsing0.00250.359430.0008
class_abstraction
Instantiating content class attribute0.00000.001760.0000
General
dbfile0.00230.3248240.0001
String conversion0.00000.001540.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
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
4content/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: 14
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs