如何为adminhtml设置付款info.phtml

时间:2012-11-06 10:30:39

标签: magento magento-1.6

如何为adminhtml设置付款info.phtml ...

喜欢为前端设置...像这样的

class Ks_Gippayment_Block_Info extends Mage_Payment_Block_Info
{


protected function _construct()
{
    parent::_construct();
    $this->setTemplate('ks/info.phtml');
}

谢谢:D

1 个答案:

答案 0 :(得分:1)

此代码也将为adminhtml完成工作。只需确保存在以下模板:

app/design/adminhtml/base/default/template/ks/info.phtml