I'm confused about how WebLinks are supposed to work. In the configuration page, there's the following option:

Links lead URL or to Web Link node:
URL
node

This seems to me to allow the option for the Web Link to point to a node, or directly to the page being linked to. Is that correct?

In other words, what I expect from that option, and from the descriptions, is that the following use-case would apply:

  1. User sees page with a number of node titles and teasers for links to another website.
  2. User clicks on node title.
  3. Other website loads.

Instead, this seems to be how it works:

  1. User sees page with a number of node titles and teasers for links to another website.
  2. User clicks on node title.
  3. Node displays, with link as a naked link (i.e., no link text, just the link).
  4. User clicks on naked link.
  5. Other website loads.

Am I missing something?

Comments

joachim’s picture

The setting you mention affects the links on the page that's at /weblinks. (You need to enable this in the menu admin page.)
As far as I can tell, it works as your description of what's expected. Maybe try the latest version, 1.8?

nancydru’s picture

If you choose "URL" it works as in your first description.

However, if you choose "node" it shows the node, but no link; therefore nothing to click. I haven't looked carefully yet, but this tends to tell me that there is no hook_view function, or at least needs a better theme function. IMHO, this should be a bug report.

rmiddle’s picture

Version: 5.x-1.7 » master
Category: support » bug

Node view seems broken with some themes.

Thanks
Robert

nancydru’s picture

This seems to be fixed in 6.x-1.x-alpha2.

rmiddle’s picture

Fixed in CVS for Version 5 Now. It will be in 5.x-1.12.

Thanks
Robert

rmiddle’s picture

Status: Active » Fixed
nancydru’s picture

Status: Fixed » Closed (fixed)