I created a custom block (by creating a module and doing a layout update via an xml file), and the block is not rendering for some reason.
I have commercebug installed so i checked the layout xml for the page and it shows that it updated with the proper info, but when I go to the blocks tab it’s not there (and not calling it)
this block rendered nicely on my local machine but on the staging server it doesn’t work (even though i copied the files etc.)
I am a beginner so any help would be greatly appreciated.
Thanks in advance,
pesach
It sounds like you’re saying you’ve successfully added some Layout XML to the page layout. If you could post that it would help people debug your problem better.
The next three steps to take are
Ensure your block type is correct
Ensure your template file (if you’re using one) exists
Ensure the block you’re inserting your custom block into will automatically render blocks (i.e. is a text_list block)
If you post the actual layout xml you’ve added the page layout, we’ll be able to help with the items above.