Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Carlos Casalicchio 176 posts 735 karma points
    Jun 28, 2021 @ 15:59
    Carlos Casalicchio
    0

    Add custom menu (Action) option to Content Section

    I need to add a custom menu option for the existing content section. I haven't found any documentation on how to simply extend the content section menu, but did find plenty of documentation on creating a new section with custom tree and action menu.

    I don't want to redo the whole logic for the content section, just add a menu option. Can anyone point me in the right direction?

    enter image description here enter image description here

  • Søren Gregersen 441 posts 1884 karma points MVP 2x c-trib
    Jun 28, 2021 @ 16:40
    Søren Gregersen
    100

    Hi Carlos,

    The document describes how to do this https://our.umbraco.com/documentation/Extending/Section-Trees/trees#menurendering

    Basically you handle the event, and add your own action to the menu items provided by the event args.

    HTH :)

Please Sign in or register to post replies

Write your reply to:

Draft