Comments

relaxnow’s picture

Status: Active » Needs review
StatusFileSize
new1.06 KB

Attached is a patch that implements this.

relaxnow’s picture

Fixed ordering of terms, parents should be stored first so autopath can generate a proper URL.

relaxnow’s picture

Now a patch that actually applies...

webjazznl’s picture

This patch is nice but the code will fail if you have hierarchic vocabulary like this one
that lists Motor Bike,Model and Manufacturing. Year
Honda,
750 Deluxe,
2004
2005
Yamaha,
1000 Low Rider,
2004
When feeds is offered a Yamaha 1000 Low Rider built in 2004, your code will find this term path: Honda, 750 Deluxe, 2004 because it looks from the child up and finds the 2004 term under Honda first. (I have some data that proves the failure). However you should look from the parent down.
Would you be able to write a patch that does this? I am more of a site builder than a developer.

The code would need a comma delimited string as input to do its magic such as: "Yamaha,1000 Low Rider,2004".

Taxonomy already has a function for it, which is explained here

http://drupalcontrib.org/api/drupal/drupal!modules!taxonomy!taxonomy.mod...

However I lack the experience to pull this off in Drupal. I would really appreciate your help!

Thanks for your time,
Henk

webjazznl’s picture

Oh, the indentation was stripped from my previous post (#4). So Make is on the 1st level, Model is on the 2nd level and, Year is on the 3rd. You 'll get it...

summit’s picture

Status: Needs review » Needs work

Hi setting back to needs work based on #4. Greetings, Martijn

bluegeek9’s picture

Issue summary: View changes
Status: Needs work » Closed (outdated)

Drupal 7 reached end of life and the D7 version of Feeds is no longer being developed. To keep the issue queue focused on supported versions, we’re closing older D7 issues.

If you still have questions about using Feeds on Drupal 7, feel free to ask. While we won’t fix D7 bugs anymore, we’re happy to offer guidance to help you move forward. You can do so by opening (or reopening) a D7 issue, or by reaching out in the #feeds channel on Drupal Slack.

If this issue is still relevant for Drupal 10+, please open a follow-up issue or merge request with proposed changes. Contributions are always welcome!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.