poll locking

Author Message

Marko Žmak

Saturday 27 November 2004 5:00:57 pm

I have several polls on my site and I would like to 'lock' some of them. So that users can vote only for polls that aren't locked but view results for all of them.

Is there any mechanism in eZ that provides that functionallity?

I know that it can be done by overriding some templates, but I want to know if there's a more generic eZ solution.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

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 20 2025 08:45:53
Script start
Timing: Jan 20 2025 08:45:53
Module start 'layout'
Timing: Jan 20 2025 08:45:53
Module start 'content'
Timing: Jan 20 2025 08:45:53
Module end 'content'
Timing: Jan 20 2025 08:45:53
Script end

Main resources:

Total runtime0.0164 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 590.1484152.6094
Module start 'layout' 0.00680.0027 742.757839.4141
Module start 'content' 0.00960.0048 782.171985.1953
Module end 'content' 0.01440.0020 867.367230.3047
Script end 0.0164  897.6719 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002616.0949140.0002
Check MTime0.00116.6397140.0001
Mysql Total
Database connection0.00127.182510.0012
Mysqli_queries0.002616.052830.0009
Looping result0.00000.061010.0000
Template Total0.001710.310.0017
Template load0.00085.118710.0008
Template processing0.00085.162310.0008
Override
Cache load0.00063.603610.0006
General
dbfile0.00031.558780.0000
String conversion0.00000.040640.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