Kentico CMS 7.0 Context Help

Navigation

Navigation

Previous topic Next topic Mail us feedback on this topic!  

Navigation

Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic!  

Basic properties

 

Menu caption

The name of the document as it's displayed in navigation. It may be different compared to the document name. If no value is entered, the document name is used.

Show in navigation

Indicates if the document should be displayed by navigation web parts (in the menus).

 

Please note: the document is displayed in the navigation if all of the following conditions are met:

 

1.The Show in navigation box is checked.

2.The document is published.

3.The type of the document matches the document types configured in the appropriate navigation control (web part) - by default, only Page (menu item) documents are displayed in navigation.

4.If you turn on the Check permissions property of the menu control, the current user must be allowed to read the given document or it will not appear in the navigation controls/web parts.

Show in site map

Indicates if the document should be included in the website's Google sitemap and displayed by the Site map web part.

 

Menu actions

 

Standard behavior

The menu item redirects the user to the page as expected.

Inactive menu item

Clicking the menu item doesn't cause any action - the item is disabled.

 

If selected, the Redirect to URL field appears, where you can enter the URL of a page to which users will automatically be redirected if they access the given page, e.g. through a link.

Javascript command

If you enter some JavaScript command, it will be run when this menu item is clicked.

Example: alert('hello');return false;

URL redirection

The user is redirected to the target location when they try to access the given page. Redirected documents are marked with the Redirected_flag icon in the content tree.

Example: https://www.domain.com or ~/products.aspx

 

Search & SEO

 

Exclude from search

If enabled, the current document and its content (including attachments) is ignored by all forms of search. This affects both the Smart search module and the SQL search.

 

Additionally, it instructs web crawlers (robots) not to index the page by adding the following meta tag into the HEAD section, which should exclude it from search engine listings:

 

<meta name="robots" content="noindex,nofollow" />

 

Enabling this setting also ensures that the page is excluded from Google sitemaps by default, but this can be overridden by individual Google Sitemap (XML Sitemap) web parts.

 

Please note: Objects or documents displayed by web parts are not excluded by enabling this property for the page that contains them.

Sitemap change frequency

Determines the value of the document's <changefreq> element in the website's Google sitemap, which provides a suggestion to search engines about how often the page should be indexed. This value should reflect the frequency of the page's content modifications.

Sitemap priority

Allows you to inform web crawlers which pages you consider to be the most important. The selected priority is converted to a decimal number between 0 and 1 and added as the value of the document's <priority> element in the website's Google sitemap. The priority is only measured in relation to other pages on the website.

 

Menu design

 

The menu item design properties are available in three alternatives:

 

standard design

mouse-over design - style used when a user hovers their mouse over the menu item,

highlighted design - style applied if the page represented by the menu item is currently selected.

 

These values override the settings of individual navigation web parts (or controls) as long as their Apply menu design property is enabled. The CSS styles defined in the CSS stylesheet are overridden as well.

 

Please note: some of the following properties may not be applied to some navigation web parts or controls.

 

Menu item style

Style definition of the menu item. Values can be entered the same way as when defining a CSS class in a stylesheet.

Sample value: color: orange; font-size: 140%

Menu item CSS class

CSS class defined in the website's stylesheet.

Sample value: h1

Menu item left image

Image that will be displayed next to the menu caption on the left side. Sample values as below.

Menu item image

Image that will be displayed in the menu instead of the menu caption. You can enter either an absolute URL or a relative path in the content tree.

Sample values: https://www.domain.com/image.gif

~/Images-(1)/icon.aspx

Menu item right image

Image that will be displayed next to the menu caption on the right side. Sample values as above.