- Issue #1855058 by drzraf: Wrong blocks URL (http://drupal.org/node/1855058).
- Issue #1504562 by Daluxz: Clear configuration-button not working (http://drupal.org/node/1504562).
- Issue #1923948 by Ozmodiar: Add custom CSS class support (http://drupal.org/node/1923948).
- Issue #1613260 by ekoedmedia: Missing Weight on Nodes in Block Page (http://drupal.org/node/1613260).
Requires Drupal 7 and block module.
Author: Kristof De Jaeger - http://drupal.org/user/107403
Nodes in block makes it possible to add nodes into a block. A number of configurable blocks can be made available which you can assign to a region. On the node content form, you select the block and visibility per node. The block which this node is assigned to will inherit the node's visibility settings. With this module, you don't have to explain your customers how blocks work but is still able to decide on which pages content must be rendered.
- Place this module directory in your modules folder (this will usually be "sites/all/modules/").
- Go to "modules" (admin/modules) and enable the module.
Go to "administer -> structure -> nodesinblock"
Select how many blocks you want and which content types will benefit from this feature. After submitting this, two fieldsets will become available where you can change the block settings and define the settings per content type. Now it's time to go to admin/build/block and assign one or more blocks to a region.
On the node form, you can choose the region, render mode (depending on your settings) and the visibility of the node. Weight and status of the node in the block can be altered by visiting administer -> structure -> nodesinblock -> queue.
If you set the visibility setting for the block as "Show on every page except the listed pages", multiple paths will not work correct because of the way that Drupal core block visibility works. You'll be better off choosing the default option.
An extra property is added to the node object which you can use in your node template file to make theming even more easier:
// node.tpl.php if (isset($node->nodesinblock)) { // Theming for node in block } else { // Normal theming }
Please use the issue queue available at http://drupal.org/project/nodesinblock to file support and feature requests, bugs etc. Be as descriptive as you can.