Closed (fixed)
Project:
Freelinking
Version:
7.x-3.6
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
29 Sep 2012 at 02:06 UTC
Updated:
23 Apr 2015 at 14:14 UTC
Jump to comment: Most recent
Comments
Comment #1
sfreese commentedThis is a great addition. I'm not sure why they removed this functionality, either. Your plugin works great but there's a problem. If the external url is a complex one that includes arguments denoted by an equal sign (such as a link to a Google Form, for instance), it fails and passes the title to the search plugin. The problem seems to be in the freelinking_parse_target function of freelinking.module where it explodes the passed arguments on any equal sign:
I'm not much of a PHP developer so I can't quite figure out what this part of the function is for. None of the other plugins seem to make use of equal signs. Maybe you or another developer can help me sort this out. I really want my users to be able to harness freelinking for external links.
Thanks in advance.
Comment #3
gisleBuilt-in support for freelinks to external URLs has been added to the HEAD of 7.x-3.x-dev.
You should now be able to use freelinking double brackets like these to link to external URLs:
Please review.
Comment #4
gisleThis is included in the 7.x-3.5 release.
Comment #6
thinkyhead commentedThe code needed some tweaks to handle queries, fragments, and SSL. Here's the updated source:
Comment #7
gisleReopening (I probably will not have time to look into this until 2015).
Comment #8
gisleA revised plugin for external URLs has been pushed to the latest development snapshot of the 7.x-3.x-dev branch.
Please review.
Comment #9
gisleThis is now fixed in version 7.x-3.6 of Freelinking.
Note: Before updating to version 7.x-3.6, you should to enable the following module on your site: Advanced help hint.
Also, as part of updating, make sure you run the update script to make sure this required module is properly enabled.
Failing to do so will trigger the following error message when you try to visit some of the tabs in the admin GUI:
Call to undefined function advanced_help_hint_docs()...