Closed (won't fix)
Project:
Link
Version:
5.x-2.3.1
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
5 Sep 2008 at 13:27 UTC
Updated:
26 Dec 2011 at 10:38 UTC
Hello,
Is there any way to mask link/url ? Here is the example:
I have a node with cck field and there is a link to www.examplewebsite.com/something.html
Is it possible to add a mask like this www.mysite.com/redirect/deal1
You can see this live in action on
If you click GO TO DEAL you will see url http://www.hotukdeals.com/visit/?m=1959&q=225643 and this will redirect you to proper website (in this case http://www.theultimatesteal.co.uk/store/msshuk/ContentTheme/pbPage.End_o...)
Anyone have idea how to do this ? Thank you for your help!
Comments
Comment #1
quicksketchNo, it's not possible with link module currently. It's possible by coding a custom module that provides a formatter for link fields, but no one has taken up this cause.
Comment #2
JoeMcGuire commentedIs the the purpose of this to gather statistics on how many times a Link has been clicked?
Comment #3
faunapolis commentedSubscribing, I am looking for a way to mask external links as well. Very useful if you have affiliate marketing outgoing links.
Comment #4
searosin commentedSubscribing.
It would be a very useful feature in many cases. For example, in downloads, if I don't want others to use the direct links to the files, or if I don't want to let people to know where the files come from. In statistics, it is also a good feature.
Comment #5
jorge commentedWhere did this issue land? Interested for stats.
Comment #6
ddorian commentedim not a coder but maybe some1 can create a theme_function or something to make the url for example: mysite.com/outside?=the_linkfield_id
and take the id of the field in the url and find this way the url of the field
but this will only work with single value link fields
Comment #7
ddorian commentedmaybe this can be done by integrating it with http://drupal.org/project/shorturl
it is like tinyurl but in drupal and maybe everytime u create a link field it creates a short_url too and displays the short_url
link of the issue in shorturl_issues http://drupal.org/node/608810
Comment #8
summit commentedIn addition to this, It would be great to be able per link to switch between showing the node, a tokenized message or redirecting to the link itself!
greetings,
Martijn
Comment #9
dqdFor any feature request please take a look on the link module versions for Drupal 6 and Drupal 7 with much more features and better server and web standart support since Drupal 5 is not supported no more officially.
The stop for Drupal 5 support: Since we have to catch up to get ready for the final Drupal 7 release and have to deal with many feature requests for the Drupal 6 and Drupal 7 version of the link field module, we sadly have to annouce the stop of Drupal 5 support. The files will stay for any individual use or customization, but any support in the issue queue and in the forums has expired from now on.
Sorry and thanks for understanding.
Comment #10
summit commentedHi, I set this to active again for Drupal 7.
This functionality is I think, still lacking. Right?
Sorry if not correct procedure, will make new issue then.
EDIT: see http://drupal.org/node/1379704#comment-5400646 for my trying..I do not see values, can anyone help please?
I would very much like a masking link/url destination, and may be something through tinyurl?
Greetings, Martijn
Comment #11
dqd@ Summit, please don't re-activate such old issues when you see me or jcfiala having closed it before with asking for same features in new issues, since people have to read from top down to find actual questions or solutions, which is too time wasting. Almost 3 years.
You have already described your problem and have already linked to it from another issue to it somewhere else. I think this is enough. If your issue is more specific, you should open another issue and find a good explaining title to lead people with the same need to it.
Please leave the Drupal 5 version of this discussion as dead as it is ...
Thanks for understanding.
Comment #12
summit commentedHi, Yes sorry for posting on this old issue. Issue continues for D7 on: http://drupal.org/node/1379704#comment-5400646