Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Multiple Categories Problem

Quote Reply
Multiple Categories Problem
After install Multiple Categories,
(http://www.online-sweepstakes.com/links-mods/)

I can use multiple categories but have below problem:-

1) Total links no. is 2 x ,
if i have 3 links , but the total links is (6) links,
if i have 30 links , but the total links is (60) links,
for exp :-
"Technology" category have 5 total links,
but after nph-buid.cgi total links is show out
total 10 links : -
------------------
Technology (10)
------------------
when u click to "Technology" category u can find just
have 5 links only.

2) How to give user select the multiple categories , when
user add their url.
I just can add multiple categories from admin.cgi.

3) When modify url , got Rating(Invalid Format),
so , i change to links.def from
------------------
Rating => [11, 'numer', 10, 10, 1, 0, '^[\d\.]+$'],
------------------
to:
Rating => [11, 'numer', 10, 10, 1, 0, '0'],


Please help me please , thanks.
Quote Reply
Re: Multiple Categories Problem In reply to
1) The links count is only for the primary category and does NOT include the count of the AltCategories in that number.

2) Search the forum more carefully...Codes have been posted a few times in this forum for adding the AltCategories into the Add Form template files.

3) You should use the following hidden field in your Modify Form, like the following:

Code:
<input type="hidden" name="Rating" value="<%Rating%>">

Hope this helps...

Please in the future...

a) Search the forum more carefully.
b) Check out the FAQs in the Resource Center.
c) If you can't find the answers you are looking for, please post one problem per Topic....It is confusing addressing multiple problems in Topics.

Thank you.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
Quote Reply
Re: Multiple Categories Problem In reply to
BTW: Questions about MODS should be posted in the LINKS MODIFICATION FORUM.

Wink

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
Quote Reply
Re: Multiple Categories Problem In reply to
This is because you probably forgot to delete $stats{$cat}[0]++; in the sub build_stats in nph-build.cgi (it is douplicated) (already existed in the replacement - so delete the one after the replacement)..
Regards..
Mark