Automatically group the sub menu items in drupal 7 My website contains project for following categories-


C language
Java language
Shell script


I have a custom content type "project", which has these fields as radio button. I have a menu item in main menu called project, which has above three categories as sub menu item. I want whenever I add any "C language" project, it should automatically attach as a sub menu item of "C language".

How to achieve it?
You could make links list attachment with views for each taxonomy term and then add them in theme_menu_link function if the link in variables matches. Note that requires customization in template.php