Copied to clipboard

Flag this post as spam?

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


  • Andrew 14 posts 34 karma points
    Nov 22, 2012 @ 22:26
    Andrew
    0

    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

     

     

     


Please Sign in or register to post replies

Write your reply to:

Draft