duanhuang2804 2017-07-28 01:30
浏览 18
已采纳

覆盖joomla核心电子邮件模板

Is there a way I can override the core email template that the admin will received once a guest sent message on contact form?

I would like to customize the look and feel of the received email. At least I can include a email header and footer.

  • 写回答

1条回答 默认 最新

  • douhu1990 2017-07-28 07:16
    关注

    I think an easy override like in joomla layouts and templates is not possible. If you want to modify your emails, you can...

    1. change language files or make language overrides to modify your email (not what you´re looking for)
    2. write your own system plugin which modifies your email methods. The email methods are stored in /libraries/joomla/mail/mail.php. Here you can wrap a template around your content.
    3. use a extension which catches your templates and wraps them into templates like joomla email beautifier.

    I´m with you, hope in the future there will be an easy native option to override mail templates.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 python中transformers可以正常下载,但是没有办法使用pipeline
  • ¥50 分布式追踪trace异常问题
  • ¥15 人在外地出差,速帮一点点
  • ¥15 如何使用canvas在图片上进行如下的标注,以下代码不起作用,如何修改
  • ¥15 Windows 系统cmd后提示“加载用户设置时遇到错误”
  • ¥50 vue router 动态路由问题
  • ¥15 关于#.net#的问题:End Function
  • ¥15 无法import pycausal
  • ¥15 weditor无法连接模拟器Local server not started, start with?
  • ¥20 6-3 String类定义