Support Joomla!
Search: Advanced Search
Serving 3351 extensions to the community. Last updated today.

Editor Blogs






Lost Password?
No account yet? Register

Who's Online

We have 514 guests and 38 members online
Joomla! Extensions Directory feed - RSS 0.91

Directory Support

Rules
Using this Site

Disclaimer

The extensions and reviews listed in this area have been submitted by the community and their listing does not constitute or imply endorsement, recommendation, or favouring by Joomla!/OSM.

This content is provided as a free service to our visitors, and, as such, Joomla!/OSM cannot be held liable for the accuracy of the information. Visitors wishing to verify that the information is correct should contact the parties responsible for authoring the content and/or development of the extension.


Are you seeing blanks over some extensions' compatibility, license and type field? Head over to JED forum to learn why.
genamex Extensions(0) | Reviews(1) | Favourites(0)
Display News by BK
 Awesome Module (more columns with hack), January 7, 2008

As other reviewers, I found this module really easy to use and with so many parameters (selecting items inside sections, categories, articles themselves, or even by date!! The only draw back is that it only displays one column. But you can change that easily. I modified the "horizontal" style inside the mod_dn.php file. This code will count the columns (3 in this case) and then add a new row. After you ad this code, make sure you use the horizontal style:
Add this to the Parameters list (around line 342):

// Count Columns
$countColumns = 0;

And then replace this code from the loop (around line 1270):

if ($style == 'horiz' ) {
echo '';

with this code (make sure you change the number 3 to how many columns you want to display):

if ($style == 'horiz' ) {
$countColumns = $countColumns + 1;
if ( $countColumns == 3 ) {
echo " ";
$countColumns = 0;
} else {
echo '';
}

You can thank this one to my husband Van for helping me figure it out.

I love that you have a separate CSS for it. It is very helpful since I'm using this module to display articles for each issue of a online magazine.

Thanks again for the great and simple Mod!

Gena Eiseman