I'm trying to load in a block on one of my admin pages in a custom module, but it doesn't appear to be loading. At first I thought it was a handle issue, but I've found out that the handle is adminhtml_bar_index
through the controller. I know it's not loading because I have debug mode on, and, when I break the XML, no error whatsoever gets thrown or logged. What else could be wrong?
/app/code/local/Foo/Bar/etc/config.xml
<?xml version="1.0"?>
<config>
<!-- ... -->
<adminhtml>
<layout>
<updates>
<bar>
<file>foo_bar.xml</file>
</bar>
</updates>
</layout>
<!-- ... -->
</adminhtml>
<!-- ... -->
</config>
/app/design/adminhtml/default/default/layout/foo_bar.xml
<?xml version="1.0"?>
<layout>
<adminhtml_bar_index>
<reference name="content">
<block type="foo_bar/adminhtml_profiles_grid" />
<reference>
</adminhtml_bar_index>
</layout>
Thanks in advance!
Edit: I've managed to make it load. I don't know how, but I did. I think it was a handle issue still.