Alex,
What about adding a "main" field to the CatLink ?
If there is a flag field, then you order by that field, so the first record found is the one you want as "main".
In the admin, you can flag a category as "main" to show up on searches.
This field is ignored if not set, but if it is, you can force a link to appear in the search.
PUGDOGŪ
PUGDOGŪ Enterprises, Inc.
FAQ: http://postcards.com/FAQ
What about adding a "main" field to the CatLink ?
If there is a flag field, then you order by that field, so the first record found is the one you want as "main".
In the admin, you can flag a category as "main" to show up on searches.
This field is ignored if not set, but if it is, you can force a link to appear in the search.
PUGDOGŪ
PUGDOGŪ Enterprises, Inc.
FAQ: http://postcards.com/FAQ