You are here

README.txt in Fieldset helper 7.2

Same filename and directory in other branches
  1. 6.2 README.txt
  2. 6 README.txt
======================================================================

CONTENTS
--------

 * Overview
 * Features
 * Requirements
 * Installation
 * Hooks
 * Usage
 * More Information


OVERVIEW
--------

The 'Fieldset helper' module saves the state of a collapsible fieldset
in a browser cookie. Being able to save the state of a collapsible fieldset
improves the usability of a website's forms and documents because users
are able to better customize what information is being presented to them.

For site administrator on the 'Modules' page, this module will save the
state of all the collasible fieldsets and add 'expand all' and 'collapse all'
links to the top page. These two tweaks make it easier for administrators to
enable and disable their modules.


FEATURES
--------

- Save the fieldset states on node add (node/add/*) and node edit (node/*/edit) as one page (node/form).
- Default fieldsets to be collapsible on specified or all pages.
- Default fieldsets to be collapsed on specified or all pages.
- Add 'Expand all | Collapse all' links on specified or all pages.
- Set the minimum number of collapsible fieldsets required to show 'Expand all | Collapse all' links.
- Allows specified collapsible fieldset's state to be saved across multiple pages by page or element id.
- Set the fieldset_helper_state_manager cookie duration.



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

1. Copy/upload the fieldset_helper.module to the sites/all/modules directory
   of your Drupal installation.

2. Enable the fieldset_helper.module in Drupal (Modules).

3. Set the 'save fieldset state' user permissions for the 'Fieldset helper' module. (People > Permissions)


HOOKS
-----

 - HOOK_fieldset_alter(&$element);
 - HOOK_fieldset_helper_path_alter(&$path);
 - HOOK_fieldset_helper_element_path_alter($element_id, &$path);

USAGE:
------

  The below code snippet can used to add a 'hand-coded' collapsible fieldset to a node or a block.

  The code snippet is based on 'Adding a collapsible fieldset to your nodes'
  (http://drupal.org/node/118343).

  Notes:

    - Make sure your input filter does not use the 'Line break converter'.
      This will break your fieldset's formatting.

    - Required javascript file will be dynamically added if the any region on
      the page has a collapsible fieldset.

  Code Snippet:

    <fieldset id="static-xhtml-fieldset-example" class="collapsible form-wrapper">
      <legend><span class="fieldset-legend">Static XHTML collapsible fieldset example.</span></legend>
      <div class="fieldset-wrapper">This is an example of a static XHTML fieldset that is collapsible.</div>
    </fieldset>

    <fieldset id="static-xhtml-fieldset-example-collapsed" class="collapsible collapsed form-wrapper">
      <legend><span class="fieldset-legend">Static XHTML collapsed fieldset example</span></legend>
      <div class="fieldset-wrapper">This is an example of a static XHTML fieldset that is collapsed.</div>
    </fieldset>


MORE INFORMATION
----------------

 - Homepage
   http://thebigbluehouse.com

 - Download
   http://drupal.org/project/fieldset_helper


 - Changelog:
   http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/fieldset_helper/CHANGELOG.txt?view=markup&pathrev=DRUPAL-7--2

 - CVS tree:
   http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/fieldset_helper/?pathrev=DRUPAL-7--2

 - Demo site:
   http://drupal.bigbluedrop.com/admin/settings/fieldset_helper/test


AUTHOR/MAINTAINER
-----------------

 - Jacob Rockowitz
   http://drupal.org/user/371407

File

README.txt
View source
  1. ======================================================================
  2. CONTENTS
  3. --------
  4. * Overview
  5. * Features
  6. * Requirements
  7. * Installation
  8. * Hooks
  9. * Usage
  10. * More Information
  11. OVERVIEW
  12. --------
  13. The 'Fieldset helper' module saves the state of a collapsible fieldset
  14. in a browser cookie. Being able to save the state of a collapsible fieldset
  15. improves the usability of a website's forms and documents because users
  16. are able to better customize what information is being presented to them.
  17. For site administrator on the 'Modules' page, this module will save the
  18. state of all the collasible fieldsets and add 'expand all' and 'collapse all'
  19. links to the top page. These two tweaks make it easier for administrators to
  20. enable and disable their modules.
  21. FEATURES
  22. --------
  23. - Save the fieldset states on node add (node/add/*) and node edit (node/*/edit) as one page (node/form).
  24. - Default fieldsets to be collapsible on specified or all pages.
  25. - Default fieldsets to be collapsed on specified or all pages.
  26. - Add 'Expand all | Collapse all' links on specified or all pages.
  27. - Set the minimum number of collapsible fieldsets required to show 'Expand all | Collapse all' links.
  28. - Allows specified collapsible fieldset's state to be saved across multiple pages by page or element id.
  29. - Set the fieldset_helper_state_manager cookie duration.
  30. INSTALLATION
  31. ------------
  32. 1. Copy/upload the fieldset_helper.module to the sites/all/modules directory
  33. of your Drupal installation.
  34. 2. Enable the fieldset_helper.module in Drupal (Modules).
  35. 3. Set the 'save fieldset state' user permissions for the 'Fieldset helper' module. (People > Permissions)
  36. HOOKS
  37. -----
  38. - HOOK_fieldset_alter(&$element);
  39. - HOOK_fieldset_helper_path_alter(&$path);
  40. - HOOK_fieldset_helper_element_path_alter($element_id, &$path);
  41. USAGE:
  42. ------
  43. The below code snippet can used to add a 'hand-coded' collapsible fieldset to a node or a block.
  44. The code snippet is based on 'Adding a collapsible fieldset to your nodes'
  45. (http://drupal.org/node/118343).
  46. Notes:
  47. - Make sure your input filter does not use the 'Line break converter'.
  48. This will break your fieldset's formatting.
  49. - Required javascript file will be dynamically added if the any region on
  50. the page has a collapsible fieldset.
  51. Code Snippet:
  52. Static XHTML collapsible fieldset example.
  53. This is an example of a static XHTML fieldset that is collapsible.
  54. Static XHTML collapsed fieldset example
  55. This is an example of a static XHTML fieldset that is collapsed.
  56. MORE INFORMATION
  57. ----------------
  58. - Homepage
  59. http://thebigbluehouse.com
  60. - Download
  61. http://drupal.org/project/fieldset_helper
  62. - Changelog:
  63. http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/fieldset_helper/CHANGELOG.txt?view=markup&pathrev=DRUPAL-7--2
  64. - CVS tree:
  65. http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/fieldset_helper/?pathrev=DRUPAL-7--2
  66. - Demo site:
  67. http://drupal.bigbluedrop.com/admin/settings/fieldset_helper/test
  68. AUTHOR/MAINTAINER
  69. -----------------
  70. - Jacob Rockowitz
  71. http://drupal.org/user/371407