Adding more tabs in 5.x
Jboo - March 19, 2008 - 12:01
| Project: | Guitar |
| Version: | 5.x-1.x-dev |
| Component: | User interface |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | won't fix |
Jump to:
Description
Hi, I'm currently using 5.x and was wondering how I can allow for more tabs to be created on a content type? I can add the "multiple values" option but it only creates space for 4 tabs. Is there a way I can allow for more tabs to be added by the user when submitting the content type like the 6.x version allows?
Thanks for your help,
Justin.

#1
This limitation comes from limitations in the drupal 5 version of CCK and the form API which doesn't allow dynamically created fields, so it is unfortunately not possible to get the dynamic behavior of the drupal 6 version.
If you need to create more tabs in drupal 5, submit the form and edit your node and you will have more fields available.
#2
Thanks for the reply, that seems to work ok. However I noticed that doing it this way if any tabs are not used the node will display incomplete tab diagrams. For example if I use 4 tabs and then preview the page so I can get 4 more tabs, if I then only use 2 more the remaining 2 will still show tabs (just incomplete). Any ideas?
Thanks again, your help's appreciated.
#3
The issue with additional tabs getting rendered with a broken diagram was fixed in the drupal 6 version, and has been backported to the drupal 5 version around. Please update to the latest version to get this fixed.