Urapidflow has an issue which casued by a security patch and even their new version does not resolve the issue, the path for module file that I want to write an override is:
app\code\community\Unirgy\RapidFlow\Block\Adminhtml\Profile\Edit\Tab\Upload.php
anyways I have to rewrite the following:
$this->getUploader()->getConfig()
this should be
$this->getUploader()->getUploaderConfig()
to work fine. here is the module path: Unirgy_RapidFlow_Block_Adminhtml_Profile_Edit_Tab_Upload
I am creating a module to rewrite the functions inside it, here is what I did:
app\code\local\Scosche\Unirgy\etc\config.xml
<config>
<modules>
<Scosche_Unirgy>
<version>0.0.1</version>
</Scosche_Unirgy>
</modules>
<global>
<blocks>
<scosche_unirgy>
<class>Scosche_Unirgy_Block</class>
</scosche_unirgy>
<unirgy_rapidFlow>
<rewrite>
<adminhtml_profile_edit_tab_upload>Scosche_Unirgy_Block_Adminhtml_Profile_Edit_Tab_Upload</adminhtml_profile_edit_tab_upload>
</rewrite>
</unirgy_rapidFlow>
</blocks>
</global>
</config>
This is wrong for some reason I created the same folders and path on scosche module but although I can see module is active in Advanced configuration, it is not working, app\code\community\Unirgy\RapidFlow\etc\config.xml:
<blocks>
<urapidflow><class>Unirgy_RapidFlow_Block</class></urapidflow>
</blocks>
unirgy_rapidFlow
is the correct block alias? Meaning, is this the one that can be found underapp/code/*SCOPE*/Unirgy/RapidFlow/etc/config.xml
inside the<blocks>
node?Unirgy_RapidFlow_Block
- this you need to check in the config.xml of the module first.***Unirgy/RapidFlow/etc/config.xml
file please.