Skip to main content
Toggle navigation menu
Encircle Status
Sign in
Encircle Status
Contact Us
Sign in
<% categories.forEach(function(category) { %>
<%= category.name %>
<% if (category.sections) { %>
<% category.sections.forEach(function(section) { %>
<%= section.name %>
<% }) %>
<% } %> <% }) %>
Search
Encircle
Restorers
Learn how to use Encircle as a restorer.
Getting Started
What is Encircle?
In the Field
In the Office
Documentation Basics
In the Field
In the Office
Floor Plan
In the Field
In the Office
Articles
Encircle Floor Plan - FAQ
Hydro
In the Field
In the Office
Contents
In the Field
In the Office
Integrations
Zapier
Public API
Matterport
Phoenix DryLINK
PSA
iRestore
Troubleshooting
My data isn't syncing!
Promoted article
Help! I deleted data.
Syncing Data from the Field
External Assignments Not Showing Up
Merge Claims Not Working
Common searches:
<% var sectionIds = sections .filter(function(section) { if (typeof categoryId !== undefined) return section['category_id'] == categoryId; return true; }) .map(function(section) { return section.id }); var promotedArticles = articles.filter(function(article) { return article.promoted && sectionIds.indexOf(article.section_id) !== -1; }) %> <% if (promotedArticles.length) { %>
Popular Articles
<%= partial('article-list-partial-general', { articles: promotedArticles }) %>
<% } %>
<% if (heading) { %>
<%= heading %>
<% } %>
<% blocks.forEach(function(block, index) { %>
<% if (imageHeight) { %>
<% } %>
<% if (block.name) { %>
<% if (block.html_url) { %>
<%= block.name %>
<% } else { %> <%= block.name %> <% } %>
<% } %> <% if (block.description) { %>
<%= block.description %>
<% } %>
<% }) %>
<% if (articles.length) { %>
<% articles.forEach(function(article) { %>
<%= article.title %>
<% }); %>
<% } %>
<% if (articles.length) { %>
<% articles.forEach(function(article) { %>
<%= article.title %>
<%= Util.getExcerpt(article.body, 0) %>
<% }) %>
<% } else { %>
empty
<% } %>
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 }) %>
<% }); %>
<% var activeCategory = categories.filter(function(category) { return category.isActive; })[0] || null; %> <% if (typeof maxArticles === 'undefined' || !maxArticles) maxArticles = 5; %> <% if (activeCategory && activeCategory.sections.length) { %>
Toggle navigation menu
<% activeCategory.sections.forEach(function(section) { %>
<%= section.name %>
<%= partial('partial-section-list-sections', { id: 'section-' + section.id, parentId: 'section-' + section.id, sections: section.sections, activeCategoryId: activeCategoryId, activeSectionId: activeSectionId, activeArticleId: activeArticleId, maxArticles: maxArticles, partial: partial }) %> <% if (section.articles.length) { %>
<% section.articles.slice(0, maxArticles).forEach(function(article) { %>
<%= article.title %>
<% }); %> <% if (section.articles.length > maxArticles) { %>
See all articles
<% } %>
<% } %>
<% }); %>
<% } %>
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 %>
<% }); %>
<% } %>
<% }); %>
<% } %>
<% if (sections.length) { %>
<% sections.forEach(function(section) { %>
<%= section.name %>
<%= partial('partial-section-list-sections', { id: 'section-' + section.id, parentId: '#' + id, sections: section.sections, activeCategoryId: activeCategoryId, activeSectionId: activeSectionId, activeArticleId: activeArticleId, maxArticles: maxArticles, partial: partial }) %> <% if (section.articles.length) { %>
<% section.articles.slice(0, maxArticles).forEach(function(article) { %>
<%= article.title %>
<% }); %> <% if (section.articles.length > maxArticles) { %>
See all articles
<% } %>
<% } %>
<% }); %>
<% } %>
Powered by Zendesk