贡献页面

当最终用户进行选择时,将呈现“贡献”页模板我的活动并单击贡献

可用的属性

您可以在“贡献”页模板中使用以下属性。

名字 类型 描述
current_filter 对象 当前的<一个href="//www.ying8.net/documentation/help_center/help-center-templates/objects">过滤器对象
贡献 数组 的数组<一个href="//www.ying8.net/documentation/help_center/help-center-templates/objects">贡献对象,由current_filter
过滤器 数组 的数组<一个href="//www.ying8.net/documentation/help_center/help-center-templates/objects">过滤器页面的对象。
promoted_articles 数组 一组提升的<一个href="//www.ying8.net/documentation/help_center/help-center-templates/objects">文章对象
ticket_forms 数组 的数组<一个href="//www.ying8.net/documentation/help_center/help-center-templates/objects">票的形式对象
help_center 对象 一个<一个href="//www.ying8.net/documentation/help_center/help-center-templates/objects">help_center对象,该对象保存有关当前帮助中心的信息和设置
设置 对象 一个<一个href="//www.ying8.net/documentation/help_center/help-center-templates/objects">设置对象使用当前主题的自定义设置
signed_in 布尔 用户是否登录
featured_posts 数组 一组有特色的<一个href="//www.ying8.net/documentation/help_center/help-center-templates/objects">帖子对象

可用的助手

您可以在此页面模板中使用以下帮助程序。你也可以使用any<一个href="//www.ying8.net/documentation/help_center/help-center-templates/helpers">内置的助手,<一个href="//www.ying8.net/documentation/help_center/help-center-templates/helpers">全球助手,或<一个href="//www.ying8.net/documentation/help_center/help-center-templates/advanced_helpers">全球高级助手

名字 描述
面包屑 贡献页面的面包屑。看到<一个href="//www.ying8.net/documentation/help_center/help-center-templates/helpers">面包屑的助手
分页 分页链接。看到<一个href="//www.ying8.net/documentation/help_center/help-center-templates/helpers">分页助手

例子

             
<=my-activities-header>{{面包屑}}><导航=my-activities-sub-nav nav-bordered><ul>{{#每个过滤器}}<>{{#如果选择}}{{名称}}{{其他}}<一个href={{url}}>{{名称}}一个>{{/如果}}>{{/每个}}ul>导航><div=contributions-list><ul>{{#每个贡献}}<><一个href={{url}}>{{标题}}({{类型}})一个>>{{/每个}}ul>div>
<一个href="https://support.zendesk.com/hc/en-us/community/topics" target="_blank" rel="noreferrer noopener" class="footer__LinkWithIcon-sc-1o148d7-4 gMsdeb"> 论坛<一个href="https://developerblog.zendesk.com" target="_blank" rel="noreferrer noopener" class="footer__LinkWithIcon-sc-1o148d7-4 gMsdeb"> 博客<一个href="https://docs.google.com/forms/d/e/1FAIpQLScm_rDLWwzWnq6PpYWFOR_PwMaSBcaFft-1pYornQtBGAaiJA/viewform" target="_blank" rel="noreferrer noopener" class="footer__LinkWithIcon-sc-1o148d7-4 gMsdeb"> 松弛 亚博加利福尼亚州旧金山市市场街989号,邮编:94103
隐私政策<一个href="//www.ying8.net/company/agreements-and-terms/master-subscription-agreement/" target="_blank" rel="noreferrer noopener">条款和条件<一个href="https://status.zendesk.com" target="_blank" rel="noreferrer noopener">系统状态<一个href="#onetrust-show-cookie-settings" class="ot-sdk-show-settings" id="onetrust-show-cookie-settings">Cookie设置