Closed (outdated)
Project:
Wordfilter
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Oct 2011 at 22:34 UTC
Updated:
28 Nov 2016 at 10:44 UTC
Jump to comment: Most recent
Comments
Comment #1
justingeeslin commentedAs a note, to enable this.
One needs to alter the {wordfilter} table. The replacement field needs to be altered. I changed the replacement column from a varchar(255) to mediumtext.
varchar can hold a maximum of 255 characters. mediumtext can hold a maximum of 16777215 characters (according to some reading).
Then, one has to allow the add and edit word forms to allow more than 255 characters.
On lines 475 & 535, I changed
'#maxlength' => 255,
to
'#maxlength' => 16777215,
This would probably be better served up as a patch, but everything seems to work now.
Comment #2
mxh commentedDrupal 6 support ended on February 24th 2016. https://www.drupal.org/drupal-6-eol