Working with Magento CE 18.104.22.168.
I have written some custom code which I have placed here:
I also created a new XML reference to this file here:
This is the reference I added within the layout block:
<cms_index_index> <reference name="before_body_end"> <block type="core/template" name="my_custom_code" template="template/page/html/custom_code.phtml" /> </reference> </cms_index_index>
However after clearing cache and verifying there are no errors anywhere on the system, I still can't get the block to show before_body_end anywhere on the homepage. What am I doing wrong?