loading table of contents...

6.2.3.12. Changing the Navigation

[Note]Note

This feature can only be used out-of-the-box in the content-led scenario which is demonstrated in the Perfect Chef example site.

In the commerce-led scenario, the pages are rendered by the WCS and so is the navigation. Here, the navigation follows the hierarchy defined in the WCS. In the content-led scenario, the navigation also bases on the WCS category hierarchy, by default. However, in the content-led scenario you can manipulate the navigation.

In the following, two use cases are described. A simple rearrangement of the categories and an augmentation with pages from the CMS.

Rearranging Categories

This method can be used, for example, when you want to feature a category on the home page, which is usually located below other categories deep down in the navigation tree.

[Note]Note

The changed navigation will not influence the inheritance of content or settings of the moved category. This items will always be inherited along the catalog hierarchy defined in the WCS.

In order to add a Category or Augmented Category to another navigation parent, proceed as follows:

  1. In the catalog view of the Library select the parent Category to which you want to add the other Category. If the parent Category is not already an Augmented Category item, augment it as described in Section 6.2.3.4, “Adding Category Specific Content”.

  2. Open the Augmented Category and in the Catalog Structure tab in the Website Navigation field check Select Children.

    The link list is already filled with the categories that are defined in the WCS catalog hierarchy.

    Make navigation editable

    Figure 6.36.  Make navigation editable


  3. Drag the Category that you want to add to the navigation into the Website Navigation link list.

Now you are done. The added category appears in the navigation. You can check the original WCS catalog hierarchy on the Catalog Hierarchy tab.

[Note]Note

When you switch back to Inherit from Catalog Hierarchy, your previous children settings will be stored. So when you check-again Select Children your previous selection will be restored.

Hiding Categories from the Navigation

You can hide a category and all its child categories from the navigation.

  1. In the catalog view of the Library select the Category that you want to hide. If the Category is not already an Augmented Category item, augment it as described in Section 6.2.3.4, “Adding Category Specific Content”.

  2. Open the Augmented Category and in the Catalog Structure tab in the section Visibility under the Website Navigation field check Only hide in Sitemap or Hide in Navigation and Sitemap. If you also want to exclude the category from search and XML sitemap, then check the last item Exclude from Search and XML Sitemap in the checkbox.

    Hide from navigation

    Figure 6.37.  Hide from navigation


The Category disappears from the navigation.

Adding Pages to the Top Navigation

Sometimes you may want to add editorial pages to the top navigation of the website. To do so proceed as follows:

  1. Create a new Page content item using Create from Template from the Create Content menu.

  2. Drag the root Page of the site onto the Navigation Parent field of theCreate from Template dialog and select a template. Click [Create] .

    The new page opens up. It inherits content from the site root page. The page was linked to the end of the Navigation field of the root page.

    New page in navigation

    Figure 6.38.  New page in navigation


  3. When you want to move the page to a different position in the navigation menu, open the root Page content item. In the Navigation in the Navigation field, move the newly created page to the position you want.

  4. Adapt the content in the new page to your needs.