Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • minsunlee Friend
    #165492

    Hi JA Bulletin most read fuction is showing most read articles from the begining of the webpage. Can we set it up to show most read from only last week?

    gray Friend
    #397703

    haven’t checked, but try the following
    in module’s helper.php (back-up before making changes!)
    find
    [php]
    // Set ordering
    $ordering = $params->get(‘type’, ‘latest’);
    if($ordering==’latest’){
    $ordering = ‘a.modified’;
    }
    else{
    $ordering = ‘a.hits’;
    }
    [/php]

    change to
    [php]
    // Set ordering
    $ordering = $params->get(‘type’, ‘latest’);
    if($ordering==’latest’){
    $ordering = ‘a.modified’;
    }
    else{
    $ordering = ‘a.hits’;
    // select only articles created during last 7 days
    $model->setState(‘filter.start_date_range’, $db->Quote(JFactory::getDate(($time – 86400 * 7))->toMySQL()));
    }
    [/php]

    minsunlee Friend
    #397805

    This code is not there. For more info I’m using k2 for content

    gray Friend
    #397839

    <em>@minsunlee 248863 wrote:</em><blockquote>This code is not there. For more info I’m using k2 for content</blockquote>

    What version of JA Bulletine do you use? Was it hacked (modified) before to meet your needs?

    minsunlee Friend
    #398184

    version 1.0.4
    And no it was not modified…

    gray Friend
    #398199

    Where did you get it from? The latest seems to be 1.0.3 (both in JA Extensions downloads and in Teline IV package).

    minsunlee Friend
    #399349

    Ja Teline IV pack has version 1.0.4

    Can anyone help me pls

    gray Friend
    #399605

    <em>@minsunlee 250785 wrote:</em><blockquote>Ja Teline IV pack has version 1.0.4

    Can anyone help me pls</blockquote>

    Very strange. In the downloads of Teline IV it’s 1.0.3…

    elibericoweb Friend
    #399830

    Hello everybody,

    I’ve got the last version of Teline IV (Version: 1.2.4). But with this same problem.

    I need to change something in the Most Read module of JA Bulletin. Iwant to show the most read news but only with recent news. Like 7 days old.

    I have seen this extension that makes exactly what I want but I have tried it and it doesn’t have any thumbnail, that’s why I want to modify the JA Bulletin in some way to get the recent articles ordered by hits.

    Popular of Late: http://extensions.joomla.org/extensions/news-display/popular-content/5085

    Thanks a lot.

    minsunlee Friend
    #400960

    Can anyone help with that?

    pritam Friend
    #401328

    Hello minsunlee ,

    To Ja- Bulletin – most read

    Can you please send your admin access + FTP details at http://support.joomlart.com/index.php?/Tickets/Ticket/View/75172 , So that we can help you better.

    minsunlee Friend
    #403652

    Can anyone help with that? Please…

    minsunlee Friend
    #406205

    I guess I can’t get help here???

    Manos Moderator
    #406207

    Hi, currently the ja news module doesn’t support this i will ask from development team if they can include this feature in next release.

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

This topic contains 14 replies, has 5 voices, and was last updated by  Manos 13 years, 3 months ago.

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