Commenting Poll Results?

Author Message

Horst Lindlbauer

Monday 07 July 2008 5:08:28 am

Since comments are sub-items of ez objects and the poll result page is looping through info collection items
I don't see a quick way to enable commenting on the poll results page. But I think this is a desired feature.

---------------------------------------
http://www.lbm-services.de

André R.

Monday 07 July 2008 6:57:40 am

To be able to do that using the object / node model of eZ Publish, you would have to create your own poll system that stores the poll_result as children of the poll node. And then allow comments to be added beneath the poll object.

Alternatively you could implement it as a custom module + template operators with a sql table that relates to the poll result data in ez publish.

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

Main resources:

Total runtime0.0160 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 589.0234152.6250
Module start 'layout' 0.00500.0034 741.648439.4453
Module start 'content' 0.00840.0052 781.093889.3203
Module end 'content' 0.01360.0023 870.414130.3047
Script end 0.0159  900.7188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002616.3637140.0002
Check MTime0.00117.0990140.0001
Mysql Total
Database connection0.00074.616710.0007
Mysqli_queries0.002716.938730.0009
Looping result0.00021.053010.0002
Template Total0.001811.310.0018
Template load0.00095.839910.0009
Template processing0.00085.224610.0008
Override
Cache load0.00064.053610.0006
General
dbfile0.00021.147180.0000
String conversion0.00000.067240.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.0001 secs