Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • gouaf Friend
    #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,
    -gouaf

    cgc0202 Friend
    #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 with

    gouaf Friend
    #259522

    Thanks a lot Cornelio, it works just as you suggested!!!
    -gouaf

    cgc0202 Friend
    #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

    gouaf Friend
    #259524

    Sure go ahead.

    cgc0202 Friend
    #259525

    It 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

    ragnarli Friend
    #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 Friend
    #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 Friend
    #262585

    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

    cgc0202 Friend
    #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 Friend
    #263203

    Hi 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

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

This topic contains 11 replies, has 4 voices, and was last updated by  mabao 16 years, 3 months ago.

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