PDA

View Full Version : Links count error - shows nr. of subcats only


otilia
10-25-2005, 08:59 PM
Hi everyone!

This is my very first day here on the board, as well as the very first day using the phpLD - after tons of hours spent on figuring out which link directory script should I use for a directory I'm planning to launch soon, I decided to give phpLD a try.
Smooth sailing until now with everything - installing, customizing the look etc. (congrats to the developers!) but there's one tiny problem I've just noticed: when using the count option enabled, the link count on the main page shows the number of subcategories only, while the link count of the subcategories once you enter a category is okay.
I've spent couple of hours seeking if this problem has already been addressed here but found nothing that can be applied to me.

What I'd like to do is either

1. show link count only on subcats, with no link count on the main page next to the categories;
or
2. show link count as subcats+links (as I understood it should be in the first place) if that's easier to fix.

By the way, the directory in discussion is this:

http://www.marketingwho.com

I'd appreciate any input you can give me on this, thanks a lot!

Otilia

otilia
10-26-2005, 06:30 PM
It's ok, problem solved beautifully with the help of the code from this thread:
http://www.phplinkdirectory.com/forum/viewtopic.php?p=5505#5505.