Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gatsby Drupal Taxonomy workflow #4961

Closed
cf73 opened this issue Apr 12, 2018 · 5 comments
Closed

Gatsby Drupal Taxonomy workflow #4961

cf73 opened this issue Apr 12, 2018 · 5 comments
Labels
type: question or discussion Issue discussing or asking a question about Gatsby

Comments

@cf73
Copy link

cf73 commented Apr 12, 2018

mistakenly started thread in comment below -- see below : )

@cf73
Copy link
Author

cf73 commented Apr 12, 2018

@KyleAMathews
I am enjoying developing a Gatsby site using the drupal-source plugin. However, it is not clear to me how, or if, Gatsby supports Drupal's taxonomy relationships?
e.g. if I have a taxonomical structure THEME > SUBTHEMES > CONTENT NODES, in Drupal this is set up as two taxonomy 'terms' (theme and subtheme), and then multiple different 'content types' for the content nodes. In Gatsby I am able to pull in any theme or subtheme or content via GraphQL, but cannot see a way to create relationships between them, e.g. "show me all the subthemes in this theme", or "all the content in this subtheme". Does Gatsby understand the parent/child structure implicit in Drupal's taxonomy > content types structure?
Sketch attached showing desired template.
template

@cf73
Copy link
Author

cf73 commented Apr 12, 2018

@pieh You might also want to take a look at this question?

@m-allanson m-allanson added the type: question or discussion Issue discussing or asking a question about Gatsby label Apr 16, 2018
@dubcanada
Copy link
Contributor

If I understand you want to get all nodes that have a certain taxonomy term? So you could get all content with X taxonomy term.

Is that correct?

@KyleAMathews
Copy link
Contributor

Due to the high volume of issues, we're closing out older ones without recent activity. Please open a new issue if you need help!

@tony-gutierrez
Copy link

The drupal source plugin will get the taxonomies, but it fails to create parent/child relationships.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question or discussion Issue discussing or asking a question about Gatsby
Projects
None yet
Development

No branches or pull requests

5 participants