Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2009-04-27 03:59:28
- wchung
- Member
- Registered: 2009-04-23
- Posts: 29
Increasing size of custom fields and input forms
I am using one of the custom fields as for captions but it keeps getting cut off after about 500 characters.
Is there a way to increase the maximum size?
Also, is there a way to change the size of the input boxes for the custom fields?
Thanks!
Offline
Re: Increasing size of custom fields and input forms
wchung wrote:
getting cut off after about 500 characters
It should be 255
chars, as the db field is varchars with the default of 255, that is also the maximum of older MySQL installs for varchar type.
wchung wrote:
Is there a way to increase the maximum size?
By changing the limit to the database table called textpattern
. There you find fields named custom_#
, and by changing types of those, you can increase the limit.
For example, you could change those fields from varchar
to mediumtext
and remove the lenght
of 255.
Offline
#3 2009-04-27 20:21:20
- wchung
- Member
- Registered: 2009-04-23
- Posts: 29
Re: Increasing size of custom fields and input forms
Thanks, Gocom!
Do you know how I can change the size of the input form boxes so I can see what I am entering?
Offline