Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Can I add my custom menu item to this menu in admin panel Media page and how?
I wrote this, but it add menu item only on Content page in admin panel:
TreeControllerBase.MenuRendering += TreeControllerBase_MenuRendering; void TreeControllerBase_MenuRendering(TreeControllerBase sender, MenuRenderingEventArgs e) {///}
Hi Serg
Yes you can check if the TreeAlias of the TreeControllerBase sender is "media" or not...
You can see an example of this in the Backoffice Image Rotating package I put together...
https://github.com/marcemarc/uSpinMeRightRound/blob/master/Solution/tooorangey.uSpinMeRightRound/App_Start/RegisterEvents.cs
If that helps?
regards
Marc
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Custom section in Menu Umbraco 7.6
Can I add my custom menu item to this menu in admin panel Media page and how?
I wrote this, but it add menu item only on Content page in admin panel:
Hi Serg
Yes you can check if the TreeAlias of the TreeControllerBase sender is "media" or not...
You can see an example of this in the Backoffice Image Rotating package I put together...
https://github.com/marcemarc/uSpinMeRightRound/blob/master/Solution/tooorangey.uSpinMeRightRound/App_Start/RegisterEvents.cs
If that helps?![enter image description here](/media/upload/62cc3984-55d6-4597-ad88-fa088d96354e/rotate-option.png)
regards
Marc
is working on a reply...