0

I've made a simple text block and now want to display this on a panel. However, the block does not appear on the list of available blocks on the Custom Block page. I've tried clearing the cache, and making different blocks, but it appears that all new blocks aren't showing up in that menu.

I'm not sure what I'm missing. I found this disucssion, Block doesn't show up in blocks listing. But I don't really understand what their solution was (manually edit db entry?).

4
  • Same here - but I am running the same site on a different server and there it works as expected. So it seems like it's some small setting or code problem in my case.
    – ergophobe
    Nov 7, 2013 at 4:55
  • I take that back - same problem on all servers. A couple of custom blocks show, but blocks added after a certain point do not show.
    – ergophobe
    Nov 15, 2013 at 3:42
  • Are you creating this block through drupal's block admin? (structure/block)? If so, what's the url for your block config look like (should be soemthing like /admin/structure/block/manage/block/2/configure)
    – Jance
    Jun 9, 2015 at 18:40
  • I'm currently having the exact same issue. Is it an issue with the number of blocks that are added, i.e., too many?
    – ashlinry
    Feb 15, 2016 at 15:56

3 Answers 3

2

I made a custom block from code and it is listed in "miscellaneous" section insted of "custom blocks". Maybe your modules are there.

2

When my custom block wasn’t showing, it was because there were unsaved changes to the Panel and it was locked.

After clicking "cancel" to remove the changes and unlock the Panel, the custom block then appears within the "Miscellaneous" section.

0

This article should point you to right direction, specifically the hook_block_info that is implemented at the beginning of the article.

On panel menu, the created block should fall into "Miscellaneous" tab.

Your Answer

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

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