I would like to override a "community" Block within "Script.php" file.
Override third party module as http://connect20.magentocommerce.com/community/Anaraky_GDRT_1
Magento version : 1.7.0
Here's community Module file tree:
-app
- code
- community
- Anaraky
- Gdrt
- Block
- Script.php
- etc
- Config.xml
- Helper
- Data.php
- Module
- Adminhtml
- Observer.php
I want to override Script.php file to My Custom module
Here's my custom module file tree :
- app
- code
- local
- Anarakyoverride
- Gdrtoverride
- Block
- Script.php
- etc
- config.xml
Also, I have add code config.xml file of My Custom (Anarakyoverride_Gdrtoverride) module as following code
<?xml version="1.0"?>
<config>
<modules>
<Anarakyoverride_Gdrtoverride>
<version>1.0.8</version>
</Anarakyoverride_Gdrtoverride>
</modules>
<global>
<blocks>
<gdrt>
<class>Anarakyoverride_Gdrtoverride_Block</class>
</gdrt>
</blocks>
</global>
</config>
Can any one help me and suggest to override third party module?
More detail of module is http://connect20.magentocommerce.com/community/Anaraky_GDRT_1 Installed module and override script.php file in your custom module i.e app/code/local/Anarakyoverride/Gdrtoverride/Block/Script.php
Thanks and Regards, Vishal