Contributions page

The Contributions page template is rendered when a user navigates to https://{yoursubdomain}.zendesk.com/hc/contributions/comments, https://{yoursubdomain}.zendesk.com/hc/contributions/posts or https://{yoursubdomain}.zendesk.com/hc/contributions/community_comments.

Available properties

You can use the following properties in the Contributions page template.

NameTypeDescription
current_filterobjectThe current filter object
contributionsarrayAn array of contribution objects, filtered by current_filter
filtersarrayAn array of filter objects for the page
promoted_articlesarrayAn array of promoted article objects
ticket_formsarrayAn array of ticket form objects
help_centerobjectA help_center object that holds information and settings about the current help center
settingsobjectA settings object with custom settings for the current theme
signed_inbooleanWhether the user is logged in or not
featured_postsarrayAn array of featured post objects
brandobjectA brand object representing the current brand
userobjectA user object representing the current user

Available helpers

You can use the following helpers in this page template. You can also use any built-in helpers, global helpers, or global advanced helpers.

NameDescription
breadcrumbsBreadcrumbs for the Contributions page. See breadcrumbs helper
paginationPagination links. See pagination helper

Example

<header class="my-activities-header">  {{breadcrumbs}}</header>
<nav class="my-activities-sub-nav nav-bordered">  <ul>    {{#each filters}}      <li>        {{#if selected}}          {{name}}        {{else}}          <a href="{{url}}">{{name}}</a>        {{/if}}      </li>    {{/each}}  </ul></nav>
<div class="contributions-list">  <ul>  {{#each contributions}}    <li>      <a href="{{url}}">        {{title}} ({{type}})      </a>    </li>  {{/each}}  </ul></div>