• Document Up to Date

Contextual Navigation Configuration

The contextual navigation configuration file drives the top contextual navigation bar. To modify the contextual navigation configuration, click on siteConfig from the bottom of the Sidebar, then click on Configuration and select Contextual Navigation Configuration from the dropdown list.

Configurations - Open Contextual Navigation Configuration

Sample

CRAFTER_HOME/data/repos/sites/SITENAME/sandbox/config/studio/targeting/targeting-config.xml
 1<?xml version="1.0" encoding="UTF-8"?>
 2<!--
 3
 4  This configuration file drives the top contextual navigation bar in Crafter Studio.
 5
 6-->
 7<app-context-menu>
 8  <context>
 9    <name>default</name>
10    <left> <!-- left-aligned modules -->
11      <menuItem>
12        <item><modulehook>wcm_logo</modulehook></item>
13        <item><modulehook>wcm_dropdown</modulehook></item>
14        <item><modulehook>wcm_content</modulehook></item>
15        <item><modulehook>admin_console</modulehook></item>
16      </menuItem>
17    </left>
18
19    <right> <!-- right-aligned modules -->
20      <menuItem>
21        <item><modulehook>ice_tools</modulehook></item>
22        <item><modulehook>preview_tools</modulehook></item>
23        <item><modulehook>targeting</modulehook></item>
24        <item><modulehook>search</modulehook></item>
25        <item><modulehook>status</modulehook></item>
26        <item><modulehook>logout</modulehook></item>
27      </menuItem>
28    </right>
29
30    <modules> <!-- module definitions -->
31      <module><moduleName>wcm_logo</moduleName><value>wcm_logo</value></module>
32      <module><moduleName>wcm_dropdown</moduleName><value>wcm_dropdown</value></module>
33      <module><moduleName>wcm_content</moduleName><value>wcm_content</value></module>
34      <module><moduleName>admin_console</moduleName><value>admin_console</value></module>
35
36      <module><moduleName>preview_tools</moduleName><value>preview_tools</value></module>
37      <module><moduleName>ice_tools</moduleName><value>ice_tools</value></module>
38      <module><moduleName>targeting</moduleName><value>targeting</value></module>
39      <module><moduleName>search</moduleName><value>search</value></module>
40      <module><moduleName>status</moduleName><value>status</value></module>
41      <module><moduleName>logout</moduleName><value>logout</value></module>
42    </modules>
43  </context>
44</app-context-menu>