Can't install block
Permalink
I'm trying to make a custom block for a site, and it doesn't show up under "Awaiting Installation" on the Block Types screen.
I've got all the necessary files in the folder, and it's uploaded to the "blocks" folder at the root level; the title of the folder is "stack_gallery," and the line in controller.php reads "class StackGalleryController extends BlockController," all of which I believe is correct. Yet still, nothing shows up for installation.
What might I be doing wrong?
I've got all the necessary files in the folder, and it's uploaded to the "blocks" folder at the root level; the title of the folder is "stack_gallery," and the line in controller.php reads "class StackGalleryController extends BlockController," all of which I believe is correct. Yet still, nothing shows up for installation.
What might I be doing wrong?
Did you disable your overrides cache?
No...but once I do disable the cache, I still can't install the block. And I have no trouble installing other (that is, competently-developed) blocks, so there must be something wrong with this one. I just can't figure what it is.
I was hoping this would be something simple that happens all the time to beginners...but having read through several discussions and tutorials, I still haven't been able to put my finger on the problem.
I was hoping this would be something simple that happens all the time to beginners...but having read through several discussions and tutorials, I still haven't been able to put my finger on the problem.
A common issue is getting the capitalisation of the blocks class wrong w.r.t the block file. So maybe double check that