Organizational Research By

Surprising Reserch Topic

Experts Most Trusted Topic


magento block override from two different modules


magento block override from two different modules  using -'magento,override,block'

Hi I have some issues in overriding a magento core block. In my module I need to override Mage_Catalog_Block_Navigation

<blocks>
  <catalog>
    <rewrite>
            <navigation>Mycompany_Mymodule_Catalog_Block_Navigation</navigation>
        </rewrite>
  </catalog>
</blocks>


but this is already overridden by another magento extension from another company:

<blocks>
  <catalog>
    <rewrite>
        <navigation>Othercompany_Othermodule_Block_Navigation</navigation>
    </rewrite>
  </catalog>
</blocks>


Both extension overrides different methods and they don't know abut each other, but magento reads the second company overrides and not my. I don't want to use module dependencies. Is there any way to not break the two extensions functionality.
    

asked Oct 13, 2015 by dahiyabecomp
0 votes
1 view



Related Hot Questions



Walkin Jobs Opening



Government Jobs Opening


...