Question

I have created the custom admin module working fine.

but when my layout file(mca.xml) put on adminhtml->default->default->layout->mca.xml

it's working fine.

enter image description here

but when I put file into my package adminhtml->default->Course->layout->mca.xml it's not working? showing empty page.

enter image description here

can anyone tell me where I went wrong?

thanks in advance.

Was it helpful?

Solution

Have you set adminhtml/default/Course/layout to be your default adminhtml theme?

To do so you can specify the theme in your module's config.xml.

<stores>
    <admin>
        <design>
            <package>
                <name>default</name>
            </package>
            <theme>
                <default>Course</default>
            </theme>
        </design>
    </admin>
</stores>
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top