Description of the need
We have an existing block NodeBlock that allows pointing at any arbitrary node as a block by its Node ID. I have a situation where the best way to use layouts may be to render the same node multiple times on the same page, each with different display modes. For example I have a banner area at the top of the page, as well as the main content area that is a wide column. I want to display a "banner" display mode in the banner area in addition to the "full page' display mode used in the main content block.
Proposed solution
Introduce NodeCurrentBlock class that can render the node. This block would have the required context of node so it would only show up on node/% path layouts (or other layouts with a Node context).
Recent comments
As I work through things I flush the caches after every change I make. As far as I can tell I have the custom module in the correct place (/modules/custom/fix_zero_search) and the file...
custom module not showing up in modules list
If you haven't already, flush all the caches. If it is in the modules folder whether directly or in a custom folder it will show up. If not, something else is wrong with your site; check...
custom module not showing up in modules list
Awful idea! That's not how modules get installed! The number in db indicates the installed state and schema version. You're not supposed to fiddle in the database directly. There's an...
custom module not showing up in modules list