php - Change default template on adding new template in Magento? -
php - Change default template on adding new template in Magento? -
any 1 help me,
when add together new template in newsletter below mentioned content comes automatically (see below image). need alter template
step followed: newsletter->newsletter templates->add new template ( see below content in text editor)
where alter below content in magento
follow link unsubscribe {{var subscriber.getunsubscriptionlink()}}
yes found file.
it located in below path. hope help in future
\app\code\core\mage\newsletter\model\template.php
public function gettemplatetext() { if (!$this->getdata('template_text') && !$this->getid()) { $this->setdata('template_text', mage::helper('newsletter')->__('follow link unsubscribe <!-- tag unsubscribe link --><a href="{{var subscriber.getunsubscriptionlink()}}">{{var subscriber.getunsubscriptionlink()}}</a>') ); } homecoming $this->getdata('template_text'); }
php magento
Comments
Post a Comment