Preview in forum

Author Message

Claudia Kosny

Saturday 12 August 2006 4:06:33 pm

Hi there,

is there any way to have a preview functionality in the forum (both the public ez.no forum and the forum shipped with ezpublish)?

Claudia

Ɓukasz Serwatka

Sunday 13 August 2006 11:36:57 pm

Yes, it is possible to add preview functionality with eZ publish.

You need to add the PreviewButton in to your edit template.

<input class="button" type="submit" name="PreviewButton" value="Preview" />

Editor needs access to the content/versionview view.

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

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 19:21:45
Script start
Timing: Jan 18 2025 19:21:45
Module start 'layout'
Timing: Jan 18 2025 19:21:45
Module start 'content'
Timing: Jan 18 2025 19:21:46
Module end 'content'
Timing: Jan 18 2025 19:21:46
Script end

Main resources:

Total runtime0.9184 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 588.9297152.6094
Module start 'layout' 0.00530.0030 741.539139.4141
Module start 'content' 0.00830.9087 780.9531523.7422
Module end 'content' 0.91700.0014 1,304.69538.3438
Script end 0.9184  1,313.0391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.4197160.0002
Check MTime0.00140.1549160.0001
Mysql Total
Database connection0.00050.056510.0005
Mysqli_queries0.874295.1812540.0162
Looping result0.00040.0447520.0000
Template Total0.882096.020.4410
Template load0.00240.257420.0012
Template processing0.879695.774020.4398
Template load and register function0.00010.015510.0001
states
state_id_array0.00100.114310.0010
state_identifier_array0.00170.179920.0008
Override
Cache load0.00200.2175120.0002
Sytem overhead
Fetch class attribute can translate value0.00050.052720.0002
Fetch class attribute name0.00080.088530.0003
XML
Image XML parsing0.00060.064820.0003
class_abstraction
Instantiating content class attribute0.00000.000930.0000
General
dbfile0.00070.0753180.0000
String conversion0.00000.000740.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
3content/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
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs