It's actually very simple what I want.

I want the categories (taxonomy) appear in the menu. But I want to add a custom Title and a Description on top of the page. So, actually the page title would be different then the menu name.

I have tried the taxonomy module, and this one displays the categories great as a menu, but no customization.

I have tried the category module and it seems you can do all that i want with it, but i tried it and it gives me bugs. When i change the menu name for a page and click submit, nothing happens, it won't change the menu title. And somehow anonymous visitors can't visit the pages if that module is enabled.

I hope someone has an idea how to do this because it's making me crazy for the last weeks.

Thanks

Victor

Comments

htxt’s picture

Hi Victor

You could try Taxonomy Context

Good luck :)

nancydru’s picture

Create this as a php page. It can be placed into your menu.

<h1>My Category Page</h1>
<p>Here's a count of all the used terms in the "xxxx" vocabulary.</p>
<?php
  $vid = 1;         /* <---- put correct vocabulary ID here */
  $terms = taxonomy_get_tree($vid);      /* need code from below to handle nesting */
  print "<ul>";
  foreach ( $terms as $term ) { 
      $count = db_result(db_query("SELECT COUNT(nid) FROM {term_node} WHERE tid = %d ", $term->tid));
      if ($count) {   /* don't show terms with 0 count */
         print "<li>".l($term->name,'taxonomy/term/'.$term->tid)." (".$count.")</li>";
       }
   } /* end foreach */
  print "</ul>";
?>

Supposedly this can also be done with Views.

Nancy W.
Drupal Cookbook (for New Drupallers)
Adding Hidden Design or How To notes in Your Database