【发布时间】:2013-04-18 14:14:28
【问题描述】:
我使用宏作为 {%UnsubscribeLink %} 来取消订阅新闻通讯。
当用户收到时事通讯时,我想更改此链接的文本。
这次它显示为“退订”。如何更改此文本值?
【问题讨论】:
标签: asp.net content-management-system kentico
我使用宏作为 {%UnsubscribeLink %} 来取消订阅新闻通讯。
当用户收到时事通讯时,我想更改此链接的文本。
这次它显示为“退订”。如何更改此文本值?
【问题讨论】:
标签: asp.net content-management-system kentico
我建议使用仅返回退订 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'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>
【讨论】: