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 -> RN v2.10.01 - All Issues
Author Message
safierdrgn
Hangin' Around



Joined: Oct 23, 2006
Posts: 26

PostPosted: Tue Sep 25, 2007 12:24 pm Reply with quote

My weblinks is currently only showing 3 sub-categories under the main category instead of all of them. Is there any way I can get it to show all of them instead of just the 3? I've looked in the index.php file and I can't find where this is limiting the number to 3.

Thanks in advance!
 
View user's profile Send private message
unwired
Regular
Regular



Joined: Sep 10, 2007
Posts: 53

PostPosted: Tue Sep 25, 2007 8:32 pm Reply with quote

How many categoris or sub-categories did you make?
In your download module admin panel try to recheck your settings from there..
 
View user's profile Send private message
safierdrgn







PostPosted: Tue Sep 25, 2007 8:57 pm Reply with quote

This is under Weblinks, not Downloads.

The Sub-categories under the individual main categories are only showing 3 per main category. I have anywhere from 4-6 sub categories under each Main category.

I'd like to be able to change the number it displays from 3 to max.
 
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Sat Dec 15, 2007 8:20 am Reply with quote

Sorry, just realized this was never answered. There is this line in modules/Web_Links/index.php:

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

You can change the 3 to whatever you want, but I am not sure whether it will format right or not, but you can give it a try.

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Gremmie
Former Moderator in Good Standing



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

PostPosted: Sat Dec 15, 2007 3:00 pm Reply with quote

There was another thread about this if you search. One user suggested the change montego proposed and I remember the original poster said it worked.

_________________
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
montego







PostPosted: Mon Dec 31, 2007 8:39 am Reply with quote

I have tested this hack and it works just fine with both Downloads and Web Links, so have fun! Wink
 
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 -> RN v2.10.01 - All Issues

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 ©