1
tedsmith
Category Listing in Downloads Module chopped off at end
  • 2004/6/29 8:11

  • tedsmith

  • Home away from home

  • Posts: 1151

  • Since: 2004/6/2 1


Hi

Please can someone help me?

We have a very large list of categories in our Downloads module - around 50. I have one main category and then about 50 sub catergories that belong to it. However, when I go to the Downloads page from the main menu it only list the first 5 or 6, and then finishes it off with '...' as opposed to listing all the categories.

Is there a way round this? Its very urgent. Please help because otherwise my manager wants us to use PostNuke (which I don't want!)

2
tedsmith
Re: Category Listing in Downloads Module chopped off at end
  • 2004/6/29 8:21

  • tedsmith

  • Home away from home

  • Posts: 1151

  • Since: 2004/6/2 1


Sorted it.

If anyone else gets this problem, then try the following :

Open the index.php file located in the modules\mydownloads folder. Find the script where it says :

foreach($arr as $ele){
another line or two
if($chcount>5){ -This is the no of categories shown
$subcategories ....

Change the value to the amount you want listing. I increased it to 100 and heypresto.

Login

Who's Online

271 user(s) are online (153 user(s) are browsing Support Forums)


Members: 0


Guests: 271


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits