1
ibzan
MyDownloads
  • 2003/11/26 7:47

  • ibzan

  • Just popping in

  • Posts: 48

  • Since: 2003/8/31


Is there a way to add some code that would show the total downloads available within a subcategory? It already does display on the main category level, but I cannot figure out what or how to show it on the subcategory level.

Thanks,

Chris

2
intel352
Re: MyDownloads
  • 2003/11/26 7:57

  • intel352

  • Module Developer

  • Posts: 824

  • Since: 2003/11/23


you can probably skim the viewcat.php file to see the code for displaying the number beside categories

i took a quick glance, and when i had barely scrolled into the file, i saw a bulk of code that looked like it showed category and sub-category information

you might also haveta edit the templates to make sure the number is displayed

3
ibzan
Re: MyDownloads
  • 2003/11/26 14:27

  • ibzan

  • Just popping in

  • Posts: 48

  • Since: 2003/8/31


Actually it is in the index.php file. That is where the count for the category file is coded.
I've tried a few variations, but with no sucess at all - I can't seem to get the sql statement right.

Chris

Login

Who's Online

221 user(s) are online (145 user(s) are browsing Support Forums)


Members: 0


Guests: 221


more...

Donat-O-Meter

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

Latest GitHub Commits