Call 1-888-670-1652

 Spire CoreDB Connect Error (2002) Connection timed out

activeBranchOnly

The activeBranchOnly attribute, when added to the sys:menu tag, restricts the menu so that it only includes pages within the currently active branch of the website hierarchy.

This attribute is only relevant when combined with the rootElementId attribute, as the level attribute already limits the menu to pages within the currently active branch.

In using the attribute, it can either be assigned a value of 0 or 1, with 0 allowing pages from any branch to be included in the menu and 1 restricting pages to the active branch.

In the end, when entering the tag into the HTML window, it should look something like this:

<sys:menu activeBranchOnly="1" />