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

wim leers’s picture

Assigned: Unassigned » wim leers
Status: Active » Fixed

This 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...

davidwhthomas’s picture

Hi 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_list and hook_token_values with perhaps a helper function?

I'd then be happy to provide a patch.

best regards,

David

wim leers’s picture

Title: term lineage token for Drupal 7 » Port Taxonomy term lineage token support to Drupal 7
Assigned: wim leers » Unassigned
Category: support » task
Status: Fixed » Active

Yep, that's all that's needed! Thanks! :)

Marking the issue as such.

barkingtiger’s picture

Don't suppose theres been any update or at least a bit of direction of how to fix this issue?

wim leers’s picture

Status: Active » Postponed

Well, 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.