You know that in the top right corner of every content edit page in the umbraco back office there is the action button, which when clicked, a list of actions one can do, like for example: delete, move, etc., is revealed.
Now my question is if anyone knows if you can add a custom action with the ones that there is already?
I have did some research but came up short that is why I am asking here.
Alex, that what I was thinking, just needed to see if there is a better way beforehand, because in this way I will be limiting the user from doing a normal copy but I don't think that in my case they need to so it will not be a big deal.
Add custom action in content edit page
Hi Everyone,
You know that in the top right corner of every content edit page in the umbraco back office there is the action button, which when clicked, a list of actions one can do, like for example: delete, move, etc., is revealed.
Now my question is if anyone knows if you can add a custom action with the ones that there is already?
I have did some research but came up short that is why I am asking here.
Any help would be greatly appreciated.
Thanks
Hi Fabian,
I think you need to do like in this article:
http://www.wiliam.com.au/wiliam-blog/adding-a-custom-control-to-umbraco-7-action-menu
Is it what you really need?
Thanks, Alex
Hi Alex,
I have read that while doing my research, but for some reason I didn't think it was valid for my needs. I will now look deeper into it.
All I want to do is replicate the copy functionality and do some extra logic.
Thanks a lot
Fabian, maybe you can just subscribe on 'copy' event and add some extra logic?
https://our.umbraco.org/documentation/reference/events/contentservice-events
Alex, that what I was thinking, just needed to see if there is a better way beforehand, because in this way I will be limiting the user from doing a normal copy but I don't think that in my case they need to so it will not be a big deal.
Thanks a lot you are really helpful
Fabian, you are welcome, I want to help you more. But looks like you have 2 ways - create custom action or override event.
is working on a reply...