I'm trying to get the fieldgroup_table module to work with Drupal-5.2 and CCK-1.6 but I'm not having any luck.
From my limited PHP skills it looks like the '#children' values aren't getting defined when fieldgroup_table.module builds the rows for the table.
Here's what I see in the output:
<table>
<thead><tr><th>Date</th><th>Billable hours</th><th>Description</th> </tr></thead>
<tbody>
<tr class="odd"><td 0="field_date" 1="0"></td><td 0="field_billable_hours" 1="0"></td><td 0="field_description" 1="0"></td> </tr>
</tbody></table>
Any suggestions? I'm so close and yet so far...
Comments
Comment #1
Anonymous (not verified) commentedHello? Is this thing on? Anyone home?
Comment #2
chaloalvarezj commentedHI! I also tried to use this modele, but since didn't work decided to make my own based on the original code.... Guess what? The code is ok... CCK's fieldgroup module is the problem (!?) This module is loaded with weight 9 into the "System" table.. so that the fieldgroup _form_alter runs after fieldgroup_table_form_alter, thus overriding it!
To fix the problem, change the database: in the System table, set the weight for fieldgroup_table to 9 or higher...
Is it possible to set this in the module's .info file? ex.: weight=9
Comment #3
danielb commentedIt must be done like so in the .install file
Comment #4
danielb commented