Hiya! I recently added the AltCategories mod to my Links 2.0 setup -- this is the only mod I've added so far (and I haven't added any of the stuff like adding the AltCategories field to confirmation emails, or changing add.cgi to allow the users to specify alternates yet, either).
Adding links with the additional categories is fine, and I modified the links.db file for all the old links, and everything looks good except for two things.
Less important: For some categories (which only contain subcategories), it lists 0 links, even when the subcategories do contain links. I'm not sure if that's the expected behavior or not, but I would like it to show the number of the links under all the subcategories.
More important: The links which have alternate categories defined only show up in their primary category, not at all in their alternate categories.
I tried searching the forum for other posts about this but I couldn't find anything helpful. I double-checked the mod site at http://www.online-sweepstakes.com/links-mods/ to make sure I'd integrated all of the code that it specifies, and I have -- actually, I did find one thing that I'd missed (removing one line in nph-build.cgi), which once done fixed a problem where it was doubling the link count for certain categories, but it didn't fix anything else.
Any help would be appreciated. The site is at http://www.ziggurat.org/soap/links/ if anyone would like to see. One example of a link which is affected by the alt-category not listing problem is listed thus in my links.db (newlines added to prevent this post from being very wide):
129|Suds and Scents Natural Soapmaking Supplies|
http://www.sudsandscents.com/|8-Mar-2003|
Suppliers/Canada/Essential_Oils|
Suppliers/Canada/Bases~~Suppliers/Canada/Colorants~~Suppliers/Canada/Flavoring~~
Suppliers/Canada/Fragrance_Oils~~Suppliers/Canada/Packaging|
High quality soap making supplies and ingredients for natural and safe, handmade soap making, bath and body care crafts at reasonable prices. - Located in North Vancouver, BC|
sabrina|viv@ziggurat.org|0|Yes|No|0|0|Yes
thanks very much in advance,
--sabrina
viv@ziggurat.org
Adding links with the additional categories is fine, and I modified the links.db file for all the old links, and everything looks good except for two things.
Less important: For some categories (which only contain subcategories), it lists 0 links, even when the subcategories do contain links. I'm not sure if that's the expected behavior or not, but I would like it to show the number of the links under all the subcategories.
More important: The links which have alternate categories defined only show up in their primary category, not at all in their alternate categories.
I tried searching the forum for other posts about this but I couldn't find anything helpful. I double-checked the mod site at http://www.online-sweepstakes.com/links-mods/ to make sure I'd integrated all of the code that it specifies, and I have -- actually, I did find one thing that I'd missed (removing one line in nph-build.cgi), which once done fixed a problem where it was doubling the link count for certain categories, but it didn't fix anything else.
Any help would be appreciated. The site is at http://www.ziggurat.org/soap/links/ if anyone would like to see. One example of a link which is affected by the alt-category not listing problem is listed thus in my links.db (newlines added to prevent this post from being very wide):
129|Suds and Scents Natural Soapmaking Supplies|
http://www.sudsandscents.com/|8-Mar-2003|
Suppliers/Canada/Essential_Oils|
Suppliers/Canada/Bases~~Suppliers/Canada/Colorants~~Suppliers/Canada/Flavoring~~
Suppliers/Canada/Fragrance_Oils~~Suppliers/Canada/Packaging|
High quality soap making supplies and ingredients for natural and safe, handmade soap making, bath and body care crafts at reasonable prices. - Located in North Vancouver, BC|
sabrina|viv@ziggurat.org|0|Yes|No|0|0|Yes
thanks very much in advance,
--sabrina
viv@ziggurat.org