Following page

The Following page template is rendered when a user navigates to https://{yoursubdomain}.zendesk.com/hc/{locale}/subscriptions.

Available properties

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

NameTypeDescription
current_filterobjectThe current filter object
filtersarrayAn array of filter objects for the page
subscriptionsarrayAn array of subscription objects
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 Following page. See breadcrumbs helper

Example

<header class="my-activities-header">  {{breadcrumbs}}</header>
<div class="my-activities-following-header">  <span class="dropdown">    <span class="dropdown-toggle">      {{current_filter.label}}    </span>    <span class="dropdown-menu" role="menu">      {{#each filters}}        <a href="{{url}}" aria-selected="{{selected}}" role="menuitem">          {{name}}        </a>      {{/each}}    </span>  </span></div>
<div class="my-activities-table">  {{#if subscriptions}}    <table>      <thead>        <tr>          <th>{{t 'title'}}</th>          <th>{{t 'type'}}</th>          <th>{{t 'subscription'}}</th>          <th></th>        </tr>      </thead>      <tbody>        {{#each subscriptions}}          <tr>            <td><a href="{{url}}">{{title}}</a></td>            <td>{{name}}</td>            <td>{{subscribe}}</td>            <td>{{unsubscribe}}</td>          </tr>        {{/each}}      </tbody>    </table>
  {{pagination}}  {{else}}    <p>{{t 'not_following'}}</p>  {{/if}}</div>