Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • missyw Friend
    #131411

    Hello. In my Ja Iolite template, I do not have user registration open to the public. I want to include the default Statistics module on the front page (as its nice for users to see the number of content pages, links and hit count), but I would like to remove the first field which gives a Members count of 1 or 2 (which doesn’t look too good!).

    There is no option to remove just this field (Members) in the Module parameters, and I have searched the mod_stats files, but cannot see anything I recognize.

    I don’t know whether this is a Joomla question or a template question, but I will try posting it here first. Can anyone help? :confused:

    kashxo Friend
    #262632

    Hello missyw,
    I’m afraid this question is related to Joomla! section. Please search on Official Joomla! forums, maybe some tutorials available there.

    However, I have some spare time and I can help you with this, but I need the Joomla! version you are using to look in to code 🙂

    missyw Friend
    #262634

    My goodness, you are so kind to offer to do this. My Joomla version is 1.5.3:)

    kashxo Friend
    #262642

    You can do this by modify file helper.php of this module in folder: modules/mod_stats.
    Open it and remove these code at line 76th:
    <blockquote>if ( $members ) {
    $rows[$i]->title = JText::_( ‘Members’ );
    $rows[$i]->data = $members;
    $i++;
    }</blockquote>
    That will remove the members counting on statistics module.
    You can also use my file here and overwrite the current file in folder modules/mod_stats.
    Goodluck 🙂


    1. helper.zip
    missyw Friend
    #262953

    Works like a gem! Thank you.:D

Viewing 5 posts - 1 through 5 (of 5 total)

This topic contains 5 replies, has 2 voices, and was last updated by  missyw 16 years, 3 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum