Hello, thanks for the work on this great module.

I've been reading the issues here and the readme but can't figure out what seems to be basic stuff.

What I need to do is pass a taxonomy term ID from the parent to the child:
- in the parent view, as the contextual filter that will be passed, I've entered a fixed ID for testing purposes
- in the child view I create a contextual filter, Has Taxonomy Term ID

Tried setting it to Provide Default Value, Taxonomy Term ID from URL and all the other options, but I never get results. So I'm guessing I did something wrong. What would be the preferred setup in this situation? Seems like a simple use case as it should receive just 1 taxonomy id.

Sorry if it's obvious but I couldn't find the answer anywhere I looked. Thanks for any help.

Cheers

Comments

namwebs’s picture

Issue summary: View changes

Did you work this out, I'm trying to do the same...?

namwebs’s picture

I've got mine working now.

In case it helps somebody else, here are a couple of things I changed to get it to work:

- make sure the child view is not an attachment. In my case, both the parent and child view are blocks;
- add the taxonomy as a relationship to both views as 'Content: Taxonomy terms on node' with the appropriate taxonomy selected;
- in the parent view, for the Global view settings set the contextual filter as [!tid];
- in the child view, add a contextual filter, set it to 'Display all results for the specified field' then in the section 'When the filter value is available or a default is provided' tick 'Specify validation criteria' and select Taxonomy term, tick the same vocabulary and for the 'Filter value type' select Term ID;
- if your view is a block, in admin/structure/block set the parent view to display but not the child view.

shamsher_alam’s picture

Category: Support request » Bug report

Facing same problem., I'm trying to do the same...?

vladimiraus’s picture

Status: Active » Closed (outdated)

Thank you for your contributions.
Drupal 7 is no longer supported.
Closing the issue.

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

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

Maintainers, please credit people who helped resolve this issue.