Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

More than 1000 links for category

Quote Reply
More than 1000 links for category
How do I do to place more than 1000 links in a sub static category? or be the nph-build it only generates up to 1000 links in a category.
Quote Reply
Re: More than 1000 links for category In reply to
It's really recommend to subcategorize your links more, but to get more then 1,000 links per category, you can edit nph-build.cgi and change:

$get_links = $LINKDB->prepare (" SELECT * FROM Links WHERE CategoryID = ? ORDER BY $LINKS{build_sort_order_category} LIMIT 1000 ");

Just change the 1000 to something higher.

Cheers,

Alex