Blocks
https://www.zengenuity.com/
enReview: Node Level Blocks Drupal Module
https://www.zengenuity.com/blog/2010-05/review-node-level-blocks-drupal-module
<span class="field field--name-title field--type-string field--label-hidden">Review: Node Level Blocks Drupal Module</span>
<div class="paragraph html">
<div class="container">
<p>The <a href="https://drupal.org/project/node_level_blocks" title="Node Level Blocks Module">Node-Level Blocks module</a> for Drupal is a much-needed addition that addresses a requirement I get all the time from clients. Clients want to be able to display specific blocks on specific nodes on their sites. Node-Level Blocks is the simplest system I've seen for allowing them to do this.</p>
<h3><img src="https://www.zengenuity.com/sites/default/files/migrated/node-level-blocks-4.png" alt="Standard Drupal Node Visibility Form" title="Standard Drupal Node Visibility Form" width="250" height="173" class="imagecache-small_image img-right" />Why do we need this module?</h3>
<p>Drupal's block system is very powerful when it comes to displaying content in a programmatic way. It's easy to show a certain block when viewing a section of a website or on pages of certain content types. But, I find that most clients don't think this way. They tend to see everything as "page", and because of this they send requests like, "I want this item on the sidebar on this particular page." While the Blocks administrative interface does allow you to specify individual pages for the block to be displayed, most clients find this interface baffling. Even after you teach them how to identify which block they want, then you have to explain that they need to copy the Drupal path for the node into the visibility section. This process is further complicated when you start adding stuff like <a href="https://drupal.org/project/pathauto" title="Pathauto Module">Pathauto</a>, or when the paths get changed. As a result, I generally tell clients to have me manage their block visibility settings. With Node-Level Blocks, no longer!</p>
<h3>What does this module do?</h3>
<p>It adds a block management widget to the node edit form that allows content editors to choose individual blocks to be displayed on the page view for this node. This widget is configurable per content type. You can limit the blocks and the regions that the content editor can choose from.</p>
<h3><img src="https://www.zengenuity.com/sites/default/files/uploads/node-level-blocks-1.png" alt="Node Level Blocks Configuration" title="Node Level Blocks Configuration" width="250" height="193" class="imagecache-small_image" /> <img src="https://www.zengenuity.com/sites/default/files/uploads/node-level-blocks-2.png" alt="Node Level Blocks Content Editor Interface" title="Node Level Blocks Content Editor Interface" width="250" height="165" class="imagecache-small_image" /></h3>
<h3><img src="https://www.zengenuity.com/sites/default/files/uploads/node-level-blocks-3.png" alt="Node Level Blocks Finished Product" title="Node Level Blocks Finished Product" width="250" height="133" class="imagecache-small_image img-right" />Does it work?</h3>
<p>Yes, for the most part. I tested it out and was able to display blocks on individual nodes in any regions that I wanted. The editor-assigned blocks were combined with the blocks assigned using the standard administrative interface. So, Node-Level Blocks fulfills its promise.</p>
<p>However, there are a few of issues that I found during my testing. First, block titles for manually created blocks are not displayed. Strangely, this seemed to only be a problem for manually created blocks. The title for a <a href="https://drupal.org/project/views" title="Views Module">Views</a> block that I added showed up fine. Second, the module does not prevent a block from being displayed twice on a page, even in the same region. (This is only possible if it's already been assigned to that region by the standard interface.) There should probably be an option to prevent this from happening. Lastly, you can only limit the available blocks on module-level basis. You cannot specifically allow individual blocks to be assigned. A module like Views can generate a lot of blocks, so it would be nice if there was an option to specify blocks individually. The current release is marked as a beta, and I've submitted issues on these items (<a href="https://drupal.org/node/811288">here</a> and <a href="https://drupal.org/node/811310">here</a>), so hopefully they will be fixed before a stable release.</p>
</div>
</div>
<span>Wayne Eaker</span>May 27, 2010 <div class="tags">
<div class="container">
<span class="tag"><a href="https://www.zengenuity.com/blog/tags/blocks" hreflang="en">Blocks</a></span>
<span class="tag"><a href="https://www.zengenuity.com/blog/tags/drupal" hreflang="en">Drupal</a></span>
<span class="tag"><a href="https://www.zengenuity.com/blog/tags/module-review" hreflang="en">Module Review</a></span>
</div>
</div>
Thu, 27 May 2010 20:53:00 +0000Wayne Eaker104 at https://www.zengenuity.com