Skip to main content
Fluence Technologies Help Center
Toggle navigation menu
Community
Contact Support
Sign in
How can we help?
Find answers to your questions here.
Search
<% if (ids.length) { %>
<% ids.forEach(function(id, index) { %>
<% if (playInline) { %>
<% if (showDuration) { %>
<% } %>
<% } else { %>
<% if (showDuration) { %>
<% } %>
<% } %> <% if (showTitle) { %>
<% } %>
<% }); %>
<% } %>
<% categories.forEach(function(category) { %>
<%= category.name %>
<% }); %>
Toggle navigation menu
<% var currentSection = sections.filter(function(section) { return section.id === activeSectionId; })[0] || null; var siblingSections; if (!currentSection) { siblingSections = sections.filter(function(section) { if (activeCategoryId) return section['parent_section_id'] === null && section['category_id'] === activeCategoryId; return section['parent_section_id'] === null; }) } else { siblingSections = sections.filter(function(section) { if (currentSection['parent_section_id']) return section['parent_section_id'] === currentSection['parent_section_id']; return section['category_id'] === currentSection['category_id']; }) } %>
<% siblingSections.forEach(function(section, index) { %>
<%= section.name %>
<% if (section.articles.length) { %>
<% section.articles.forEach(function(article) { %>
<%= article.title %> <% if (article.isActive) { %>
<% } %>
<% }); %>
<% } %>
<% }); %>
<% var maxSections = 5 %>
Toggle navigation menu
<% categories.forEach(function(category, index) { %>
<%= category.name %>
<% if (category.isActive) { %> <%= partial('partial-section-list-sections', { parent: category, sections: category.sections, maxSections: maxSections, 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 %>
<% }); %>
<% } %>
<% }); %>
<% } %>
<% var isSubsection = parent.hasOwnProperty('parent_section_id') %> <% if (sections.length) { %>
<% sections.slice(0, maxSections).forEach(function(section) { %>
<%= section.name %>
<%= partial('partial-section-list-sections', { parent: section, sections: section.sections, maxSections: maxSections, partial: partial }) %>
<% }); %> <% if (sections.length > maxSections) { %>
See more
<% } %>
<% } %>
<% var getColumnClasses = function(columnNumber) { var classNames = 'col-12'; if (columnNumber >= 2) classNames += ' md:col-6'; if (columnNumber >= 3) classNames += ' lg:col-4'; if (columnNumber >= 4) classNames += ' xl:col-3'; return classNames; } %>
<% (categories.length > 1 ? categories : sections).forEach(function(block, index) { %>
<% if (imageHeight) { %>
<% } %>
<% if (block.name) { %>
<% if (!imageHeight) { %>
<%= block.name %>
<% } else { %> <%= block.name %> <% } %>
<% } %> <% if (block.description) { %>
<%= block.description %>
<% } %>
<% }) %>