Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted