【问题标题】:How to change Newsletters UnsubscribeLink text如何更改时事通讯退订链接文本
【发布时间】:2013-04-18 14:14:28
【问题描述】:

我使用宏作为 {%UnsubscribeLink %} 来取消订阅新闻通讯。

当用户收到时事通讯时,我想更改此链接的文本。

这次它显示为“退订”。如何更改此文本值?

【问题讨论】:

    标签: asp.net content-management-system kentico


    【解决方案1】:

    我建议使用仅返回退订 URL 并自行创建退订链接文本的其他宏。

    确切的宏取决于 Kentico 版本。这肯定适用于 v11/v1。

    <a href="{% EmailFeed.UnsubscribeFromEmailFeedUrl #%}" target="_blank">YOUR TEXT</a>
    

    更复杂

    <td>
      We hope you found this message to be useful.
      However, if you&#39;d rather not receive these emails in the future,
      please <a href="{% EmailFeed.UnsubscribeFromEmailFeedUrl #%}" target="_blank" 
      style="color: #000000;">unsubscribe</a> from this newsletter.
      You can also unsubscribe from <a href="{% EmailFeed.UnsubscribeFromAllEmailFeedsUrl #%}" target="_blank" style="color: #000000;">all marketing emails</a>.
    </td>
    

    Link to official documentation

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-06-13
      • 2018-01-07
      • 1970-01-01
      • 1970-01-01
      • 2014-06-15
      • 2014-07-21
      • 1970-01-01
      • 2010-10-25
      相关资源
      最近更新 更多