Needs work
Project:
Amazon associate tools
Version:
5.x-1.5
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Jun 2007 at 22:58 UTC
Updated:
14 Feb 2008 at 03:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
csc4 commented+1 for this - it's an excellent enhancement - but could we add one more level of flexibility to it?
A number of people have asked for the module to be able to link to the local book page rather than directly to amazon - could that be added to the options and set accordingly?
Comment #2
cyberswat commentedSure ... instead of a yes/no radio selection to disable links back to Amazon there are now 3 options:
Comment #3
cyberswat commentedI ran across this issue http://drupal.org/node/139700 so modified the above patch to also work with the blocks. The global variables affect the behavior uniformly.
Comment #4
csc4 commentedBrilliant - thanks so much.
Had a small problem applying the patch as my module version appears to be later so the line numbers were slightly different
but I put al the changes in (from patch 2) - and selecting link to product node - but the links and the image links don't seem to be changing? I tried importing some new amazon items and they seem unchanged too?
I thought at first that it was that the options were numbered one way in the radios
Images link back to Amazon - 0
but the opposite way in the Paint_image
Images link back to Amazon - 2?
But that didn't seem to fix it so now I'm puzzled! I'm sure it's something obvious!
I think it might be
Shouldn't that be changed to the new style links too? There seem some other occurrences of $node->detailpageurl as well? I tried changing all of them and that seems much more right with the one minor side effect that means there's no amazon link left on the amazon node so that's not quite right either....
I can't help wondering if part f the answer is that there should be a straightforward 'purchase from amazon' or 'view at amazon' button/link on the amazon node? So I as well as changing the other detailurls I added a 'see at amazon' link to my amazon_node page and that seems good?
As my module version seems different from yours I've attached it.
Comment #5
teachermatt commentedHas anyone had a chance to merge the changes cyberswat made with the changes csc4 made? It would be great to have both options built in!
Comment #6
Riccardo83 commentedyeah that would be great, i just firgured out how to patch but cant apply it cause different versions....
Comment #7
wayland76 commented