Creating a navigation menu item in Orchard
问题 I have written an Orchard Module and would like an item to appear in a Navigation list when the module is Enabled. Ideally, I would like to be able to remove the item when the Module is disabled. Where should I hook into to for when the module is enabled and disabled? How do I programmatically add a menu item to an already existing Navigation? 回答1: You can implement the IMenuProvider interface for this. An example implementation might look something like this: namespace Orchard.Bar { public