Hey guys,
is it possible to have the "Show In Navigation" checkbox unchecked by default on a single page type?
With a global event handler you could do this.
Hello,
Yes, you can take advantage of the DocumentEvents.Insert.After event:
if (e.Node.ClassName == "custom.doctype") { var doc = e.Node; doc.DocumentMenuItemHideInNavigation = true; }
Best regards, Jan Hermann
thanks guys!
I guess i get to learn about event handlers today.
Please, sign in to be able to submit a new answer.