Well I have created a block in my XML file with a type as one of my PHP class file and I also gave the template, name and as parameters, but unfortunately I am unable to get that block on my page. I have called that block from my PHTML file using getChildHtml('Name_Of_The_Block'); But it seems there is some problem in my code. Can I know what may be the possible reasons for this error?

  • 1
    more info please. Layout_XML, Block class, phtml. Aug 20, 2013 at 7:28
  • check permission of files/pages.. Aug 20, 2013 at 11:13
  • Where should i check the permissions? Aug 20, 2013 at 11:22
  • Did you refresh the cache?
    – Sukeshini
    Sep 30, 2013 at 16:49

1 Answer 1


Here are some reference links to create magento block.

1. creating custom template block in magento

2. custom-reference-structural-block

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.