0
votes

I have a site using taxonomy terms and parent/child nodes using node hierarchy module. The content structure looks something like this:

-term1

---parent node1

-----child node1

-----child node2

---parent node2

-----child node3

-----child node4

-term2

---parent node3

-----child node5

-----child node6

...and so on. I need to create a custom drop-down menu that gets taxonomy terms and its associated parent nodes. I have very little programming and drupal experience and I don´t know whether I could use a combination of modules for this, or write sql queries in the template.php file. Could anybody point me in the right direction? Thanks in advance!

2
You'll want to use the Views module for this. It takes a little bit of getting your head around but the documentation is very good.Scott Brown
Correct me if I am wrong, but views are either of type node or terms, I can't output both (terms and nested nodes) at same time, can I?Jon Apaolaza
If you choose 'node', you can have the term as a field in the 'fields' section. Not certin it'll do what you're after though, I'm afraid. I'm pretty new to Drupal myself, just seemed like a job Views could do.Scott Brown
It won't do it, it shows repeteadly the terms for each node. Views don't seem to be the right approach, thanks for your help though. I suppose I'll have to right php+sql, but I don't know where and how...Jon Apaolaza

2 Answers

0
votes

Duder, you just need Taxonomy Menu!

For a drop down just add in Nice Menus, GigaMenu or maybe DHTML Menu.

I've used all of these on multiple projects.

0
votes

If you are working for Drupal7. This module will provide what you want -- Taxonomy field menu