Create 2nd Level Navigation Children

Using Farcry 6-27 Fandango.

Children created under first level navigation items do not show up in header navigation.

Say I create a nav item About Us under Home. It works fine. But if I create Our Mission under About Us it does not appear anywhere on the web page, including the source page. It looks fine on the CMS admin “Site” tab section. It is an approved and active (not a draft) item.

Any thoughts?

Whatever code you’re using to show the navigation is likely only set to go one level deep - usually with getDescendants(). Can you post the code you’re using to get the child elements?

The ./tags/webskin/genericNav.cfm custom tag is commonly used for creating primary nav. It generates a nested, unordered list based on the site tree. What displays in the navigation will depend on the setting for depth attribute. And also your HTML/CSS being used for the nav will need to understand the nested list and render it accordingly.

http://docs.farcrycore.org/trunk/tag-webskin-genericnav.html

Send through the block of code you have in the header to build the nav. We can probably be more helpful if we know what’s generating the nav.

Thanks for the help! My issues may well be a moot point when I upgrade, so I will do that next.

I assumed that muli-level nav children were handled because I was able to create them…that’s what I get for assuming.

Thanks for the docs link - that is what I really needed. For some reason I was not able to find that before.

Multi-Level nav is a standard part of the site tree. The only limitation on the size and depth of the tree is that imposed by the theme/views used to render the content of the tree. The site tree itself can extend to an unlimited depth.

You can use the genericNav custom tag to output a nested list, delimited list or query of of the site tree data. However, its up to the HTML markup in the view to determine how this is shown.

genericNav is used to build primary and secondary navigation – after all its just nested UL/LI elements.

Alternatively, you can use the tree component itself to pull all sorts of data out of the tree:
http://docs.farcrycore.org/trunk/component-farcry-tree.html