I've used uCommentsy as the contact page on my site, with the contact page being in the main menu. However the comments node, which is automatically created under the contact page, is also showing up in the menu, and there is no option to exclude from navigation. Is there anyway to do this other than to filter the document type out in the navigation partial?
You could add the property "umbracoNaviHide" (or whatever property you are using to hide content nodes from the navigation) to the uComments doctypes, then you could create an "on save" listener that automatically sets that to true for nodes of the uCommentsy doctypes.
However, what I typically do for menus is detect if the content node has a template specified. If it doesn't have a template, it won't display as a page, and so probably does not belong in the navigation menus.
Remove the comments node from navigation
I've used uCommentsy as the contact page on my site, with the contact page being in the main menu. However the comments node, which is automatically created under the contact page, is also showing up in the menu, and there is no option to exclude from navigation. Is there anyway to do this other than to filter the document type out in the navigation partial?
You could add the property "umbracoNaviHide" (or whatever property you are using to hide content nodes from the navigation) to the uComments doctypes, then you could create an "on save" listener that automatically sets that to true for nodes of the uCommentsy doctypes.
However, what I typically do for menus is detect if the content node has a template specified. If it doesn't have a template, it won't display as a page, and so probably does not belong in the navigation menus.
Good call
is working on a reply...