You are here

README.txt in Nodes In Block 6

Same filename and directory in other branches
  1. 7 README.txt
Nodes in block
--------------
Requires Drupal 6

Author: Kristof De Jaeger - http://drupal.org/user/107403

Overview:
--------
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.

Installation:
-------------
1. Place this module directory in your modules folder 
   (this will usually be "sites/all/modules/").
2. Go to "administer -> build -> modules" and enable the module.

Configuration:
--------------
Go to "administer -> settings -> 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 -> settings -> 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.

Theming
-------
Every node in the block can be rendered as a teaser or page. An extra property is also added to 
the node object which you can use in your node template file to make theming even more easier:

<?php
// node.tpl.php
if (isset($node->nodesinblock)) {
  // Theming for node in block
}
else {
  // Normal theming
}
?>

Node Displays
-------------
If ND is enabled (http://drupal.org/project/nd), the buildmodes are presented in the render select box.

Support:
--------
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.

Last updated:
------------

File

README.txt
View source
  1. Nodes in block
  2. --------------
  3. Requires Drupal 6
  4. Author: Kristof De Jaeger - http://drupal.org/user/107403
  5. Overview:
  6. --------
  7. Nodes in block makes it possible to add nodes into a block. A number of configurable
  8. blocks can be made available which you can assign to a region. On the node content form,
  9. you select the block and visibility per node. The block which this node is assigned
  10. to will inherit the node's visibility settings. With this module, you don't have to explain
  11. your customers how blocks work but is still able to decide on which pages content must be
  12. rendered.
  13. Installation:
  14. -------------
  15. 1. Place this module directory in your modules folder
  16. (this will usually be "sites/all/modules/").
  17. 2. Go to "administer -> build -> modules" and enable the module.
  18. Configuration:
  19. --------------
  20. Go to "administer -> settings -> nodesinblock"
  21. Select how many blocks you want and which content types will benefit from this feature.
  22. After submitting this, two fieldsets will become available where you can change the block
  23. settings and define the settings per content type. Now it's time to go to admin/build/block
  24. and assign one or more blocks to a region.
  25. On the node form, you can choose the region, render mode (depending on your settings)
  26. and the visibility of the node. Weight and status of the node in the block can be altered
  27. by visiting administer -> settings -> nodesinblock -> queue.
  28. If you set the visibility setting for the block as "Show on every page except the listed pages",
  29. multiple paths will not work correct because of the way that Drupal core block visibility works.
  30. You'll be better off choosing the default option.
  31. Theming
  32. -------
  33. Every node in the block can be rendered as a teaser or page. An extra property is also added to
  34. the node object which you can use in your node template file to make theming even more easier:
  35. // node.tpl.php
  36. if (isset($node->nodesinblock)) {
  37. // Theming for node in block
  38. }
  39. else {
  40. // Normal theming
  41. }
  42. ?>
  43. Node Displays
  44. -------------
  45. If ND is enabled (http://drupal.org/project/nd), the buildmodes are presented in the render select box.
  46. Support:
  47. --------
  48. Please use the issue queue available at http://drupal.org/project/nodesinblock to
  49. file support and feature requests, bugs etc. Be as descriptive as you can.
  50. Last updated:
  51. ------------