Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Help !!!!!! build_links_per_page ....

Quote Reply
Help !!!!!! build_links_per_page ....
I want to create a various quantity of categories build_links_per_page for different links.

Help Unimpressed
Quote Reply
Re: [drbard] Help !!!!!! build_links_per_page .... In reply to
I am altering "Links SQl" for the Products Catalogue,
In case that there are different numbers of fields and
different volumes of descriptions for different categories,
pages are generated for one category having size of 25-30 Kbs,
for other - having size 250-300 Kbs.

In this case it's very important for me that for different
categories different quantities of links should be for output.
Quote Reply
Re: [drbard] Help !!!!!! build_links_per_page .... In reply to
You should create more descriptive Subject next time...

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...
Quote Reply
Re: [drbard] Help !!!!!! build_links_per_page .... In reply to
Your subject is ok btw.

As far as your requirements, it will be tricky. The code to set the links per page is something like:

my $limit = $CFG->{build_links_per_page} || 25;

....and so to get this to work as you require you'd probably have to manually hack the code to vary the limit depending on the category.