Hi,

I really like the weblink module and I have it working. But something is wrong.

In the 'Categories' section, I have a forum setup as well as some other things.

Please look at my categories section here --> http://files.halo-source.com/drupal_cat.jpg

Did I organize this wrong? Because on my Weblinks page, it displays categories for my forums, as well as, page nodes that I have setup. Weblinks Page --> http://files.halo-source.com/drupal_web.jpg

Is anyone else having this problem?

Thanks for your help!

th3gh05t

Comments

carlmcdade’s picture

Under the vocabulary for your forum remove the weblink checked box and then create a new vocabulary and terms just for your weblinks page and check only the weblinks box.

---------------------------
info for Drupal installation
__________________________
Carl McDade
Information Technology Consult
Team Macromedia
www.heroforhire.net

sepeck’s picture

A side note, I checked the vocabulary for my images and weblinks is unchecked. I shall have a more detailed look this weekend.

I shall also create a category for weblinks and assign it to see what happens.

/me speculates that in the absense of a category it defaults to the first one you have?

-sp

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide

th3gh05t’s picture

I checked the forum vocab, and the weblinks box isn't checked.

I also checked the weblinks vocab, and the forum topic isn't checked.

Any other ideas what could be going on?

juneday’s picture

I'm new to drupal module programming, but I think that's the reason:
in weblink.module line 830 the command variable_get("weblink_nav_vocabulary", "") returns an empty value - it should be returning an integer.
If I - just for fun - hardcode a 1 integer it returns a valid vocabulary content. If you hardcode the number of your weblinks vocabulary, it will work fine for now. Of course, this can only be a workaround.

Regards, juneday.

th3gh05t’s picture

So,

I would change that line to 'variable_get("weblink_nav_vocabulary", "1")

How do I find out the 'number of my weblinks vocabulary'?

Thanks, th3gh05t

juneday’s picture

By trying? ;-)

sepeck’s picture

I just added the updated weblinks module recently and it picked up on the Taxonomy I setup for my image module. I haven't had time to see if it was a configuration issue on my part or in the weblinks module itself. You may wish to file an issue on the weblinks project. I won't have time to follow up on mine for another week.

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide

PalWoo’s picture

I encounter the same problem and have not found the solution until now.Who will help us?Thanks in advance.

remco-at-rc6.org’s picture

I hacked my way around the problem in order to at least make my site usable again for the time being.

The following patch may work for you: http://brink.st/config/drupal/20050220-weblink.patch.

green monkey’s picture

page not found on this server

http://brink.st/config/drupal/20050220-weblink.patch.

also I'm having problems with the length of URL links - Affiliate stuff - gosh one of them over 300 chars. I enlarged the mySQL field size, but I see it can't go past 255chars and I don't have a clue how to get around that. It doesn't sound easy.

for now I need to remove the "vist" link on the pages that are displayed, becuase they don't go anywhere. I have added the link into the body - but need to remove the "visit" link one next to "read more" and "comment"

if you know this module well, please advise me what line to erase or rem out