Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
const string CmsAdminMenuPath = MenuPaths.Global + "/cms/admin";
public IEnumerable<MenuItem> GetMenuItems()
{
return new List<MenuItem>
{
new UrlMenuItem(_localizationService.GetString("/myplugin"),
CmsAdminMenuPath + "/tools/mylpugin", Paths.ToResource(GetType(), "mypluginpath"))
{
SortIndex = 50,
Alignment = MenuItemAlignment.Left,
AuthorizationPolicy = CmsPolicyNames.CmsAdmin
}
};
}
I am working on migration from CMS 11 to CMS 12. The site have some gui-plugins. In this case the gui-plugins are web-forms implemented like this:
They are located here in the gui:
The GuiPlugIn attribute is not supported in CMS 12. Instead, it says here, we should use menu-providers:
I have read and tested the following article:
With a menu provider you get something like this:
I would like to get my tools showing up in the sub-menu under admin-tools. Like this:
Is it possible to get my custom plugins showing up under tools? If so, how do you do it?