Magento Forum

Magento save button doesn’t appear on server - Mage_Adminhtml_Block_Widget_Form_Container
 
vendramini
Jr. Member
 
Total Posts:  1
Joined:  2012-07-11
 

Hi,

I just created a module to manager banners following this tutorial: http://www.pierrefay.com/magento-developper-guide-howto-tutorial-5

localhost is working. When I upload to server, the ‘update’ button doesn’t appear on form.
After debug, I realized that on server the class is not being executed:

Test_Banners_Block_Adminhtml_BannersAdmin extends Mage_Adminhtml_Block_Widget_Form_Container

Localhost it’s being executed, but in server it doesn’t. On my layout.xml I put:

<test_banners_adminhtml_index_index
    <
reference name="content"
        <
block type="test/adminhtml_bannersadmin" name="banners" output="toHtml" /> 
    </
reference
</
test_banners_adminhtml_index_index>

When I access banners/adminhtml/index it should renderize the block test/adminhtml_bannersadmin to the page. This is not happening on server, just in localhost.

I tried to change the route, module name, among other things. Nothing works on server.
On BannersAdmin.php the relation between blockGroup is correct: $this->_blockGroup = ‘test’;

Does someone knows what I could try?

Thanks.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top