You are here

README.txt in Views Accordion 7

Same filename and directory in other branches
  1. 8 README.txt
  2. 6 README.txt
  3. 2.0.x README.txt
/* DESCRIPTION */

Views Accordion provides a display style plugin for the Views module.
It will take the results and display them as a jQuery UI accordion. It supports
grouping of fields and ajax pagination.


/* INSTALLATION */

1. Place the views_accordion module in your modules directory (usually under
   /sites/all/modules/).
2. Go to /admin/modules, and activate the module (you will find it under the
   Views section).


/* USING VIEWS ACCORDION MODULE */

Your view must meet the following requirements:
  * Row style must be set to Fields
  * Provide at least two fields to show.

Choose Views Accordion in the Style dialog within your view, which will prompt
you to configure the accordion.

*        IMPORTANT       *
The first field WILL be used as the header for each accordion section, all
others will be displayed when the header is clicked. The module creates an
accordion section per row of results from the view. If the first field includes
a link, this link will not function, (the js returns false) Nothing will break
though.
**************************


/* THEMING INFORMATION */

Files included:
  * views-accordion.css - Just some styles to fix default styling problems in
    bartik.
  * views-view-accordion.tpl.php - copy/paste into your theme directory -
    please the comments in this file for requirements/instructions.

Both files are commented to explain how things work. Do read them to speed
things up.


/* ABOUT THE AUTHOR */

Views Accordion was created by Manuel Garcia
http://drupal.org/user/213194

File

README.txt
View source
  1. /* DESCRIPTION */
  2. Views Accordion provides a display style plugin for the Views module.
  3. It will take the results and display them as a jQuery UI accordion. It supports
  4. grouping of fields and ajax pagination.
  5. /* INSTALLATION */
  6. 1. Place the views_accordion module in your modules directory (usually under
  7. /sites/all/modules/).
  8. 2. Go to /admin/modules, and activate the module (you will find it under the
  9. Views section).
  10. /* USING VIEWS ACCORDION MODULE */
  11. Your view must meet the following requirements:
  12. * Row style must be set to Fields
  13. * Provide at least two fields to show.
  14. Choose Views Accordion in the Style dialog within your view, which will prompt
  15. you to configure the accordion.
  16. * IMPORTANT *
  17. The first field WILL be used as the header for each accordion section, all
  18. others will be displayed when the header is clicked. The module creates an
  19. accordion section per row of results from the view. If the first field includes
  20. a link, this link will not function, (the js returns false) Nothing will break
  21. though.
  22. **************************
  23. /* THEMING INFORMATION */
  24. Files included:
  25. * views-accordion.css - Just some styles to fix default styling problems in
  26. bartik.
  27. * views-view-accordion.tpl.php - copy/paste into your theme directory -
  28. please the comments in this file for requirements/instructions.
  29. Both files are commented to explain how things work. Do read them to speed
  30. things up.
  31. /* ABOUT THE AUTHOR */
  32. Views Accordion was created by Manuel Garcia
  33. http://drupal.org/user/213194