The process to make taxonomy_menu
module aware of your status
field seems hard to accomplish, particularly if you need - as you probably would - the taxonomy menu rebuilt when a status
value changes.
A possibly easier solution would be to act at the theme level, adding a .inactive
class to inactive items and make it hidden in css. Since Taxonomy Menu module does nothing about themeing, this should be dealt with with Menu module theme functions. So you'll end up writing a (e.g.) CUSTOM_menu_link()
function in which you'll need to test if the link is coming from a taxonomy generated menu (not sure how you can do that, anyway) for every menu item of your site and then, if this is the case, load the term, test the status
field and act accordingly. Not exactly an elegant solution, and quite an overhead.
If possible, I'd rather suggest you use the built-in feature to enable or disable menu items from the admin interface at admin/structure/menu/manage/main-menu
, after configuring your taxonomy-menu.