Module creates custom page on admin panel, page loads as an empty page. By debugging I've seen that corresponding action is loaded, but for some reason it doesn't load template file, also as I could see JS and CSS links are correctly added to header. here part from layout:

    <reference name="head">
        <action method="addJs"><file>customjs/jquery-1.7.2.min.js</file></action>
        <action method="addCss"><file>../../../../js/customjs/css/ui-lightness/jquery-ui-1.10.4.custom.css</file></action>
    <reference name="content">
        <block type="namespacename_modulename/adminhtml_actionname" name="modulename" />

Magento Version


public function actionnameAction() {

Is there something which need to be fixed?

  • modulname_adminhtml_controllername_actionname and connector_adminhtml_connectordebug_syncheader both should be same
    – sandip
    Commented Jan 9, 2017 at 13:46
  • Can you add your block code?
    – tjons
    Commented Jan 9, 2017 at 14:02
  • @tjons what part exactly do you mean?
    – Gevorg M
    Commented Jan 9, 2017 at 14:21

2 Answers 2


From just looking at your layout file, it looks like you haven't specified a template for the block. Use the template attribute:

<reference name="content">
    <block type="namespacename_modulename/adminhtml_actionname" name="modulename" template="path/to/your/template.phtml" />

Also, as @Same pointed out, the handle nodes should be the same...

  • Nodes are same, it was wrongly written in question, which I've just fixed. About the template="path/to/your/template.phtml" I've tested also with that version, it doesn't help.
    – Gevorg M
    Commented Jan 9, 2017 at 14:27
  • Did you change it the template path and clear caches?
    – tjons
    Commented Jan 9, 2017 at 14:28
  • template="my_module_dir_in_adminhtml/mytemplate.phtml" is this enough or I have to add something else? caches I'm cleaning after each code update.
    – Gevorg M
    Commented Jan 9, 2017 at 14:33

The problem is Module Output were DISABLED I've found solution here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.