Home ›
Not seeing CCK fieldsets when you form_alter your form?Not seeing CCK fieldsets when you form_alter your form?
Searched words:
fieldgroup module in CCK
$form no longer has fieldsets
best approach to putting the taxonomy selectors on an edit form into a collapsible group
Using cck to place them into a fieldset
In #drupal channel on IRC, mikey_p reminds that the CCK fieldgroup module has a weight of 9, so your module implementing hook_form_alter has to have a heavier weight (higher number) if you want to see that.
Resolution
More like this
- A fatal error without any of your code in the backtrace: check your form_alter
- Add action form print_r dump - for easy reference for form_alter and form theming
- Never forget: hook_form_FORM_ID_alter
- Placing your changes to a form using hook form_alter
- Form altering certain CCK widget properties is tricky: adding and changing the size of an autocomplete textfield
Comments
Documentation powering up
I took this knowledge from IRC and put it on the web where Andy was able to find it and make a proper post about it. Now someone just needs to bring this around and document it in a proper place on Drupal.org...
Post new comment