I'm trying to override a part of an helper of Help Desk MX extension.
So I created a module with the following file:
app/etc/modules/company.xml
<?xml version="1.0" encoding="utf-8"?>
<config>
<modules>
<Company_Helpdesk>
<active>true</active>
<codePool>local</codePool>
</Company_Helpdesk>
</modules>
</config>
app/code/local/Company/Helpdesk/etc/config.xml
<?xml version="1.0"?>
<config>
<modules>
<Company_Helpdesk>
<version>1.0.0</version>
</Company_Helpdesk>
</modules>
<global>
<helpers>
<mirasvit_helpdesk>
<rewrite>
<email>Company_Helpdesk_Helper_Email</data>
</rewrite>
</mirasvit_helpdesk>
</helpers>
</global>
</config>
app/code/local/Company/Helpdesk/Helper/Email.php
<?php
class Company_Helpdesk_Helper_Email extends Mirasvit_Helpdesk_Helper_Email
{
public function getHiddenSeparator()
{
return "<span style='color:transparent;font-size:0;margin:0px;padding:0px;'>".$this->getSeparator().'</span>';
}
}
Following this guide: http://inchoo.net/magento/overriding-magento-blocks-models-helpers-and-controllers/
But it doesn't work.
Where am I wrong?
<helpers>
tag look like?