-
AuthorPosts
-
June 5, 2007 at 5:47 pm #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
June 5, 2007 at 6:38 pm #221541I 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 Frienddpk
- Join date:
- June 2006
- Posts:
- 129
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 19
- Thanked:
- 2 times in 1 posts
June 14, 2007 at 5:12 pm #222161for 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.
July 20, 2007 at 5:51 pm #224680Very nice !
thanks:)January 11, 2008 at 4:37 pm #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 Frienddpk
- Join date:
- June 2006
- Posts:
- 129
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 19
- Thanked:
- 2 times in 1 posts
January 11, 2008 at 4:58 pm #236241thanks 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 Frienddpk
- Join date:
- June 2006
- Posts:
- 129
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 19
- Thanked:
- 2 times in 1 posts
January 15, 2008 at 7:08 am #236445Well I tried this and a few other things–but I still can’t get any version of JA Newsflash to rotate content items.
January 15, 2008 at 9:08 am #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 Frienddpk
- Join date:
- June 2006
- Posts:
- 129
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 19
- Thanked:
- 2 times in 1 posts
January 16, 2008 at 6:58 am #236499I did all that, and it only loads one newsflash then stops.
June 17, 2008 at 7:34 am #254033I 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
June 17, 2008 at 8:24 am #254058okay – 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 Frienddpk
- Join date:
- June 2006
- Posts:
- 129
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 19
- Thanked:
- 2 times in 1 posts
June 17, 2008 at 2:16 pm #254148Joomlaworks’ 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 FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
June 18, 2008 at 9:38 am #254373Thank everybody.
If you have any problem, plz post on others thread, then maybe send link to me via PM, I will try to help
Regardswhamprod Friendwhamprod
- Join date:
- April 2008
- Posts:
- 60
- Downloads:
- 0
- Uploads:
- 6
- Thanks:
- 10
- Thanked:
- 6 times in 1 posts
June 19, 2008 at 12:17 am #254508I 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).
-
AuthorPosts
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