Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.00.00 - v2.02.00 Distro
Author Message
safierdrgn
Hangin' Around


Joined: Oct 23, 2006
Posts: 26

PostPosted: Wed Sep 26, 2007 10:08 am Reply with quote

I am trying to find out how I can get my Weblinks module to show more than 3 Subcategories under the main category.

I found this thread on Nukecops - it's exactly what I want, however the code is different in RavenNuke than it is on the thread. So that stumped me..and I'm stuck right at the beginning again.

Only registered users can see links on this board! Get registered or login!

Does anyone know the correct code to place to get this working correctly? Pretty please? Crying or Very sad
 
View user's profile Send private message
Gremmie
Former Moderator in Good Standing


Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Wed Sep 26, 2007 1:57 pm Reply with quote

I'll look at this tonight but it sort of sounds like some modifications need to be made to support that.

_________________
Only registered users can see links on this board! Get registered or login! - An Event Calendar for PHP-Nuke
Only registered users can see links on this board! Get registered or login! - A Google Maps Nuke Module 
View user's profile Send private message
spcdata
Regular
Regular


Joined: Jan 24, 2004
Posts: 81
Location: Sweden

PostPosted: Wed Sep 26, 2007 5:25 pm Reply with quote

Hi!
Try this:
in modules/Web_Links/index.php find this (at row 256 i think) :

Code:
$result2 = $db->sql_query('SELECT cid, title from '.$prefix.'_links_categories where parentid=\''.$cid.'\' order by title limit 0,3');


Change to:
Code:
$result2 = $db->sql_query('SELECT cid, title from '.$prefix.'_links_categories where parentid=\''.$cid.'\' order by title');

_________________
/spcdata 
View user's profile Send private message Send e-mail Visit poster's website
Gremmie
PostPosted: Wed Sep 26, 2007 7:17 pm Reply with quote

spcdata, nice!
 
safierdrgn
PostPosted: Thu Sep 27, 2007 9:29 am Reply with quote

Thank you sooo much!
I know a ton of people have been looking for that fix. I'll have to keep this one bookmarked. Hah!

Thanks again!


And you were very close on that line number! It's actually 251
 
Gremmie
PostPosted: Thu Sep 27, 2007 10:54 am Reply with quote

safierdrgn wrote:

And you were very close on that line number! It's actually 251


Do you have version 2.10?
 
safierdrgn
PostPosted: Mon Dec 10, 2007 12:14 am Reply with quote

Sorry to dig up an old thread...thanks for the fix by the way! It works perfectly!

Is there a way to list the sub-categories..rather than having them all bunched up together?

I'm looking for something like this -

Main Category
Sub-category 1
Sub-category 2
Sub-category 3
Sub-category 4
 
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.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.00.00 - v2.02.00 Distro

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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©