Zikula: A Flexible Open Source Content Management System
home | forum | international support | contact us

Support Forum

Start ::  PostNuke 0.7 Support ::  Core Modules & Blocks ::  Past Articles not showing number of reads

Moderated by: Support Team

Bottom
Past Articles not showing number of reads

  • Link to this postingPosted: 06.01.2004, 10:44
    Profile Homepage
    THFC
    rank:
    Freshman Freshman
    registered:
     September 2002
    Status:
    offline
    last visit:
    18.03.04
    Posts:
    16
    the Past Articles is showing (0) for reads for each story, even though I know the storys have been read by ppl, how can I get the number to change to the correct number?

    icon_redface
  • Link to this postingPosted: 06.01.2004, 12:46
    Profile Homepage
    Simon
    rank:
    Steering Committee Steering Committee
    registered:
     December 2002
    Status:
    offline
    last visit:
    01.09.08
    Posts:
    13408
    read count only increments when people click 'read more' or the 'comment' link, so are you sure people have been clicking the link?

    -----
    Regards,
    Simon

    itbegins.co.uk - Zikula Consulting

    Please read the Support Guide
  • Link to this postingPosted: 07.01.2004, 05:51
    Profile
    SwissMac
    rank:
    Helper Helper
    registered:
     May 2002
    Status:
    offline
    last visit:
    18.09.06
    Posts:
    187
    I have the same problem - a story with 300 reads shows just 0 reads when listed as a Past Article... it would be more logical to add the new click-throughs to the old total reads, not start them from zero again... is it possible to do this?
  • Link to this postingPosted: 07.01.2004, 10:54
    Profile Homepage
    THFC
    rank:
    Freshman Freshman
    registered:
     September 2002
    Status:
    offline
    last visit:
    18.03.04
    Posts:
    16
    yes I know ppl have read them as they are on the front page and I can see read 3 times or 8 times as soon as they go to past articles it says (0)

    even if I read them from the past articles it still says (0) I want/need to make it so they change to the right number of reads

    icon_rolleyes
  • Link to this postingPosted: 07.01.2004, 13:11
    Profile Homepage
    Simon
    rank:
    Steering Committee Steering Committee
    registered:
     December 2002
    Status:
    offline
    last visit:
    01.09.08
    Posts:
    13408
    maybe its a bug, hopefully one of the devs will comment *waits patiently*

    -----
    Regards,
    Simon

    itbegins.co.uk - Zikula Consulting

    Please read the Support Guide
  • Link to this postingPosted: 07.01.2004, 13:43
    Profile Homepage
    markwest
    rank:
    Moderator Moderator
    registered:
     March 2002
    Status:
    offline
    last visit:
    26.08.08
    Posts:
    7720
    Not a bug just an incorrect assumption. The number in brackets is not the number of reads but the number of comments on the article.

    -Mark
  • Link to this postingPosted: 07.01.2004, 13:46
    Profile Homepage
    markwest
    rank:
    Moderator Moderator
    registered:
     March 2002
    Status:
    offline
    last visit:
    26.08.08
    Posts:
    7720
    To change it to the number of reads open includes/blocks/past.php. On line 113 (PN .726) change
    Code
    $info[comments]
    to
    Code
    $info[counter]


    -Mark
  • Link to this postingPosted: 07.01.2004, 15:33
    Profile Homepage
    Simon
    rank:
    Steering Committee Steering Committee
    registered:
     December 2002
    Status:
    offline
    last visit:
    01.09.08
    Posts:
    13408
    I forgot that icon_redface Shows how much I use the past articles block

    -----
    Regards,
    Simon

    itbegins.co.uk - Zikula Consulting

    Please read the Support Guide

Start ::  PostNuke 0.7 Support ::  Core Modules & Blocks ::  Past Articles not showing number of reads

Main Menu

Extensions Database

Documentation

Development

Login





 


 Log in Problems?
 New User? Sign Up!

Donate to Zikula