Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • stnetwork Friend
    #120667

    Hello,

    i have installed JA Newsflash and made 2 Newsflash-Articles but only the second Newsflash is displayed. If i change the ordering of the two newsflashes than the first made is displayed but the randomizing won’t work between first and second newsflash-article.

    You can see it at: http://w3markt.de

    Can you tell me how to fix this?

    Regards from Germany, Holger

    stnetwork Friend
    #221541

    I found a solution at http://www.joomlart.com/forums/topic/ja-newsflash-randomizer-bugs-and-solutions/

    The problem was, that RG_EMULATION is off at my Website for optimal security and the following change in ja-newsflashloader.php helps:

    [PHP]if (!defined (‘_VALID_MOS’)) {
    define( ‘_VALID_MOS’, 1 );

    // Set flag that this is a parent file
    header( “Expires: Mon, 26 Jul 1997 05:00:00 GMT” ); // disable IE caching
    header( “Last-Modified: ” . gmdate( “D, d M Y H:i:s” ) . ” GMT” );
    header( “Cache-Control: no-cache, must-revalidate” );
    header( “Pragma: no-cache” );

    chdir (‘../../’);

    require( ‘globals.php’ );
    require_once( ‘configuration.php’ );
    $splitter = md5(“JA Flashnews”);

    // SSL check – $http_host returns <live site url>:<port number if it is 443>
    $http_host = explode(‘:’, $_SERVER[‘HTTP_HOST’] );
    if( (!empty( $_SERVER[‘HTTPS’] ) && strtolower( $_SERVER[‘HTTPS’] ) != ‘off’ || isset( $http_host[1] ) && $http_host[1] == 443) && substr( $mosConfig_live_site, 0, 8 ) != ‘https://’ ) {
    $mosConfig_live_site = ‘https://’.substr( $mosConfig_live_site, 7 );
    }

    require_once( ‘includes/joomla.php’ );[/PHP]

    Thank you for this great Design!

    dpk Friend
    #222161

    for this problem, also see this thread:
    http://www.joomlart.com/forums/topic/ja-newsflash-randomizer-bugs-and-solutions/

    Unfortunately, my newsflash still doesn’t work.

    cyrber971 Friend
    #224680

    Very nice !
    thanks:)

    elfa17 Friend
    #236239

    <em>@stnetwork 17411 wrote:</em><blockquote>I found a solution at http://www.joomlart.com/forums/topic/ja-newsflash-randomizer-bugs-and-solutions/

    The problem was, that RG_EMULATION is off at my Website for optimal security and the following change in ja-newsflashloader.php helps:

    [PHP]if (!defined (‘_VALID_MOS’)) {
    define( ‘_VALID_MOS’, 1 );

    // Set flag that this is a parent file
    header( “Expires: Mon, 26 Jul 1997 05:00:00 GMT” ); // disable IE caching
    header( “Last-Modified: ” . gmdate( “D, d M Y H:i:s” ) . ” GMT” );
    header( “Cache-Control: no-cache, must-revalidate” );
    header( “Pragma: no-cache” );

    chdir (‘../../’);

    require( ‘globals.php’ );
    require_once( ‘configuration.php’ );
    $splitter = md5(“JA Flashnews”);

    // SSL check – $http_host returns <live site url>:<port number if it is 443>
    $http_host = explode(‘:’, $_SERVER[‘HTTP_HOST’] );
    if( (!empty( $_SERVER[‘HTTPS’] ) && strtolower( $_SERVER[‘HTTPS’] ) != ‘off’ || isset( $http_host[1] ) && $http_host[1] == 443) && substr( $mosConfig_live_site, 0, 8 ) != ‘https://’ ) {
    $mosConfig_live_site = ‘https://’.substr( $mosConfig_live_site, 7 );
    }

    require_once( ‘includes/joomla.php’ );[/PHP]

    </blockquote>
    I spent about an hour to solve the problem, same to that topic. I looked through all that forum to find out the right answer and only that one helped me to fix it. It was so easy to fix – just replace the order of 3 lines in PHP! I wonder WHY support people didn’t change that in file that we all download or at least why wouldn’t they ad that solution to FAQ related to that template (the really nice one). Please, do that – you would save a lot of time for a lot of people here (as far as I can see – that question is not so rear). Also that would be great to put to the FAQ that one has to have more than one item to work JA Flasnews correct. I believe many people would be so greatful for that info too. TIA
    Elena (a girl from Russia, sorry for my English)

    dpk Friend
    #236241

    thanks Elena, your English is fine and this is very helpful. You are right it should be in the FAQ or an updated version of the module.

    dpk Friend
    #236445

    Well I tried this and a few other things–but I still can’t get any version of JA Newsflash to rotate content items.

    elfa17 Friend
    #236450

    <em>@dpk 36997 wrote:</em><blockquote>Well I tried this and a few other things–but I still can’t get any version of JA Newsflash to rotate content items.</blockquote>

    Some changes are shown only after you clean your cache or… wait when it cleans itself.
    Be sure you changed ja-newsflashloader.php correct and move TWO comands:
    [PHP] require( ‘globals.php’ );
    require_once( ‘configuration.php’ ); [/PHP]

    and put them before that one:
    [PHP] $splitter = md5(“JA Flashnews”); [/PHP]

    Also CHMOD changes should be done for sure.

    dpk Friend
    #236499

    I did all that, and it only loads one newsflash then stops.

    fingerpig Friend
    #254033

    I too have worked my way through the forums and tried these fixes / mods but still only get one newsflash and no rotation 🙁

    Any help would be greatly appreciated

    Mark

    fingerpig Friend
    #254058

    okay – sorry folks – i guess i hadnt tried everything :$

    I removed the module that came with rochea and replaced it with the one from lolite (i just looked for the most recent template with newsflash in it)

    hey presto – all working and no hacks required 🙂

    hth

    Mark

    dpk Friend
    #254148

    Joomlaworks’ Universal Content Display module is also a good one.

    In one instance I got JA Newsflash to work by back-dating all its articles by 24hrs.

    Sherlock Friend
    #254373

    Thank everybody.
    If you have any problem, plz post on others thread, then maybe send link to me via PM, I will try to help
    Regards

    whamprod Friend
    #254508

    I have JA Newsflash running here: http://www.o-p-i.com/content/.

    I have six newsflash items running in the rotation. The problem is that nothing I do to their rotation order in the Article Manager screen affects the sequence in which they actually rotate – which seems to be random. Also, the JA Newsflash screen accessed through the Modules Manager gives no parameters which allow you to control the rotation sequence – only the rotation speed, and effects like “fade,” etc.

    Is there something in the PHP for JA Newsflash that I can address to force the rotation to happen in the sequence I want it to be in?

    Any help is appreciated. My client would very much like for this to be resolved, and this site is supposed to go live tomorrow night (Texas time).

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

This topic contains 14 replies, has 7 voices, and was last updated by  whamprod 16 years, 5 months ago.

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