Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • BigSky Friend
    #127958

    The JA-News seems to be working strangely. It doesn’t seem to pick the latest news when I organize by section. Instread, it is picking random news from the sections to display.

    How do I make it display the latest news from each section?

    Sherlock Friend
    #246985

    Hi BigSky !
    You can display the lastest news from each section by way :
    open helper.php file go to about line 201, find code section :


    ' AND cc.section = s.id' .
    ' AND cc.published = 1' .
    ' AND s.published = 1' .
    ' ORDER BY a.ordering';
    $db->setQuery($query, 0, $items);
    $rows = $db->loadObjectList();

    change it to :


    ' AND cc.section = s.id' .
    ' AND cc.published = 1' .
    ' AND s.published = 1' .
    ' ORDER BY a.created DESC' ;
    $db->setQuery($query, 0, $items);
    $rows = $db->loadObjectList();

    jmef Friend
    #246987

    Thanks a million!

    BigSky Friend
    #247022

    Thanks for the help, but it doesn’t seem to be changing anything for me.

    I can’t even understand what it’s doing on my site.

    I have one section called Advanced Placement. The stories that are being displayed on the front page are
    pulled from stories on these dates: 10/25/06, 12/6/06, 11/8/07, 11/1/08.

    I have a lot more recent content than any of that.

    In another section, where I have blog entries, the front page is listing the 10th, 73rd, and 71st most recent entries. There’s nothing that makes these entries any different than the others. They are in the same section, same category as each other.

    jmef Friend
    #247038

    Hi,
    I haven’t tried the solution above yet, but did find that they only way the module seems to order postings is by posting ID number. So if you wish to have a posting featuring and it has an lower item ID, then just copy the posting and it will show up as the main article. So make sure you are not “recycling” old posts, but create new ones if you want them to appear on top of list.

    Hope this works for you too.

    Cheers!

    BigSky Friend
    #247042

    The ja-news at the top is working. It’s placing the latest post as the featured post, and the next four to its right.

    What’s not working is the section that appears below that, where the items are displayed by Section. It doesn’t seem to have anything to do with item numbers or dates, because those are consistent. It’s just selecting random items to display from the sections.

    I’d really love to get an answer to this. I think the template looks great, but this error makes it pretty unusable.

    Thanks for the help thus far.

    BigSky Friend
    #247043

    So here is what it is doing.

    I have a section called AP on my site. Underneath that, are various categories, like “Heart of Darkness”, “Love in the Time of Cholera”, ” Resurrection.

    The news section is pulling the first article from each category under the section.

    I would like it to take the most recent articles from the whole section, without regard to category.

    Is there a way to make that happen?

    Sherlock Friend
    #247068

    Hi bigsky !
    this code in 2nd post is code for load recent article from the whole section , it’s get article with created time is most recent.

    BigSky Friend
    #247070

    Yeah. I tried it, but nothing changes for me. It still is pulling them out of individual categories, rather than the section as a whole.

    I appreciate the help, but it doesn’t seem to do the trick for me.

    BigSky Friend
    #247175

    Anyone have any suggestions on this?

    Sherlock Friend
    #247178

    Hi BigSky !
    On module JA News config page you select group by category or groupby section ? I think that you selected group by category. please check again .

    BigSky Friend
    #247182

    It is Grouped by Section.

    BigSky Friend
    #247191

    I give up. No matter how good the themes look on this site, something doesn’t work. And while I appreciate the help of other members of the forums, where in the hell is the support from the staff?

    The module flat out does not work as described. Where is the support?!@?!?!?

    owenlly Friend
    #248398

    I found this frustrating but managed to change order by changing the date of the artice (created date) 🙂

    Sherlock Friend
    #248436

    Hi BigSky !
    JA Have updated JA News module, on new version in admin have option for ordering content ( latest, recent, most recent ), Please download new version to use:D .

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

This topic contains 15 replies, has 4 voices, and was last updated by  Sherlock 16 years, 6 months ago.

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