Under maintenance

Heretto Help

Sitesection with Subsections

You can create additional levels of navigation by nesting sitesection elements. Nested sitesections is a structure where a sitesection element contains one or more child sitesection elements (or subsections).

By default, Heretto Portal supports up to five levels of nested sitesection elements. Deeper nesting is possible with configuration and assistance from Heretto Professional Services Team.

Important:

To render subsections as tiles in portal, the parent sitesection must have the outputclass="view-tiles" attribute set.

This example shows the output of a sitemap with a sitesection that contains two subsections:

  • “Subsection A” that references a DITA map

  • “Subsection B” that references three DITA topics

<sitemap>
    <title>Sitemap</title>
    <!-- A parent sitesection that contains subsections -->
    <sitesection outputclass="view-tiles">
        <topicmeta>
            <navtitle>Sitesection with Subsections</navtitle>
            <shortdesc>Short Description</shortdesc>
            <data href="media/portal_icon_yellow.png" name="thumbnail"/>
        </topicmeta>
       
        <sitesection>
            <topicmeta>
                <navtitle>Subsection A</navtitle>
                <shortdesc>Short Description</shortdesc>
                <data href="media/portal_icon_yellow.png" name="thumbnail"/>
            </topicmeta>
            <mapref href="content/map_b.ditamap"/>
        </sitesection>
     
        <sitesection> 
            <topicmeta>
                <navtitle>Subsection B</navtitle>
                <shortdesc>Short Description</shortdesc>
                <data href="media/portal_icon_yellow.png" name="thumbnail"/>
            </topicmeta>
            <topicref href="content/concept_a.dita"/>
            <topicref href="content/concept_b.dita"/>
            <topicref href="content/concept_c.dita"/>
        </sitesection>
    </sitesection>
</sitemap>
sitesection with subsections
The result of this structure is a sitesection that is displayed in the left pane menu. When you click the sitesection, you can see two clickable tiles that represent its subsections.
Note: To see how to edit contents displayed in a tile, go to Add Sitesections to Your Sitemap.
sitesection with subsections - online output example