Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I've installed Table manager on two Drupal 6 sites and, once a table is created, I don't have the option of ADDing a column. Is this not in the build yet? Apologies if this was covered elsewhere but I wasn't able to find.
Comment | File | Size | Author |
---|---|---|---|
#10 | tablemanager.zip | 5.94 KB | pfismvg |
#10 | tablemanager_rc2.patch | 13.36 KB | pfismvg |
#9 | tablemanager.zip | 5.25 KB | pfismvg |
#9 | patch3.patch | 12.71 KB | pfismvg |
#5 | patch_rc1.txt | 9.53 KB | pfismvg |
Comments
Comment #1
pfismvg CreditAttribution: pfismvg commentedIn general dev version means unfinished. So expect other things not to work as well.
I am working on some updates in the admin interface, allready including this feature.
It is working on my site allready, i just need to do some more testing and cleanup, after that i will post a patch here.
Comment #2
sjz CreditAttribution: sjz commentedYes - and thanks... I understood the expectation with a "dev" version to be just that ... I just couldn't tell what was / was not ready from the notes.
Thank you for the swift response.
Comment #3
pfismvg CreditAttribution: pfismvg commentedOK here is the patch
and for those who dislike using patch a zip file with the updated tables.inc, put this in the include folder
this patch adds the following features in /admin/content/tablemanager/table_edit
* turn sorting off
* add a column/field (existing data will not be changed, so you will need to edit all rows manually to fix... todo: insert blank data)
* reorder fields (again existing data is not modified.... what was in column 1 will stay in column 1 etc... todo: walk trough data and swap)
* enabled changing field type. (probably turned off because your data is not validated, but not being able to change is not really wat most people want)
please test and report bugs back here
Comment #4
pfismvg CreditAttribution: pfismvg commentedAnother path with all of the above and:
* add a column/field now inserts blank data in your new column
* reordering columns will reorder data too
* deleting a column will delete the actual data in the column
* pressing add or delete no longer resets the weight values
todo:
* "sort order" and "Default sorting" reset their values when you press add or delete
Comment #5
pfismvg CreditAttribution: pfismvg commentedOk done :)
the admin interface now is complete, so i am calling this a releace candidate ;)
* turn sorting off
* add a column/field (existing data will be padded with blank data)
* delete a column wil now also delete data in that column
* reorder fields (existing data will be reorded too)
* enabled changing field type. (probably turned off because your data is not validated, but not being able to change is not really wat most people want)
* pressing add or delete no longer resets the weight, "sort order" and "Default sorting" values
I tested it and it looks pretty stable, lets give it a week before i try to get pobsters attention to merge it.
Please test and provide feedback if this works (or not) and/or if I am missing features that should be there.
Comment #6
pfismvg CreditAttribution: pfismvg commentedComment #7
sjz CreditAttribution: sjz commentedI've tested the admin updates but noticed a few things:
Once a field is defined, I cannot edit the table and modify validation inputs for things like
Otherwise - Great progress!
Comment #8
pfismvg CreditAttribution: pfismvg commentedOops... i have never even seen these extra options
I think they will even be lost on table edit, as they are not processed in the form at all.
I will think about how to put this in the form
Comment #9
pfismvg CreditAttribution: pfismvg commentedquick update so you can edit:
Numeric minima and maxima dont exist in the code. as far as i can see there are no extra options on a numeric field in this version
I am not sure if this is the most optimal layout, but i put the code online anyway so you can repair your tables if needed.
If anyone has better ideas how this should look / be organized, i am open to your input ;)
Comment #10
pfismvg CreditAttribution: pfismvg commentedAnother release candidate. (lets hope its right this time)
I tweaked CSS a bit so that it does not look awfull in IE8
* turn sorting off
* added bar chart options
* added selection box choices
* add a column/field (existing data will be padded with blank data)
* delete a column wil now also delete data in that column
* reorder fields (existing data will be reorded too)
* enabled changing field type. (probably turned off because your data is not validated, but not being able to change is not really wat most people want)
* pressing add or delete no longer resets the weight, "sort order" and "Default sorting" values
again... lets give it a week before i try to get pobsters attention to merge it.
Please test and provide feedback if this works (or not) and/or if I am missing features that should be there.
Comment #11
sjz CreditAttribution: sjz commentedI've not had much time to test it but on a preliminary test it looks pretty good! I'll do more testing later.
Thank you!
Comment #12
pfismvg CreditAttribution: pfismvg commentedOK..
Used it for a while now and i dont see any problems.
Pobster can you please merge the patch in #10 to 6.x-1.x-dev?
Comment #13
pobster CreditAttribution: pobster as a volunteer and at ArcadeGeek LTD for Rackspace commentedClosing as D6.x is now unsupported.