Empty tabs when fields filtered by Content Profile
| Project: | Vertical Tabs |
| Version: | 6.x-1.0-beta4 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed (maintainer needs more info) |
Jump to:
I'm not sure, but I think this should be a VT issue rather than a content profile issue.
Content Profile provides the option to choose which fields show on the user registration form. If you eliminate all fields from a fieldgroup, Content Profile gets rid of the fieldset, but the tab still shows, completely empty, because Vertical Tabs still has it in the javascript it adds to the page.
In other words, I still have
jQuery.extend(.... "verticalTabs": { "group_required": { "name": "Required", "weight": 4.39, "callback": "group_required", "args": [ ] }, "group_user_media": { "name": "Add Photos and Video", "weight": 9.42, "callback": "group_user_media", "args": [ ] } } });
Even though all the fields in the group_user_media group are filtered out.
I'm not sure where the checks for that should be done, but the Content Profile module with the Fieldgroup Tabs module as expected. See this issue for CP
http://drupal.org/node/451590

#1
Please test and re-confirm using the latest code, 6.x-1.0-beta6.