Footer
Footer
The Footer template is rendered at the bottom of every page in the help center.
Available properties
You can use the following properties in the Footer template.
| Name | Type | Description |
|---|---|---|
| current_locale | object | A locale object corresponding to the one currently used by the user |
| alternative_locales | array | An array of locale objects corresponding to all the available locales in help center except the current one |
| help_center | object | A help_center object |
| settings | object | A settings object |
| signed_in | boolean | Whether the user is logged in or not |
| promoted_articles | array | An array of promoted article objects |
| featured_posts | array | An array of featured post objects |
| ticket_forms | array | An array of ticket form objects |
| brand | object | A brand object representing the current brand |
| user | object | A 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.
| Name | Description |
|---|---|
| my_profile | Shows the current user's profile. See my_profile helper |
| change_password | Show the change password modal. See change_password helper |
Example
{{#if alternative_locales}}<div class="dropdown language-selector" aria-haspopup="true"><a class="dropdown-toggle">{{current_locale.name}}</a><span class="dropdown-menu dropdown-menu-end" role="menu">{{#each alternative_locales}}<a href="{{url}}" dir="{{direction}}" rel="nofollow" role="menuitem">{{name}}</a>{{/each}}</span></div>{{/if}}