You are here

README.txt in Collapsiblock 3.x

CONTENTS OF THIS FILE
---------------------

 * Introduction
 * Requirements
 * Installation
 * Configuration
 * Troubleshooting
 * Maintainers


INTRODUCTION
------------

The Collapsiblock module provides the functionality to make blocks collapsible.

This module is intended for site-builders who are new to Drupal with relatively
simple needs. We will try to accommodate feature requests and options but will
balance those with the need for a simple UI.

  * For a full description of the module visit:
    https://www.drupal.org/project/collapsiblock

  * To submit bug reports and feature suggestions, or to track changes visit:
    https://www.drupal.org/project/issues/collapsiblock


REQUIREMENTS
------------

This module requires no modules outside of Drupal core.


INSTALLATION
------------

  * Install the Collapsiblock module as you would normally install a contributed
    Drupal module. Visit https://www.drupal.org/node/1897420 for further
    information.


CONFIGURATION
-------------

  1. Navigate to Administration > Extend and enable the module.
  2. Navigate to Administration > Structure > Block Layout and place a block.
  3. Now when placing blocks there is an additional fieldset on the
     configuration page. Choose the "Block collapse behavior". Save block.
  4. If you want to set global settings for collapsiblock, navigate to
     Administration > Configuration > User Interface > Collapsiblock.

The global settings allow you to:
  1. Choose a default action for all blocks.
  2. Choose whether to save the last state of blocks in a cookie for each user.
  3. Choose whether active links are kept open (useful for menu blocks).


TROUBLESHOOTING
---------------

If your blocks are not behaving as expected, ensure that the template
for your block(s) uses the {{ title_prefix }} and {{ title_suffix }}
elements to wrap the portion of the block that should be used as the
non-collapsing, clickable portion of the block. The JS script will try to
collapse anything outside that wrapper that is in the block except for
contextual links which have their own behaviours.

MAINTAINERS
-----------

  * Max Pogonowski (Darvanen) - https://www.drupal.org/u/darvanen
  * Sonvir Choudhary (sonvir249) - https://www.drupal.org/u/sonvir249

Supporting organization:

  * QED42 - https://www.drupal.org/qed42

File

README.txt
View source
  1. CONTENTS OF THIS FILE
  2. ---------------------
  3. * Introduction
  4. * Requirements
  5. * Installation
  6. * Configuration
  7. * Troubleshooting
  8. * Maintainers
  9. INTRODUCTION
  10. ------------
  11. The Collapsiblock module provides the functionality to make blocks collapsible.
  12. This module is intended for site-builders who are new to Drupal with relatively
  13. simple needs. We will try to accommodate feature requests and options but will
  14. balance those with the need for a simple UI.
  15. * For a full description of the module visit:
  16. https://www.drupal.org/project/collapsiblock
  17. * To submit bug reports and feature suggestions, or to track changes visit:
  18. https://www.drupal.org/project/issues/collapsiblock
  19. REQUIREMENTS
  20. ------------
  21. This module requires no modules outside of Drupal core.
  22. INSTALLATION
  23. ------------
  24. * Install the Collapsiblock module as you would normally install a contributed
  25. Drupal module. Visit https://www.drupal.org/node/1897420 for further
  26. information.
  27. CONFIGURATION
  28. -------------
  29. 1. Navigate to Administration > Extend and enable the module.
  30. 2. Navigate to Administration > Structure > Block Layout and place a block.
  31. 3. Now when placing blocks there is an additional fieldset on the
  32. configuration page. Choose the "Block collapse behavior". Save block.
  33. 4. If you want to set global settings for collapsiblock, navigate to
  34. Administration > Configuration > User Interface > Collapsiblock.
  35. The global settings allow you to:
  36. 1. Choose a default action for all blocks.
  37. 2. Choose whether to save the last state of blocks in a cookie for each user.
  38. 3. Choose whether active links are kept open (useful for menu blocks).
  39. TROUBLESHOOTING
  40. ---------------
  41. If your blocks are not behaving as expected, ensure that the template
  42. for your block(s) uses the {{ title_prefix }} and {{ title_suffix }}
  43. elements to wrap the portion of the block that should be used as the
  44. non-collapsing, clickable portion of the block. The JS script will try to
  45. collapse anything outside that wrapper that is in the block except for
  46. contextual links which have their own behaviours.
  47. MAINTAINERS
  48. -----------
  49. * Max Pogonowski (Darvanen) - https://www.drupal.org/u/darvanen
  50. * Sonvir Choudhary (sonvir249) - https://www.drupal.org/u/sonvir249
  51. Supporting organization:
  52. * QED42 - https://www.drupal.org/qed42