Installation and deployment Questions on installation, system configuration and deployment to the live server.
Version 4.x > Installation and deployment > Show in navigation default View modes: 
User avatar
Member
Member
sean.kinley-techfringe - 4/28/2009 10:06:01 AM
   
Show in navigation default
Is it possilble to set the "Show in navigation" and "Show in sitemap" default to off/no when pages are first created?

User avatar
Kentico Support
Kentico Support
kentico_radekm - 5/4/2009 9:32:11 AM
   
RE:Show in navigation default
Hello Sean,

It is possible if you edit this file: <solution>/CMSDesk/Content/Properties/Menu.aspx.cs and change lines like:

94: chkShowInNavigation.Checked = false;
102: chkShowInSitemap.Checked = false;

Best Regards,
Radek Macalik

User avatar
Member
Member
ricardo.fiel - 1/25/2010 11:41:32 AM
   
RE:Show in navigation default
How can this be accomplished per document type, instead of per node?

It would be handy to specify when creating a document type if it would be visible in navigation and menu or not.

Thanks

User avatar
Kentico Support
Kentico Support
kentico_radekm - 1/28/2010 2:59:35 PM
   
RE:Show in navigation default
Hello.

Well, it should be possible too. Please follow this approach.
1. Go to Site Manager -> Development -> Document types -> edit your document type -> Fields tab.
2. Click "New system attribute" and fill following attributes:
Group: Document attributes
Attribute name: DocumentMenuItemHideInNavigation
Attribute type: Boolean (Yes/No)
Display attribute in editing form: enable
Field caption: DocumentMenuItemHideInNavigation
Field type: Drop-down list, type: Options

Fill text box for options of drop-down menu by: 1;hide

Caption style: display:none;
Inline style: display:none;

Best Regards,
Radek Macalik
Support Engineer