I have some D6 site whit external link to affiliate site there i use link.
I have a plan to upgrade to D7. I have try to upgrade one site and make a new site.
I have try link version 1.2, 1.3 and 1.dev
i have this link in D6
http://pdt.tradedoubler.com/click?a(239132)p(20130)prod(1865320023)ttid(5)url(http%3A%2F%2Fda.hotels.com%2Fho111886%2Fcontinental-plaza-hotel-kissimmee-kissimmee-usa%2F%3Fwapb1%3Dtopdeals)
and it work.
If i save the same link in D7
then i try to click on the link it have change it to.
http://pdt.tradedoubler.com/click?a%28239132%29p%2820130%29prod%28186532...
and the same whit this link
http://www.partner-ads.com/dk/klikbanner.php?bannerid=35804&partnerid=11...
change it to
http://www.partner-ads.com/dk/klikbanner.php?bannerid=35804&%3Bpartne...
Comments
Comment #1
KoshaK commentedHi,
I have the same problem... i have opended the ticket for this as well, by manipulating with the link itself I found that ( ) converts in to %28 %29 because of the " ? " in front. If you remove the " ? " then ( ) displayed correctly, but ofcause this is not a fix, but only the test to find the causing problem.
http://pdt.tradedoubler.com/click? - remove ? and ( ) dispayed correctly. so the problem need to be addressed why those kind of characters are converted to code after " ? "
Comment #2
KoshaK commentedI have a workaroung... at least siutable for myself for the meantime. Create the new field with Long Text field type and use the html to insert the link there. if you need the Button then user class depends on you theme button class neme.
for example this is the way how my looks like:
<a class="kos-button" href="http://clkuk.tradedoubler.com/click?p(799)a(2433584)g(21225622)url(http://www.ebookers.ie/shop/packageSearch?aph.leaveSlice.time=Anytime&lpid.priority=1200.0&aph.leaveSlice.orig.key=Dublin&aph.returnSlice.date=24%2F03%2F15&aph.leaveSlice.dest.key=Paris&type=aph&lpid=plaph&aph.rooms[0].adlts=2&aph.leaveSlice.date=21%2F03%2F15&lpid.ruleId=3600001200&aph.returnSlice.time=Anytime&search=Search&lpid.category=aph-route-dated&aph.type=keyword&_eventId=sort&hsv.sortOrder=NET_PLUS_MARKUP)">Get this deal now >> </a>Comment #3
KoshaK commentedHi,
I have another workaround... I have tryed the Short Url module ( there is few of them ) so, you make short Url from Affiliate Link and use it in the Link Field.
Regards,
Kos
Comment #4
lykkebjerg commentedHi KoskaK
Do you have a link to the your ticket.
Comment #5
KoshaK commentedhere is one from myself:
https://www.drupal.org/node/2416939
here is another two related:
https://www.drupal.org/node/1914072
https://www.drupal.org/node/1984398
Comment #6
sumitmadan commentedDuplicate of #1914072: Link Module displays malformed external URL.