Copied to clipboard

Flag this post as spam?

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


  • wilenx 16 posts 66 karma points
    Oct 24, 2013 @ 09:23
    wilenx
    0

    Node prevent rename

    Hi there,

    I'd like to create a simple logic that enables / disables my users ability to rename certain mandatory nodes. Only administrator users should be able to do that.

    What I did so far is adding a checkbox indicator whether a node is a mandatory node. If checked, the user shouldn't be able to change the name of it.

    Does anyone know how this can be accomplished ?

  • Jeroen Breuer 4909 posts 12266 karma points MVP 5x admin c-trib
    Oct 24, 2013 @ 12:07
    Jeroen Breuer
    0

    You could try using an event for this. In the before save event you could cancel saving if the checkbox is checked. You can read more about the events here:

    http://our.umbraco.org/wiki/reference/api-cheatsheet/using-applicationbase-to-register-events/overview-of-all-events

    http://our.umbraco.org/Documentation/Reference/Events/application-startup

    Jeroen

  • croban 25 posts 96 karma points
    Nov 18, 2018 @ 23:43
    croban
    0

    Hi, is it possible to stop auto renaming of node inside umbraco. For example same node names with different doctypes (custom url routing) below same parent. At the moment this names are changed to: - something - something (1) Can this be stopped?

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies