【发布时间】:2014-03-19 10:58:34
【问题描述】:
我想更改订阅 magento 时事通讯时发送给用户的感谢电子邮件的内容。
订阅表格在/app/design/frontend/base/default/template/newsletter/subscribe.phtml:
<form action="<?php echo $this->getFormActionUrl() ?>" method="post" id="newsletter-validate-detail">
</form>
我在/app/code/core/Mage/Newsletter/Block/Subscribe.php找到的getFormActionUrl函数:
public function getFormActionUrl()
{
return $this->getUrl('newsletter/subscriber/new', array('_secure' => true));
}
我是 magento 的新手,getUrl 函数在许多文件中定义,任何人都可以直接将我指向该文件,其中有感谢您订阅时事通讯的电子邮件。
【问题讨论】:
-
mahendra,你想要什么???
-
getUrl 可能只在一个地方定义。尝试搜索“function getUrl”的代码。
标签: php magento newsletter