1

I have in my module's etc/config.xml a block specified as follows:

 <blocks>
 <discoverymiles>
 <class>MyFrontName_MyModule_Block</class>
 </discoverymiles>
 </blocks>
</global>

But when I refresh (admin) page where I am expecting to see the effects of this block (a grid output), I see nothing (the page loads OK but the grid area is blank) More worryingly, I am not seeing any error output ANYWHERE. Not on the page itself, not in system.log, not exception.log ... nothing. Expecting to see some kind of 'Block class not found' error (if the class itself is not found which seems to be a logical explanation for it not loading).

Also if I change the contents to something random 'Blah', still get no error of any kind ...

How to debug this?

any help much appreciated g

Siarhey Uchukhlebau
16.2k11 gold badges57 silver badges89 bronze badges
asked Sep 12, 2017 at 10:12
1
  • Are you talking about a adminhtml ? your grid area is blanck? is this your problem Commented Sep 12, 2017 at 12:44

1 Answer 1

1

OK found issue: tag was not inside tag so the layout file wasn't being called.

answered Sep 12, 2017 at 12:34

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.