Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • mitchel Friend
    #121061

    I have looked at the other messages posted about this module, but I still cannot get it to do what I want. Right now I have three articles for this and eventually will have five. I want it to scroll through all of them continuously (like JA_News) and not just stop at two. Is this possible?

    If not, how can I change the background color of the JA_News box to all black?

    Khanh Le Moderator
    #222784

    The JA_Newsflash displays news items randomly. If you want to display news items continuously, you could edit file modules/ja_newsflash/ja-newsflashloader.php as following:

    Search code:


    srand ((double) microtime() * 1000000);
    while (true) {
    $flashnum = rand( 0, $numrows-1 );
    if ($flashnum != $curnews) break;
    }

    and replace with


    $flashnum = $curnews>=$numrows-1?0:$curnews+1;

    soulafa Friend
    #227066

    Hello,
    I can’t seem to get JA_Newsflash to work at all.

    I get this code in its place:

    Warning: main(/home/mindcraf/public_html/ibn/modules/ja_newsflash/ja-newsflashloader.php) [function.main]: failed to open stream: No such file or directory in /home/mindcraf/public_html/ibn/modules/mod_janewsflash/mod_janewsflash.php on line 8

    Warning: main() [function.include]: Failed opening ‘/home/mindcraf/public_html/ibn/modules/ja_newsflash/ja-newsflashloader.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/mindcraf/public_html/ibn/modules/mod_janewsflash/mod_janewsflash.php on line 8

    These two files are there. Any ideas?
    soulafa

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

This topic contains 3 replies, has 3 voices, and was last updated by  soulafa 17 years, 3 months ago.

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