I want to override the standard phtml when you edit a product in magento admin.
File to override: C:\wamp64\www\regimeproteine\app\design\adminhtml\default\default\template\catalog\form\renderer\fieldset\element.phtml
I have created a module:
File: C:\wamp64\www\regimeproteine\app\etc\modules\Pro10_Adminshopscope.xml
<?xml version="1.0"?>
<config>
<modules>
<Pro10_Adminshopscope>
<active>true</active>
<codePool>local</codePool>
</Pro10_Adminshopscope>
</modules>
</config>
File: C:\wamp64\www\regimeproteine\app\code\local\Pro10\Adminshopscope\etc\config.xml
<?xml version="1.0"?>
<config>
<modules>
<Pro10_Adminshopscope>
<version>1.0</version>
</Pro10_Adminshopscope>
</modules>
<global>
<blocks>
<adminhtml>
<rewrite>
<catalog_form_renderer_fieldset_element>Pro10_Adminshopscope_Block_Adminhtml_Catalog_Form_Renderer_Fieldset_Element</catalog_form_renderer_fieldset_element>
</rewrite>
</adminhtml>
</blocks>
</global>
</config>
> The file that will override the original:
C:\wamp64\www\regimeproteine\app\code\local\Pro10\Adminshopscope\Block\Adminhtml\Catalog\Form\Renderer\Fieldset\Element.phtml
This result in a blanco page, if I remove or rename the target, the default element.phtml is used.
I changed these files for mor info about the error
C:\wamp64\www\regimeproteine\app\code\core\Mage\Core\Model\Layout.php C:\wamp64\www\regimeproteine\app\code\core\Mage\Core\Model\Config.php
the log files:
exception 'Mage_Core_Exception' with message 'invalid block type: Pro10_Adminshopscope_element' in C:\wamp64\www\regimeproteine\app\Mage.php:597