Closed (duplicate)
Project:
Amazon Product Advertisement API
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
2 Mar 2010 at 16:31 UTC
Updated:
28 Jan 2011 at 21:46 UTC
In updating for D7, I tried to figure out how in the world we would use the built-in token support. As far as I can tell, there is no way to exercise it, as no event that I'm familiar with is likely to have a single Amazon_item instance available to it.
Should we just pull out the token code? (both D6 and D7)
Comments
Comment #1
Edward Andrews commentedTokens that you could use to produce auto-titles would be brilliant - there's a (closed) issue here http://drupal.org/node/392524 that tells you how to make auto titles work, but proper tokens would be better!
Edward
Comment #2
rfayThe problem is: We don't have any situations I know of where you could assume one Amazon Item on a node. How would token choose which item to use? On a node save the code would have to look for items referred to by filter, items referred to in arbitrary cck fields... I'm getting fully convinced here.
@eaton: Do you have anything to say about this?
Comment #3
cwithout commentedTokens have changed in D7, but skimming the docs, I THINK it's still possible to implement this. I'll work on it.
Comment #4
rfayLooks like you're doing great on #1043030: D6: Improved token support (especially for Automatic Node Titles) - Let's move this over there.