如何添加 Facebook“赞”发送 CiviCRM 邮件的按钮
我正在尝试将 facebook“喜欢”按钮添加到我的 CiviCRM civiMail 页脚模板中。 当我将下载的代码粘贴到页脚代码中时,CiviCRM 编辑器会标记以下错误 “输入中存在非法字符(潜在的脚本攻击)”
(我已将代码粘贴到我的 HTML 页面中并添加到我的 Wordpress 页面中,它在两者中都可以正常工作,但在 CiviMail 中不起作用)
有人知道如何执行此操作吗?
I'm trying to add the facebook 'Like' button to my CiviCRM civiMail footer template.
When I paste the downloaded code into the footer code the CiviCRM editor flags up the following error
"Illegal characters in input (potential scripting attack)"
(I have pasted the code into my HTML pages and added to my Wordpress pages and it works fine in both but wont work in CiviMail)
Anyone know how to do this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您无法将脚本代码嵌入 HTML 电子邮件中。至少你不能并期望它运行。您能做的最好的事情就是嵌入某种虚假的“点赞”按钮,该按钮是一个简单的图像和指向您的粉丝页面的超链接或您希望人们喜欢的网址,该网址将在他们的浏览器中打开,然后他们可以从那里喜欢它。
You can't embed script code into HTML emails. At least you can't and expect it to run. The best you can do is embed some kind of fake like button that is a simple image and hyperlink to your fan page or the url that you want people to like which will open in their browser and then they could like it from there.