Follow by Email

Tuesday, September 21, 2010

Create newsletter sending dropdown in newsletter queue

At last i have done a good job normally every one set there newsletter ans run this link from there browser
but i have change it a little bit
i have found the page which is 'app\design\adminhtml\default\default\template\newsletter\queue\list.phtml'
in this page getChildHtml('grid') ?> this function call the list body
which come from 'app\code\core\Mage\Adminhtml\Block\Newsletter\Queue\Grid\Renderer\Action.php' open this page and add this code

$actions[] = array(
'url'=> $this->getUrl('*/newsletter_queue/sending'),
'popup' =>true
in line number 77 before this code $this->getColumn()->setActions($actions);

now you can see a drop down list in your newsletter queue click on it , it will send your not sent news letter.

No comments:

Post a Comment