PHP Web Host - Quality Web Hosting For All PHP Applications Free RavenNuke(tm) Add Ons
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1435
Location: North Carolina

PostPosted: Wed Mar 21, 2007 10:43 am Reply with quote Back to top

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
Only registered users can see links on this board!
Get registered or login to the forums!
worked great on my site and is a simple mod of the News index file.
Only registered users can see links on this board!
Get registered or login to the forums!
Great job on RN 2.10. Thank you.
View user's profile Send private message Send e-mail Visit poster's website
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6299
Location: Vsetin, Czech Republic

PostPosted: Wed Mar 21, 2007 12:21 pm Reply with quote Back to top

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.
View user's profile Send private message Send e-mail Visit poster's website
jakec
Site Admin


Joined: Feb 06, 2006
Posts: 3028
Location: United Kingdom

PostPosted: Thu Mar 22, 2007 4:36 am Reply with quote Back to top

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. Smile
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1435
Location: North Carolina

PostPosted: Thu Mar 22, 2007 5:14 am Reply with quote Back to top

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.
View user's profile Send private message Send e-mail Visit poster's website
benny_tllh
Hangin' Around


Joined: Dec 29, 2006
Posts: 31

PostPosted: Sun Feb 01, 2009 3:18 pm Reply with quote Back to top

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)
View user's profile Send private message
giordano
New Member
New Member


Joined: Mar 27, 2009
Posts: 1

PostPosted: Sat Mar 28, 2009 5:09 am Reply with quote Back to top

how to do so that it is only for the selected topic ?
View user's profile Send private message
jakec
Site Admin


Joined: Feb 06, 2006
Posts: 3028
Location: United Kingdom

PostPosted: Sat Mar 28, 2009 5:28 am Reply with quote Back to top

No this should work for all topics.
View user's profile Send private message
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum