can somebady share the idea used in EZ community template?

Author Message

kevin wei

Sunday 08 January 2006 11:14:34 pm

here :

http://ez.no/community/forum/statistics

how to get top 20 list, export the data and judged by other software and write as static tempalte?

or???//

thanks very much....

Ɓukasz Serwatka

Tuesday 10 January 2006 4:19:16 am

Hi Kevin,

You can write tpl operator which will return for example SQL query result array. Then you can present it in template. You will need to query ezcontentobject table.

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

Per-Espen Kindblad

Tuesday 10 January 2006 4:48:02 am

Can eZ Systems post their Custom Tag code for this which is used at this page mentioned over?

Per-Espen

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

Main resources:

Total runtime0.0237 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.0056 588.3906151.2422
Module start 'layout' 0.00560.0036 739.6328220.7500
Module start 'content' 0.00920.0129 960.3828997.7734
Module end 'content' 0.02210.0016 1,958.156329.9922
Script end 0.0237  1,988.1484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002611.0127140.0002
Check MTime0.00114.5493140.0001
Mysql Total
Database connection0.00156.192810.0015
Mysqli_queries0.00229.209230.0007
Looping result0.00000.046310.0000
Template Total0.00114.710.0011
Template load0.00093.737610.0009
Template processing0.00020.911310.0002
Override
Cache load0.00062.560810.0006
General
dbfile0.00031.135680.0000
String conversion0.00000.032240.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