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.
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:
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?
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 ?
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
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?
is working on a reply...