Hi folks

I'm at first hands with the Weblink module. I need to create a kind of a directory of categorized links in my site.

Well, the module seems to work ok but the problem is that all links that are created (external links) are created in a bad way.
Say for example that I want to create a weblink linking to "youtube.com".
I create my new content type "weblink" and enter "www.youtube.com" in the URL field.

If I now access ?q=weblinks I get this weblink listed with a link:

http://localhost/drupal/www.youtube.com

and not:

http://www.youtube.com

Why is this? I dont see any settings on the settings page to fix this..

Help please

Comments

vm’s picture

you have to use http:// in front of the URL
if you don't use the http:// weblinks don't know what to do with it.

Personally, I think the module could assume http:// but it doesn't.

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

brollo’s picture

Why are they not opening in a new window despite I set it like this?

In the admin/settings/weblinks page

The option "Web Links open in new windows" is set to yes, but the links are NOT opening new pages..
ANy idea?

vm’s picture

nope, and I've already removed the module. File a bug report using the project page of the weblinks.module to see if the developer has any idea and check the issue query to see if there is a patch.

May also want to check the -dev version to see if its already been fixed.

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

brollo’s picture

Problem Fixed by using the Links package module which incapsulates a bug free version of weblinks