Poll result template

Author Message

John Smith

Tuesday 08 March 2005 4:53:44 am

I think any body can help me.

I am trying to override poll_result.tpl, but i dont why i am unable to override the specific tpl.

Please help

Regards

Łukasz Serwatka

Tuesday 08 March 2005 5:23:13 am

Hi John,

If you usign "base" base design you can edit poll_result.tpl file in design/base/override/templates/collectedinfo/

I hope it will help.

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

John Smith

Tuesday 08 March 2005 5:34:09 am

thanks for your kind reply,

But i can't get it. Can u explain me in more detail.

Regards

Łukasz Serwatka

Tuesday 08 March 2005 5:50:24 am

Sure, John, navigate to Design->Templates then on the about 26 page of "Complete template list" should be /content/collectedinfo/poll.tpl click on it. From dropdown list choose your siteaccess name and click set button. Now you can create or edit your poll_result.tpl.

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

John Smith

Tuesday 08 March 2005 7:41:55 am

Hi Serwatka,

I did the same thing before. Editing the poll_result.tpl is working fine. but when i am overriding the poll_result.tpl with some another template, then system is not picking that up.

Can you please explain.

More over in ezpublish 3.5 it is on 5th page. the template is in design/standard/templates. Am i right?

Regards

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 22:20:37
Script start
Timing: Jan 18 2025 22:20:37
Module start 'layout'
Timing: Jan 18 2025 22:20:37
Module start 'content'
Timing: Jan 18 2025 22:20:38
Module end 'content'
Timing: Jan 18 2025 22:20:38
Script end

Main resources:

Total runtime0.6548 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 587.9063152.6250
Module start 'layout' 0.00510.0024 740.531339.4453
Module start 'content' 0.00750.6460 779.9766554.8672
Module end 'content' 0.65350.0013 1,334.843812.1719
Script end 0.6548  1,347.0156 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.5012160.0002
Check MTime0.00150.2245160.0001
Mysql Total
Database connection0.00060.096210.0006
Mysqli_queries0.607692.7924630.0096
Looping result0.00050.0716610.0000
Template Total0.628796.020.3143
Template load0.00200.305420.0010
Template processing0.626695.693020.3133
Template load and register function0.00010.017110.0001
states
state_id_array0.00090.139710.0009
state_identifier_array0.00140.213820.0007
Override
Cache load0.00170.2547250.0001
Sytem overhead
Fetch class attribute can translate value0.00050.075420.0002
Fetch class attribute name0.00080.125560.0001
XML
Image XML parsing0.00100.147720.0005
class_abstraction
Instantiating content class attribute0.00000.002070.0000
General
dbfile0.00080.1197180.0000
String conversion0.00000.000940.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/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: 5

Time used to render debug report: 0.0001 secs