-
AuthorPosts
-
July 13, 2008 at 4:24 pm #130801
Hi,
I run a news website, and sometimes we need to reorder the top stories by changing the publication date, but it doesn’t work and it seems that the script relies instead on story IDs, not the publication date.
So ID 194 will always appear before 195, even if we changed the creation/publication date & time.
How can I modify the code so that Janews_FP is based on publication date instead of story ID?
Thanks,
-gouafcgc0202 Friendcgc0202
- Join date:
- August 2007
- Posts:
- 2244
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 206
- Thanked:
- 262 times in 1 posts
July 13, 2008 at 5:30 pm #259518<em>@gouaf 66202 wrote:</em><blockquote>Hi,
I run a news website, and sometimes we need to reorder the top stories by changing the publication date, but it doesn’t work and it seems that the script relies instead on story IDs, not the publication date.
So ID 194 will always appear before 195, even if we changed the creation/publication date & time.
How can I modify the code so that Janews_FP is based on publication date instead of story ID?
Thanks,
-gouaf</blockquote>Hi gouaf,
The default order is indeed chronological, but if you go to the FrontPage Manager
administrator => Content => Front Page Manager
you see those up and down arrows associate with each article. Just order them as you desire by playing with those arrows, move one up, move one down.
Cornelio
N.B.
1. You do not have to change the publication date.
2. The ID tags the article => that is what the computer can relate withJuly 13, 2008 at 6:34 pm #259522Thanks a lot Cornelio, it works just as you suggested!!!
-gouafcgc0202 Friendcgc0202
- Join date:
- August 2007
- Posts:
- 2244
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 206
- Thanked:
- 262 times in 1 posts
July 13, 2008 at 6:39 pm #259523<em>@gouaf 66224 wrote:</em><blockquote>Thanks a lot Cornelio, it works just as you suggested!!!
-gouaf</blockquote>Glad to be of help ouaf. May I use this for aQ&A project for the Collaborative Support Group? Thanks.
Cornelio
July 13, 2008 at 6:44 pm #259524Sure go ahead.
cgc0202 Friendcgc0202
- Join date:
- August 2007
- Posts:
- 2244
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 206
- Thanked:
- 262 times in 1 posts
July 13, 2008 at 6:51 pm #259525It is a more realistic situation,, what people are confronted with, what solutions they are trying to do
Rather than simply asking:
How do I order the articles in the JA Front Page?
Cornelio
July 23, 2008 at 8:41 am #261684<em>@cgc0202 66218 wrote:</em><blockquote>Hi gouaf,
The default order is indeed chronological, but if you go to the FrontPage Manager
administrator => Content => Front Page Manager
you see those up and down arrows associate with each article. Just order them as you desire by playing with those arrows, move one up, move one down.
Cornelio
N.B.
1. You do not have to change the publication date.
2. The ID tags the article => that is what the computer can relate with</blockquote>Hi, this works on the Front page manager, as Cornelio suggests, but playing around with the arrows in a section doesn’t seem to have the same effect. In the Content =>Content by section=> Section items menu changing the order with the arrows have no effect when viewing the Home->Section page at the Front end.
cgc0202 Friendcgc0202
- Join date:
- August 2007
- Posts:
- 2244
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 206
- Thanked:
- 262 times in 1 posts
July 23, 2008 at 11:08 am #261706<em>@ragnarli 68847 wrote:</em><blockquote>Hi, this works on the Front page manager, as Cornelio suggests, but playing around with the arrows in a section doesn’t seem to have the same effect. In the Content =>Content by section=> Section items menu changing the order with the arrows have no effect when viewing the Home->Section page at the Front end.</blockquote>
That is true ragnarli, if you go to the Modules manager
for Joomla 1.5
administrator => Extensions => JA News manager
there is also an order form to change the mechanism. I always place mine in Order, the others are creation date or edit date, something like that. Find, and try it.
Unfortunately, to my knowledge, placing it in “Order” alone does not seem to allow you to change the order. You are left with but the two other choices. Both of them, not always what you want.
If you use Gavick News Module — you have at least six different choices and they work. So, this one area that Joomlart did not give much more careful consideration
Cornelio
mabao Friendmabao
- Join date:
- May 2008
- Posts:
- 13
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
July 27, 2008 at 7:47 pm #262585Hi Cornelio,
The bug, you mentioned here with JA News, does exist under Joomla 1.0.15 too. JA News doesn’t react on its own ordering options (ordering, create date, modified date), but in all cases do an article ordering by the create date atribute!!
Attilacgc0202 Friendcgc0202
- Join date:
- August 2007
- Posts:
- 2244
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 206
- Thanked:
- 262 times in 1 posts
July 27, 2008 at 8:19 pm #262588<em>@mabao 69933 wrote:</em><blockquote>Hi Cornelio,
The bug, you mentioned here with JA News, does exist under Joomla 1.0.15 too. JA News doesn’t react on its own ordering options (ordering, create date, modified date), but in all cases do an article ordering by the create date atribute!!
Attila</blockquote>That’s true Attila,
It is not exactly a bug, Joomlart just did not give you the option to be able to order that in the JA News, the way a Gavick Pro News Module allows you to do so. Should you shift to Gavick Pro then? Not really, if you want a Magazine template, only two template companies right now have it. The first is Joomlart, and early July 2008, RocketTheme came out with its version. I still prefer JA Teline II.
Maybe Joomlart will come around improving the choices for ordering in the future. I just do not know when; so I am not holding my breath on that.
Cornelio
mabao Friendmabao
- Join date:
- May 2008
- Posts:
- 13
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
July 31, 2008 at 12:27 pm #263203Hi Cornelio,
On this issue I’ve got a very quick fix from hainn84, you can follow this: http://www.joomlart.com/forums/topic/ja-news-for-joomla-1-0/
with an updated file!! http://www.joomlart.com/forums/attachment.php?attachmentid=2311&d=1217235656
Attila -
AuthorPosts
This topic contains 11 replies, has 4 voices, and was last updated by mabao 16 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum