We are not able to use clean URLs on a site, and the weblinks module inisists on making the click track link on the title when it is linked to the site without the q= so we can't use both features. Could this be a feature request or is it a bug?

We are using "link the title to the ___" set to 'link to the site' and also use "link displays as URL" and it makes the link displayed as the URL below the title with a hyperlink with the q= just fine. So we have to either turn off the click track or turn off link the title to the node, because we have no idea which link the visitor will use.

Comments

jonathan1055’s picture

Hi Verta,
Yes this was a bug and I'm sorry no-one responded back when you reported it. You will be pleased to know that as part of the 7.x development and testing this bug was "discovered" again and we fixed it in #2463501: Link url produces 404 when click-count enabled or clean-urls not enabled, back-porting to 6.x-2.6.

In function weblinks_preprocess_node() when setting $variables['node_url'] it needed a call to function url() around $variables['weblinks_title_link']. The commit is http://cgit.drupalcode.org/weblinks/commit/?id=bb95cd0

Jonathan

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.