Home » Custom Joomla Code
 

Talk to Us Live!



Click on the link above to start a conversation
Joomla Module Enhancements: Newsflash

We have recently modified some core modules in Joomla in order to provide some much-needed functionality to our clients.  We will be happy to release these to everybody, once we have tested them.  The first module ready for release is an enhancement to the Newsflash module, which allows the display of multiple random articles.


UPDATED!  Version 1.0.1 now available.  Changes: Articles are now randomised BEFORE they are selected, so you truly get a random display of articles when you set a limit.

The core Newsflash module is very useful, however it suffers one obvious limitation: the ability to display multiple random articles in either the Vertical or Horizontal formats.

This module is a replica of the newsflash module, but simply provides two extra options in addition to Default (random), Horizontal, and Vertical.


When using the Joomla Enhanced Newsflash module, you will also have the options of Horizontal-Random and Vertical-Random.  The additional options are the same as their counterparts, except they have a simple piece of code added which randomises the array of articles before it is displayed.

We hope you find this useful!

INSTALLATION: Simply use the Joomla installer to locate the module zip file, and away you go.  You will now have a new module called Newsflash_Enhanced available.

You can download the module here:

LATEST v1.0.1 Joomla Elegant Logic Newsflash Module v.1,0.1 

OLD v1.0.0 Joomla Elegant Logic Newsflash Module v1.0.0

 

 

Please leave a comment below if you have downloaded this module, and found it useful.  A thanks would be most appreciated!  If you are having trouble installing or using this module, feel free to ask for help below (although we cannot guarantee you will receive it from us, but there are some helpful people out there who might).

 

 

Comments  

 
0 #13 Luke @ Elegant Logic 2011-11-20 21:19
Quoting Vicent:
"No. of Items" should represent a "no." of articles to display from all articles in selected category, not only first "no." from selected category.

example: "If i have category with 8 articles, and i set No. of Items to 2, then it should be displaying 2 random articles of that 8, not only the first two from category"

there is any solution???



Please see the new version 1.0.1 - your issue should be addressed.
Quote
 
 
0 #12 Luke @ Elegant Logic 2011-11-20 21:10
Quoting Ben:
How'd you go with the random article number problem. I'd really love to see the solution.


Please see the new version on this page - v1.0.1

Should do the trick!! Please let me know. :lol:
Quote
 
 
0 #11 Ben 2011-09-24 15:02
How'd you go with the random article number problem. I'd really love to see the solution.
Quote
 
 
0 #10 Luke @ Elegant Logic 2011-06-14 17:37
Quoting jay:
Quoting Vicent:
Fatal error: Cannot redeclare class modNewsFlashHel per in /homez.136/offuwatg/www/1002/modules/mod_el_newsflas h/helper.php on line 20

What its the problem?



getting the same here!


Hi there,

I am not clear on what the problem is, although 'Vicent' was able to resolve it himself. I assume it was not a problem with the module, and probably something to do with either his server setup, or some other Joomla module/component.

Let me know what version of Joomla you are running, and what other modules and components you have installed.

-Luke
Quote
 
 
0 #9 jay 2011-04-21 02:42
Quoting Vicent:
Fatal error: Cannot redeclare class modNewsFlashHel per in /homez.136/offuwatg/www/1002/modules/mod_el_newsflas h/helper.php on line 20

What its the problem?



getting the same here!
Quote
 
 
+2 #8 Luke @ Elegant Logic 2010-12-14 10:46
This module is based on the existing native newsflash module that comes with Joomla.

When you limit it to a certain number of articles, it picks those article from your category BEFORE the random function is run. Therefore, the random list is not generated from ALL articles in your chosen category.

When I turn my newsflash module back to the default setting (which is also random), it too shows the same behaviour you describe.

So the problem lies with the original module on which this one is based.

I can see why you would want this feature so we will be re-writing this module from scratch very soon, and will be sure to make the random list generate itself from the entire list of articles within your chosen category.

Thanks for the feedback :-)
Quote
 
 
+4 #7 Vicent 2010-12-14 08:33
"No. of Items" should represent a "no." of articles to display from all articles in selected category, not only first "no." from selected category.

example: "If i have category with 8 articles, and i set No. of Items to 2, then it should be displaying 2 random articles of that 8, not only the first two from category"

there is any solution???
Quote
 
 
0 #6 Luke @ Elegant Logic 2010-12-14 08:10
Glad you got it sorted :lol:
Quote
 
 
-1 #5 Vicent 2010-12-14 06:18
It's ok, thanks
Great!!!!!!!!!! !!!!!!!!!!!!
Quote
 
 
-1 #4 Vicent 2010-12-14 05:43
Fatal error: Cannot redeclare class modNewsFlashHel per in /homez.136/offuwatg/www/1002/modules/mod_el_newsflas h/helper.php on line 20

What its the problem?
Quote
 

Add comment


Security code
Refresh