Skip to main content
Toggle navigation menu
My Hoxhunt
Submit a request
Sign in
Search
Technical testing and troubleshooting
Technical Troubleshooting Overview
Hoxhunt Guide for Helpdesks
Popular search terms:
<% if (heading) { %>
<%= heading %>
<% } %>
<% if (categories.length > 1) { %> <% categories.forEach(function(category, index) { %>
<%= category.name %>
<% if (category.sections.length) { %>
<% category.sections.forEach(function(section) { %>
<%= section.name %>
<% }) %>
<% } else { %>
empty
<% } %>
<% }) %> <% } else { %> <% sections.forEach(function(section, index) { %>
<%= section.name %>
<% if (section.sections.length) { %>
<% section.sections.forEach(function(section) { %>
<%= section.name %>
<% }) %>
<% } else if (section.articles.length) { %>
<% section.articles.forEach(function(article) { %>
<%= article.title %>
<% }) %>
<% } else { %>
empty
<% } %>
<% }) %> <% } %>
Didn't find what you were looking for?
As a Hoxhunt user you have access to more content!
Sign in
Categories
<% categories.forEach(function(category, index) { %>
<%= category.name %>
<%= partial('partial-article-list-sections', { id: 'category-' + category.id, parentId: '#sidebar-navigation', sections: category.sections, activeCategoryId: activeCategoryId, activeSectionId: activeSectionId, activeArticleId: activeArticleId, partial: partial }) %>
<% }); %>
Toggle navigation menu
<% categories = categories.filter(function(category) { return category.isActive; }); %> <% categories.forEach(function(category, index) { %>
<%= category.name %>
<% if (category.sections.length) { %>
<% category.sections.forEach(function(section) { %>
<%= section.name %>
<%= partial('partial-section-list-sections', { parent: section, sections: section.isActive ? section.sections : [], articles: section.isActive ? section.articles : [], partial: partial }) %>
<% }); %>
<% } %>
<% }); %>
Categories
Categories
<% categories.forEach(function(category) { %>
<%= category.name %>
<% }); %>
<% if (sections.length) { %>
<% sections.forEach(function(section) { %>
<%= section.name %>
<%= partial('partial-article-list-sections', { id: 'section-' + section.id, parentId: '#' + id, sections: section.sections, activeCategoryId: activeCategoryId, activeSectionId: activeSectionId, activeArticleId: activeArticleId, partial: partial }) %> <% if (section.articles.length) { %>
<% section.articles.forEach(function(article) { %>
<%= article.title %>
<% }); %>
<% } %>
<% }); %>
<% } %>
Toggle navigation menu
<% categories = categories.filter(function(category) { return category.isActive; }); %> <% categories.forEach(function(category, index) { %>
<%= category.name %>
<% if (category.sections.length) { %>
<% category.sections.forEach(function(section) { %>
<%= section.name %>
<%= partial('partial-sidebar-navigation', { parent: section, sections: section.isActive ? section.sections : [], articles: section.id === activeSectionId ? section.articles : [], activeSectionId: activeSectionId, partial: partial }) %>
<% }); %>
<% } %>
<% }); %>
<% if (sections.length || articles.length) { %>
<% sections.forEach(function(section) { %>
<%= section.name %>
<%= partial('partial-sidebar-navigation', { parent: section, sections: section.isActive ? section.sections : [], articles: section.id === activeSectionId ? section.articles : [], activeSectionId: activeSectionId, partial: partial }) %>
<% }); %> <% articles.forEach(function(article) { %>
<%= article.title %>
<% }) %>
<% } %>
<% var activeCategory = categories.filter(function(category) { return category.isActive; })[0] || null %>
<%= activeCategory ? activeCategory.name : 'Categories' %>
<% categories.forEach(function(category) { %>
<%= category.name %>
<% }) %>