My custom admin module not displaying?
-
16-10-2019 - |
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.
but when I put file into my package adminhtml->default->Course->layout->mca.xml it's not working? showing empty page.
can anyone tell me where I went wrong?
thanks in advance.
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