sorting by hits possible?

Author Message

Stefan van Zwoll

Friday 10 September 2004 5:44:36 am

hello,

is there a built-in possibility to fetch objects and sort them by their quantity of being viewed/clicked? is there any information available/stored in the db concerning that topic? the only thing i've found out was the search stats. i wanted to ask first, before i try do adjust that code for weeks ;).

best wishes, stefan

Ole Morten Halvorsen

Tuesday 14 September 2004 2:39:51 am

Stefan,

No, eZ publish does not store any information about how many times an object has been clicked/viewed. The exception would be in trunk where it is possible to get the number of times a file has been downloaded.

Ole M.

Senior Software Engineer - Vision with Technology

http://www.visionwt.com
http://www.omh.cc
http://www.twitter.com/omh

eZ Certified Developer
http://ez.no/certification/verify/358441
http://ez.no/certification/verify/272578

Sébastien Prud'homme

Tuesday 14 September 2004 3:05:57 am

See this for counting node views using Apache log :

http://www.ez.no/community/forum/general/is_it_possible_to_count_how_many_times_a_specific_article_was_displayed/re_is_it_possible_to_count_how_many_times_a_specific_article_was_displayed__1

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

Main resources:

Total runtime0.5914 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 589.0313152.6250
Module start 'layout' 0.00610.0025 741.656339.4453
Module start 'content' 0.00860.5812 781.1016528.4219
Module end 'content' 0.58990.0015 1,309.52348.1641
Script end 0.5913  1,317.6875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.5718160.0002
Check MTime0.00140.2322160.0001
Mysql Total
Database connection0.00140.229310.0014
Mysqli_queries0.546292.3531590.0093
Looping result0.00060.1091570.0000
Template Total0.557594.320.2787
Template load0.00240.401320.0012
Template processing0.555193.861820.2775
Template load and register function0.00020.027910.0002
states
state_id_array0.00160.276310.0016
state_identifier_array0.00100.167220.0005
Override
Cache load0.00190.3293130.0001
Sytem overhead
Fetch class attribute can translate value0.00050.084530.0002
Fetch class attribute name0.00110.183430.0004
XML
Image XML parsing0.00040.064830.0001
class_abstraction
Instantiating content class attribute0.00000.001030.0000
General
dbfile0.00080.1362100.0001
String conversion0.00000.001240.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
3content/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs