Posted by JHeffner on February 6, 2007 at 3:33pm
| Project: | Tables Filter Module |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
This is my first attempt to submit a patch. I'd welcome comments.
| Attachment | Size |
|---|---|
| tables5.patch | 3.94 KB |
Comments
#1
search for
search for
and add
after it
#2
opps...
in the tables.module file...
search for
<tableand add</p>before the two of them.search for
</table>and add<p>after it#3
Please don't change the issue title - it makes threads like this harder to find.
I'm just about to test this filter out in Drupal 5, and will try the patch. Many thanks, will report back soon.
#4
First up, the .info file. Had to attach it with a .txt extension, sorry. Updated patch on the way.
#5
JHeffner's patch worked a treat in the most part - muchas gracias! Just two differences in mine (aside from some formatting):
The only other quibble I have with this module is why the settings are on an admin page, rather than the usual input format configuration, but I guess thats another issue.
I have this patch and info file running on two dev sites, and it seems to be fine. Please review!
#6
i applied the patch to the tables HEAD CVS, but it did not appear on the modules admin list. is this supposed to happen? if so, how do i activate it?
#7
You'll need to add a file called tables.info in the /modules/tables/ folder - see comment #4.
#8
Thanks.. I just grabbed your changes and it appears to be working fine.
#9
I am using this patch on Drupal 5.2, too - thanks a lot! It seems to work perfectly.
Any plans on making it available within a 5.x-branch? I guess some people have difficulties in patching it together. There is also no real alternative to this module (tried tablemanager, but too complex and different goal).
Cheers,
Stephan
#10
This appears to be working on Drupal 5.3. The only change I had to make was that with Drupal 4.6 (where I started), the input filters did not have to be rearranged (I have bbcode embedded within a table). With Drupal 5.3, the tables filter has to have a higher weight (i.e. heavier) than the bbcode filter. Once I figured that out, my complex table displays properly.
I started with the tables-4.7.x-1.x-dev.tar.gz release and applied the patch from comment #5 to it.
Thanks to Paul and Jason for their efforts!
#11
working on 5.7 / subscribe
Also is anyone able to add table, not to be confused with cell, alignment?
Edit:
Added Issue for table alignment: http://drupal.org/node/228218
#12
#13
dev release now downloadable, I will push a stable release if I get no feedback to indicate otherwise in a week or two
#14
Automatically closed -- issue fixed for 2 weeks with no activity.