Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • ellocke Friend
    #137961

    Hello,
    I have installed JA Newflash, the News are random on top of the site.

    But is there a chance to show the news in the conventional order also not random.

    Anonymous Moderator
    #290617

    Hi ellocke,

    Please try with my guide:

    + Open ja-newsflashloader.php file in modulesmod_janewsflashja_newsflash folder:
    – at about line 196, find following code:

    [PHP]$link_titles = $params->get( ‘link_titles’ );[/PHP]

    and change to:

    [PHP]$link_titles = $params->get( ‘link_titles’ );
    $curnews = isset($_REQUEST[‘curnews’]) ? intval($_REQUEST[‘curnews’]) : 0;[/PHP]

    – At about line 237, find following code:

    [PHP]$row = $rows[$flashnum];[/PHP]

    and change to:

    [PHP]$row = $rows[$curnews];[/PHP]

    Hope it helps.

    ellocke Friend
    #291726

    hi,
    it donĀ“t works
    the first news is the same, but the others a random anymore.

    Anonymous Moderator
    #291733

    Hi ellocke,

    Could you send me your ftp account? I want to check your modification.

    ellocke Friend
    #291736

    i have upload the mod_janewsflash folder
    i can upload the files, but i cant give you ftp access


    1. mod_janewsflash.zip
Viewing 5 posts - 1 through 5 (of 5 total)

This topic contains 5 replies, has 2 voices, and was last updated by  ellocke 15 years, 9 months ago.

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