Forums / Setup & design / Forum Layout

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?

eZ debug

Timing: Jan 18 2025 22:18:43
Script start
Timing: Jan 18 2025 22:18:43
Module start 'content'
Timing: Jan 18 2025 22:18:44
Module end 'content'
Timing: Jan 18 2025 22:18:45
Script end

Main resources:

Total runtime1.6492 sec
Peak memory usage4,096.0000 KB
Database Queries199

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0093 589.6016180.8516
Module start 'content' 0.00931.4667 770.4531589.2344
Module end 'content' 1.47600.1732 1,359.6875333.3906
Script end 1.6491  1,693.0781 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.2503210.0002
Check MTime0.00140.0854210.0001
Mysql Total
Database connection0.00130.076210.0013
Mysqli_queries1.571595.29391990.0079
Looping result0.00210.12801970.0000
Template Total1.607897.520.8039
Template load0.00200.123920.0010
Template processing1.605797.367720.8029
Template load and register function0.00010.008710.0001
states
state_id_array0.00130.080210.0013
state_identifier_array0.00150.093020.0008
Override
Cache load0.00160.0998170.0001
Sytem overhead
Fetch class attribute can translate value0.00120.074740.0003
Fetch class attribute name0.00140.082460.0002
XML
Image XML parsing0.00230.141840.0006
class_abstraction
Instantiating content class attribute0.00000.000960.0000
General
dbfile0.00550.3322350.0002
String conversion0.00000.000430.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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