Postponed
Project:
Hierarchical Select
Version:
7.x-3.x-dev
Component:
Code - Taxonomy
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
14 Aug 2011 at 12:01 UTC
Updated:
30 Aug 2011 at 17:51 UTC
I'm not sure if it's a bug or a feature, but there is no token ( e.g. in pathauto settings) for the term field where multiple values are allowed. Here is the issue: http://drupal.org/node/1248904
How can I get term-lineage token for the field in that case?
Thanks a lot in advance.
Comments
Comment #1
wim leersThis has not yet been ported. You could've seen this by looking at the project page, where I link to http://drupalcode.org/project/hierarchical_select.git/blob_plain/refs/he...
Comment #2
davidwhthomas commentedHi Wim,
Any chance of a summary of what needs doing for term lineage token support from your perspective?
Looks like it's just
hook_token_listandhook_token_valueswith perhaps a helper function?I'd then be happy to provide a patch.
best regards,
David
Comment #3
wim leersYep, that's all that's needed! Thanks! :)
Marking the issue as such.
Comment #4
barkingtiger commentedDon't suppose theres been any update or at least a bit of direction of how to fix this issue?
Comment #5
wim leersWell, implementing token support is fairly straightforward, so there hasn't been any additional direction provided by me, no. You can look at the existing (yet commented out) code from D6 for inspiration, but you'll have to adapt that code to Token's API changes in D7. That's all, really.