Expand my Community achievements bar.

How does sitenavbar build the navItems json?

Avatar

Level 2

I have made an overlay of "social/console/components/hbs/sitenavbar" to make some custom additions.  The sitenavbar.hbs loops through the 'navItems' data to produce the links, and I want to add a custom piece of data to the 'navItems' json that is generated.  Would someone please help me understand how the 'navItems' json data gets created?

My best guess is that the "{{#include }}" script used by "social/console/components/hbs/sitepage/sitepage.hbs" to add sitenavbar is doing it, but I can't figure out how.

Thanks,

Preston

0 Replies