Active
Project:
Node Table
Version:
6.x-1.0-alpha1
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Feb 2011 at 18:27 UTC
Updated:
1 Mar 2011 at 20:45 UTC
I imported a table which has notes in one column. These notes are quite long and they import correctly. However when I attempted to edit one of the rows it insisted that the cell could not be longer than 256 (?) bytes. That obviously is not the case. It would be great if this "limit" could be removed so that I can edit the column without having to re-import the table.
The table is at http://www.climateactionnow.ca/energy-efficiency-tips-0
(p.s. I love this module!)
Comments
Comment #1
Patricia_W commented#maxlength has been set to 256 in nodetable.module which overrides the default of 128. I set it to 64K and that works but it may not work with earlier versions of MySQL etc.
This is the code I changed:
$form['data'] = array(
'#type' => 'textfield',
'#default_value' => $cell->data,
'#size' => 80,
'#maxlength' => 65535, // the previous limit was 256
'#parents' => array('cell', $delta, 'data'),
);