| Author |
Message |
nuken RavenNuke(tm) Development Team

Joined: Mar 11, 2007 Posts: 1435 Location: North Carolina
|
Posted:
Wed Mar 21, 2007 10:43 am |
|
An option to turn on and off dual columns for the news module in the rnconfig file would be nice. I like the 2 column look but don't want NSN News just to achieve it. This mod from worked great on my site and is a simple mod of the News index file. Great job on RN 2.10. Thank you. |
|
|
|
 |
Guardian2003 Site Admin

Joined: Aug 28, 2003 Posts: 6299 Location: Vsetin, Czech Republic
|
Posted:
Wed Mar 21, 2007 12:21 pm |
|
That mod takes only seconds to make and can probably be done just as quickly as turning it on/off in rnconfig.php
Thanks for posting the link. |
|
|
|
 |
jakec Site Admin

Joined: Feb 06, 2006 Posts: 3028 Location: United Kingdom
|
Posted:
Thu Mar 22, 2007 4:36 am |
|
Thank for this post nuken. I was considering installing NSN News just to be able to have 2 columns, but this makes things a whole lot easier.  |
|
|
|
 |
nuken RavenNuke(tm) Development Team

Joined: Mar 11, 2007 Posts: 1435 Location: North Carolina
|
Posted:
Thu Mar 22, 2007 5:14 am |
|
It is alot easier. You will probably need to adjust the cellspacing="0" cellpadding="0" to "1" to get it to display correctly depending on what theme you use. Im sure you know that though. |
|
|
|
 |
benny_tllh Hangin' Around

Joined: Dec 29, 2006 Posts: 31
|
Posted:
Sun Feb 01, 2009 3:18 pm |
|
Still works, but couldn't find first item. Instead look for the while
| Code: | | while ($row = $db->sql_fetchrow($result)) { |
line 121
Would be nice if it was implemented and the $itemsPerRow = 2; variable moved to config or themes. Would seem logical to have small themes 1 column and wide themes 2 columns (3 on special extreme setup) |
|
|
|
 |
giordano New Member


Joined: Mar 27, 2009 Posts: 1
|
Posted:
Sat Mar 28, 2009 5:09 am |
|
how to do so that it is only for the selected topic ? |
|
|
|
 |
jakec Site Admin

Joined: Feb 06, 2006 Posts: 3028 Location: United Kingdom
|
Posted:
Sat Mar 28, 2009 5:28 am |
|
No this should work for all topics. |
|
|
|
 |
|
|
|
|