Set umbracoNaviHide to true for all nodes created of a certain type
Hello,
I'm trying to find a way of setting umbracoNaviHide to true for certain node types, without the user having to remember to do this.
I'm guessing the approach will involve an event handler extending from the ApplicationBase using the Before Publish event to somehow update the value before it is published. Are they any examples or this kind of thing or is there a better way of doing this?
I have looked at the link below but wanted to clarify the approach.
Set umbracoNaviHide to true for all nodes created of a certain type
Hello,
I'm trying to find a way of setting umbracoNaviHide to true for certain node types, without the user having to remember to do this.
I'm guessing the approach will involve an event handler extending from the ApplicationBase using the Before Publish event to somehow update the value before it is published. Are they any examples or this kind of thing or is there a better way of doing this?
I have looked at the link below but wanted to clarify the approach.
http://our.umbraco.org/wiki/reference/api-cheatsheet/using-applicationbase-to-register-events/event-examples
Andi
is working on a reply...