-
AuthorPosts
-
BigSky Friend
BigSky
- Join date:
- December 2005
- Posts:
- 49
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 2
- Thanked:
- 3 times in 1 posts
April 27, 2008 at 2:11 am #127958The 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 FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
April 27, 2008 at 9:34 am #246985Hi 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 Friendjmef
- Join date:
- September 2007
- Posts:
- 19
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 7
- Thanked:
- 1 times in 1 posts
April 27, 2008 at 11:02 am #246987Thanks a million!
BigSky FriendBigSky
- Join date:
- December 2005
- Posts:
- 49
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 2
- Thanked:
- 3 times in 1 posts
April 27, 2008 at 5:17 pm #247022Thanks 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 Friendjmef
- Join date:
- September 2007
- Posts:
- 19
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 7
- Thanked:
- 1 times in 1 posts
April 27, 2008 at 10:27 pm #247038Hi,
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 FriendBigSky
- Join date:
- December 2005
- Posts:
- 49
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 2
- Thanked:
- 3 times in 1 posts
April 27, 2008 at 11:07 pm #247042The 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 FriendBigSky
- Join date:
- December 2005
- Posts:
- 49
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 2
- Thanked:
- 3 times in 1 posts
April 28, 2008 at 12:10 am #247043So 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 FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
April 28, 2008 at 3:38 am #247068Hi 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 FriendBigSky
- Join date:
- December 2005
- Posts:
- 49
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 2
- Thanked:
- 3 times in 1 posts
April 28, 2008 at 4:01 am #247070Yeah. 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 FriendBigSky
- Join date:
- December 2005
- Posts:
- 49
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 2
- Thanked:
- 3 times in 1 posts
April 29, 2008 at 1:12 am #247175Anyone have any suggestions on this?
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
April 29, 2008 at 1:46 am #247178Hi 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 FriendBigSky
- Join date:
- December 2005
- Posts:
- 49
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 2
- Thanked:
- 3 times in 1 posts
April 29, 2008 at 1:51 am #247182It is Grouped by Section.
BigSky FriendBigSky
- Join date:
- December 2005
- Posts:
- 49
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 2
- Thanked:
- 3 times in 1 posts
April 29, 2008 at 2:18 am #247191I 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?!@?!?!?
May 9, 2008 at 7:52 pm #248398I found this frustrating but managed to change order by changing the date of the artice (created date) 🙂
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
May 10, 2008 at 3:04 am #248436Hi 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 . -
AuthorPosts
This topic contains 15 replies, has 4 voices, and was last updated by Sherlock 16 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum