D6 version?
caramelson - September 29, 2008 - 03:54
| Project: | Form Table |
| Version: | 5.x-1.0 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | usonian |
| Status: | needs review |
Description
I'm sure it's really easy as this module is GREAT and is mostly CSS, but could you make a D6 version?
If not, I can volunteer to make one.

#1
It would be a good exercise for me - I will try and get to it this week, but if you can't wait I'd certainly accept code for a D6 version.
#2
Hi!
I need this module in drupal 6.x.
If you make that in drupal 6.x version please send me a download url.
Thanks.
Krampi
#3
I've gotten a D6 version working. What's the best way for me to get the code to you? I can put together patch files or just send you the edited .info and .module files.
For the moment, I've posted the revised version on my site: http://datasmith.net/node/17
Great module, by the way. Thanks for putting it together.
#4
Thanks for taking the initiative Barrett, I will try and take a look sometime soon.
#5
Works great. Thanks!!!
#6
anything we can do to get this committed?
#7
Thanks for the bump KingMoore, I will try and look at this soon.
#8
Excellent. In the meantime I have tested the D6 version and it is working for me. Just a couple of thoughts:
- would it make sense to have the module automatically set the appropriate elements to tree=>true so we retain the hierarchy in $form_values?
- would it make sense to have the module automatically add
'#prefix' => '<td>','#suffix' => '</td>'
to row child elements, making the integration a bit more seemless?
just a couple of thoughts, they could very well be the wrong thoughts :)
#9
hey @KingMoore :)
good thoughts IMO. That would be very useful.
#10
Hey,
I have tried to use this module (6x branch) but my code doesen't seem to be working. I am using this code as an implementation of hook_form_alter(), and I have used the code from the readme.txt. My code is here:
$form['formtable'] = array(
'#type' => 'formtable',
'#title' =>('Formtable'),
);
$form['formtable']['row1'] = array(
'#type' => 'formrow',
);
$form['formtable']['row1']['taxonomy']['tags']['35'] = array(
'#prefix' => '<td>',
'#suffix' => '</td>',
);
$form['formtable']['row1']['taxonomy']['tags']['30'] = array(
'#prefix' => '<td>',
'#suffix' => '</td>',
);
Is there something wrong with the way I have set this up? I'm very much looking to try to put form items in tables.
If you could please help me figure out what I am doing wrong it would be very helpful!!!!
Thanks!
#11
Is this module still maintained?
I rolled a quick patch against version 5.x-1.0 to update the module for D6. I did a bit of cleanup as well as 'form_table_element' was wrongly used as the module's namespace in some places. I also changed the package to 'Other' in the info file as this module in my mind doesn't qualify as a development tool.
If you need help to commit this patch and create a 6.x-1.0 branch I'm happy for you to add me as a co-maintainer.