I am using magento 1.9
and want to insert cookie restriction notice block on my page
then try to render it in my homepage.phtml
and this static block(cookie restriction notice block) is enabled
Instead of using getChildChildHtml('cookies.notice')
Use getChildHtml('cookies.notice')
We are usinggetChildChildHtml
when we want to get 2nd level of child block
For getting first level of child block we are using getChildHtml
method
Try getChildHtml
rather than getChildChildHtml
.
Also use block_id
rather than id
:
<action method="setBlockId">
<block_id>my_block</block_id>
</action>