Closed (fixed)
Project:
Web Links
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Feb 2011 at 18:29 UTC
Updated:
18 Jul 2015 at 07:44 UTC
Jump to comment: Most recent
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
Comment #1
jonathan1055 commentedHi 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=bb95cd0Jonathan