程序员
我想知道如何从cakephp中删除“此电子邮件是使用CakePHP框架发送的”。我已从/app/View/Layouts/Emails/html/default.ctp
和中删除了此文本/app/View/Layouts/Emails/text/default.ctp
。但是没有变化。我也从/app/View/Emails/html/default.ctp
和中删除了它/app/View/Emails/text/default.ctp
。再次没有变化。我该怎么做?
罗比·阿夫里尔(Robbie Averill)
我对Cake 2.4.9安装进行了Agent Ransack搜索,发现这些文件包含您要更改/删除的行:
- app \ View \ Layouts \ Emails \ html \ default.ctp(第27行)
- app \ View \ Layouts \ Emails \ text \ default.ctp(第21行)
- lib \ Cake \ Console \ Templates \ skel \ View \ Layouts \ Emails \ html \ default.ctp(第18行)
- lib \ Cake \ Console \ Templates \ skel \ View \ Layouts \ Emails \ text \ default.ctp(第21行)
- lib \ Cake \ Test \ Case \ Controller \ Component \ EmailComponentTest.php(第246、259、309、468、482行)
- lib \ Cake \ Test \ Case \ Network \ Email \ CakeEmailTest.php(第1277、1299、1487、1491、1495、1503、1514、1638、1641行)
- lib \ Cake \ Test \ test_app \ Plugin \ TestPlugin \ View \ Layouts \ Emails \ text \ plug_default.ctp(第4行)
- lib \ Cake \ Test \ test_app \ Plugin \ TestPluginTwo \ View \ Layouts \ Emails \ text \ default.ctp(第4行)
- lib \ Cake \ Test \ test_app \ View \ Layouts \ Emails \ html \ thin.ctp(第11行)
- lib \ Cake \ Test \ test_app \ View \ Layouts \ Emails \ html \ default.ctp(第11行)
- lib \ Cake \ Test \ test_app \ View \ Layouts \ Emails \ text \ default.ctp(第11行)
这些都是现成的Cake 2.4.9安装中的所有通知实例。不过,您应该为电子邮件创建自己的电子邮件视图和布局。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
编辑于
我来说两句