<?xml version='1.0' encoding='UTF-8'?>
<!-- This document was created with Syntext Serna Free. --><!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % BOOK_ENTITIES SYSTEM "../../User_Guide.ent">
%BOOK_ENTITIES;
]>
<section id="sect-User_Guide-Dynamic_Navigation_in_eXo_Content">
  <title>Dynamic Navigation</title>
  <para>

 Dynamic Navigation enables you to get a  parameter to configure the portlet by URL. It means that the URL containing the content path can be dynamically changed.</para>
  <para>This section shows you how to use Dynamic Navigation in eXo Content.</para>
  <para>Do the following to access Dynamic Navigation:</para>
  <procedure>
    <title>Access Dynamic Navigation</title>
    <step>
      <para>Turn on the <emphasis role="bold">Edit Mode &gt;</emphasis> hover the mouse to SCV or CLV and select the <emphasis role="bold">Preferences </emphasis>icon.</para>
      <para>If you select the Preferences icon of SCV, the  Content Detail Preferences form displays.</para>
      <para>If you select the Preferences icon of CLV, the Content List Preferences form displays.</para>
    </step>
    <step>
      <para>Click the <emphasis role="bold">Advanced</emphasis> panel in the Content Detail Preferences form/ the Content List Preferences form.  </para>
      <para>The Dynamic Navigation will display.</para>
      <para><emphasis role="bold">Dynamic Navigation in SCV</emphasis><mediaobject>
          <imageobject>
            <imagedata width="444" align="center" fileref="images/dynamicnavigationscv.png" format="PNG"/>
          </imageobject>
        </mediaobject></para>
      <para>Details:</para>
      <para><table frame="all">
          <title/>
          <tgroup cols="2">
            <colspec colname="c1"/>
            <colspec colname="c2"/>
            <tbody>
              <row>
                <entry>
                  <emphasis role="bold">Contextual Content</emphasis>
                </entry>
                <entry>
                  <itemizedlist>
                    <listitem>
                      <para>Disable: It means  a single content will be opened by an URL containing the Content Path.</para>
                    </listitem>
                  </itemizedlist>
                  <itemizedlist>
                    <listitem>
                      <para>Enable:  This portlet is configured with the provided parameter (content-id by default). </para>
                    </listitem>
                  </itemizedlist>
                </entry>
              </row>
              <row>
                <entry>
                  <emphasis role="bold">By</emphasis>
                </entry>
                <entry>This parameter is the key in the URL to let SCV know which really is the path in the current URL. It is editable when Contextual Content is Enable.</entry>
              </row>
            </tbody>
          </tgroup>
        </table></para>
      <para>For example, open a single content with the Content Path &quot;ACME Introduce&quot;. The URL of the content is the following:</para>
      <para>URL: ... <emphasis role="italic">/ecmdemo/private/acme/printviewer?content-id=/repository/collaboration/sites content/live/acme/web contents/site artifacts/Introduce&amp;isPrint=true</emphasis></para>
      <para><emphasis role="bold">Dynamic Navigation in CLV</emphasis><mediaobject>
          <imageobject>
            <imagedata width="444" align="center" fileref="images/dynamicnavigation-clv.png" format="PNG"/>
          </imageobject>
        </mediaobject></para>
      <para>Details:</para>
      <para><table frame="all">
          <title/>
          <tgroup cols="2">
            <colspec colname="c1"/>
            <colspec colname="c2"/>
            <tbody>
              <row>
                <entry>
                  <emphasis role="bold">Contextual Folder</emphasis>
                </entry>
                <entry>
                  <itemizedlist>
                    <listitem>
                      <para>Disable: It means a single content will be opened by an URL containing    the Folder Path (for CLV)</para>
                    </listitem>
                    <listitem>
                      <para>Enable: It means the path of content list (Folder Path in the Content Selection path) can be dynamically changed by URL.  </para>
                    </listitem>
                  </itemizedlist>
                </entry>
              </row>
              <row>
                <entry>
                  <emphasis role="bold">By</emphasis>
                </entry>
                <entry>This parameter is the key in the URL to let CLV know which really is the path in the current URL.</entry>
              </row>
              <row>
                <entry>
                  <emphasis role="bold">Show in page</emphasis>
                </entry>
                <entry>A single content in CLV will be shown in a selected page. You can choose any page but you should take one with a Content Detail Portlet. The Content Detail Portlet should enable “dynamic navigation” that interprets the URL and shows a single content. </entry>
              </row>
              <row>
                <entry>
                  <emphasis role="bold">With</emphasis>
                </entry>
                <entry>This parameter is the key in the URL to let SCV know which really is the path in the current URL.</entry>
              </row>
            </tbody>
          </tgroup>
        </table></para>
    </step>
  </procedure>
</section>
