0

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. – Fabian Blechschmidt Aug 20 '13 at 7:28
  • check permission of files/pages.. – monojit banik Aug 20 '13 at 11:13
  • Where should i check the permissions? – Akash Goswami Aug 20 '13 at 11:22
  • Did you refresh the cache? – Sukeshini Sep 30 '13 at 16:49
2

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, privacy policy and cookie policy

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