You are here

README.txt in Views Accordion 6

Same filename and directory in other branches
  1. 8 README.txt
  2. 7 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 accordion. It supports grouping of fields and ajax pagination.


/* INSTALATION */

1. Place the views_accordion module in your modules directory (usually under /sites/all/modules/).
2. Go to /admin/build/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
  * The header field can not be set to inline.
  * If you use a separator for inline fields, be sure to wrap it in a html tag, for example: <span>|<span>.
  * Provide at least two fields to show.

Choose Views Accordion in the Style dialog within your view, which will prompt you to configure:
  * Transition time: How fast you want the opening and closing of the sections to last for, in seconds.
    Default is half a second.
  * Start with the first row opened: Whether or not the first row of the view should start opened when the view is first shown.
    Uncheck this if you would like the accordion to start closed.
  * Use the module's default styling: If you disable this, the CSS file in the module's directory (views-accordion.css) will not be loaded.
    You can uncheck this if you plan on doing your own CSS styling.  

*        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 */

This module comes with a default style, which you can disable in the options (see above). Files included:
  * views-acordion.css - A default stylesheet with how the classes the author thought would be best used.
  * 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 accordion. It supports grouping of fields and ajax pagination.
  4. /* INSTALATION */
  5. 1. Place the views_accordion module in your modules directory (usually under /sites/all/modules/).
  6. 2. Go to /admin/build/modules, and activate the module (you will find it under the Views section).
  7. /* USING VIEWS ACCORDION MODULE */
  8. Your view must meet the following requirements:
  9. * Row style must be set to Fields
  10. * The header field can not be set to inline.
  11. * If you use a separator for inline fields, be sure to wrap it in a html tag, for example: |.
  12. * Provide at least two fields to show.
  13. Choose Views Accordion in the Style dialog within your view, which will prompt you to configure:
  14. * Transition time: How fast you want the opening and closing of the sections to last for, in seconds.
  15. Default is half a second.
  16. * Start with the first row opened: Whether or not the first row of the view should start opened when the view is first shown.
  17. Uncheck this if you would like the accordion to start closed.
  18. * Use the module's default styling: If you disable this, the CSS file in the module's directory (views-accordion.css) will not be loaded.
  19. You can uncheck this if you plan on doing your own CSS styling.
  20. * IMPORTANT *
  21. The first field WILL be used as the header for each accordion section, all others will be displayed
  22. when the header is clicked. The module creates an accordion section per row of results from the view.
  23. If the first field includes a link, this link will not function, (the js returns false) Nothing will break though.
  24. **************************
  25. /* THEMING INFORMATION */
  26. This module comes with a default style, which you can disable in the options (see above). Files included:
  27. * views-acordion.css - A default stylesheet with how the classes the author thought would be best used.
  28. * views-view-accordion.tpl.php - copy/paste into your theme directory - please the comments in this file for requirements/instructions.
  29. Both files are commented to explain how things work. Do read them to speed things up.
  30. /* ABOUT THE AUTHOR */
  31. Views Accordion was created by Manuel Garcia
  32. http://drupal.org/user/213194