I'm building a site using Orchard CMS and have built several lists of taxonomoies. I now want to create links on the admin menu directly to some of these lists (so the user doesn't have to navigate through the taxonomy link).
I have tried adding the Admin Menu content part to the taxonomy type and then checking the 'Show on Admin Menu' checkbox for a taxonomy, and this does create a admin menu link, but it is a link to the definition for the taxonomy - not the list of the terms for the taxonomy.
I can programmatically add a link via the Orchard.Taxonomies.Admin.GetNavigation(NavigationBuilder) method (as below) but I don't want to have to hard code the links
public void GetNavigation(NavigationBuilder builder) {
builder
.AddImageSet("taxonomies")
.Add(T("Topics"), "4", menu => menu
.Add(T("Manage Topics"), "1.0", item => item.Action("ListByName", "TermAdmin", new {area = "Orchard.Taxonomies", taxonomyName = "Topics"}).Permission(Permissions.ManageTerms))
)
.Add(T("Taxonomies"), "5", menu => menu
.Add(T("Manage Taxonomies"), "1.0", item => item.Action("Index", "Admin", new { area = "Orchard.Taxonomies"}).Permission(Permissions.ManageTaxonomies))
);
}
Is there any other way to create a link to the taxonomy list on the admin menu?
Thanks