title: Drupal: How to build a categorized menu tree
body: <p>I need to build a custom menu structure based on taxonomy terms. The Problem is that only the first level should be a Taxonomy-Term. All nested items must be a node. Each node can have only <strong>one</strong> Term. And Terms without any nodes associated should not appear in the menu.</p>
  
  <p>How could i do that? Any suggestions for me?</p>
  
  <p><strong>Example Menu:</strong></p>
  
  <pre><code>TERM-1
      Node-1
      Node-2
      Node-3
  
  TERM-2
      Node-1
      Node-2
  
  ...
  </code></pre>
  
  <p>Thank you.</p>
  
  <p><strong>Edit</strong>
  I need this for a photgrapher website. Each term is a global categorie like <code>Portraits</code>, or <code>Artists</code>. Categories are only a wrapper for galleries. Based on the example Menu above a possible structure could be something like this:</p>
  
  <pre><code>Series (Term)
      Bodies (Node:Type-&gt;Gallery associated with Term:Series)
      Classic Cars (Node:Type-&gt;Gallery associated with Term:Series)
      Surroundings (Node:Type-&gt;Gallery associated with Term:Series)
  </code></pre>