I try to specify a custom layout for my module like this:
<frontend>
...
<layout>
<updates>
<learn>
<file>learnx.xml</file>
<learn>
</updates>
</layout>
...
</frontend>
but I get a 401 (page not found) error.
I try to avoid using local.xml layout for all my local modules.
I mentiont that if i delete the above layot-update and put the same content as learnx.xml in local.xml it works.
What am I doing wrong?
Thank you!
It looks like you have an error in your config.xml file. You have not closed the
<learn>tag for instance. Also make sure that you have the correct router information for this module which is placed before stating which layout to use. The following example should give you a clue: