You are here

README.txt in Panels Tabs 5

Same filename and directory in other branches
  1. 6 README.txt
  2. 7.2 README.txt
  3. 7 README.txt
Description
-----------
Configurable 'tabs' panel style. Provides 3 kinds of tabs:
- Normal tabs (horizontal filling disabled).
- Horizontally filling, equal width tabs: sets the width property, forcing
  each tab to be equally wide. If the text doesn't fit in the tab, the
  overflow will be hidden.
- Horizontally filling, smart width tabs: calculates the length of the text in
  each tab and compares this to the total length of the text on all tabs. It
  then sets the width property of each tab according to the percentage of text
  the tab contains.
  
Pager links inside panels (e.g. views with pagers) will automatically be
updated to ensure that the same tab is opened when the page is loaded.


Dependencies
------------
* Panels 2 (http://drupal.org/project/panels)
  (a 5.x-2.x-dev tarball of July 6 or later, or alternatively: beta 5 with
  this patch applied: http://drupal.org/node/278861)
* Tabs (part of Javascript Tools, http://drupal.org/project/jstools)


Installation
------------
1) Place this module directory in your modules folder (this will usually be
"sites/all/modules/").

2) Enable the module.

3) Go to the "Layout settings" tab of the Panels page, Mini panel, ... on
which you want to apply this style. To ensure the 'tabs' panel style works
correctly, only use a one column layout.


Troubleshooting
---------------
This module does not have any CSS of itself. CSS is provided by the Tabs
module. The Tabs module itself only *overrides* the tabs style defined by the
theme. This means that you need a theme that already supports tabs, or you
won't see any tabs at all! E.g. Garland has tabs.
See http://drupal.org/node/258177.


Sponsors
--------
* Initial development:
   Paul Ektov of http://autobin.ru.


Author
------
Wim Leers

* mail: work@wimleers.com
* website: http://wimleers.com/work

The author can be contacted for paid customizations of this module as well as
Drupal consulting, development and installation.

File

README.txt
View source
  1. Description
  2. -----------
  3. Configurable 'tabs' panel style. Provides 3 kinds of tabs:
  4. - Normal tabs (horizontal filling disabled).
  5. - Horizontally filling, equal width tabs: sets the width property, forcing
  6. each tab to be equally wide. If the text doesn't fit in the tab, the
  7. overflow will be hidden.
  8. - Horizontally filling, smart width tabs: calculates the length of the text in
  9. each tab and compares this to the total length of the text on all tabs. It
  10. then sets the width property of each tab according to the percentage of text
  11. the tab contains.
  12. Pager links inside panels (e.g. views with pagers) will automatically be
  13. updated to ensure that the same tab is opened when the page is loaded.
  14. Dependencies
  15. ------------
  16. * Panels 2 (http://drupal.org/project/panels)
  17. (a 5.x-2.x-dev tarball of July 6 or later, or alternatively: beta 5 with
  18. this patch applied: http://drupal.org/node/278861)
  19. * Tabs (part of Javascript Tools, http://drupal.org/project/jstools)
  20. Installation
  21. ------------
  22. 1) Place this module directory in your modules folder (this will usually be
  23. "sites/all/modules/").
  24. 2) Enable the module.
  25. 3) Go to the "Layout settings" tab of the Panels page, Mini panel, ... on
  26. which you want to apply this style. To ensure the 'tabs' panel style works
  27. correctly, only use a one column layout.
  28. Troubleshooting
  29. ---------------
  30. This module does not have any CSS of itself. CSS is provided by the Tabs
  31. module. The Tabs module itself only *overrides* the tabs style defined by the
  32. theme. This means that you need a theme that already supports tabs, or you
  33. won't see any tabs at all! E.g. Garland has tabs.
  34. See http://drupal.org/node/258177.
  35. Sponsors
  36. --------
  37. * Initial development:
  38. Paul Ektov of http://autobin.ru.
  39. Author
  40. ------
  41. Wim Leers
  42. * mail: work@wimleers.com
  43. * website: http://wimleers.com/work
  44. The author can be contacted for paid customizations of this module as well as
  45. Drupal consulting, development and installation.