| Home » Categories » Multiple Categories |
Increasing the size of a custom field |
|
Article Number: 68 | Last Updated: Mon, Apr 9, 2012 at 1:42 AM
|
| By default each custom field in Sitelok can store up to 255 characters. This is fine for most cases but you can if required change the field type to MEDIUMTEXT so that up to 16777215 characters can be stored. To do this login to the Sitelok admin and in the SQL Query field enter the following SQL code
ALTER TABLE `sitelok` CHANGE `Custom3` `Custom3` MEDIUMTEXT
making sure you set the two occurrences of 3 above to the custom field you want to change. Click the Query button to execute it. After you have increased the size of the custom field you will see that a text area field is used in the Add User and Edit User pages of the Sitelok control panel allowing extra data to be entered.
To set a custom field back to the default 255 character limit use the following SQL.
ALTER TABLE `sitelok` CHANGE `Custom3` `Custom3` VARCHAR(255)
|
Attachments
There are no attachments for this article.
|
I can’t save or browse email templates
Added on Mon, Aug 1, 2011
How can I set the characters allowed in passwords
Added on Tue, Aug 23, 2011
How do I use Sitelok with Rapidweaver
Added on Mon, Aug 1, 2011
Create gift subscriptions with Sitelok
Added on Mon, Apr 9, 2012
Using Gmail in Sitelok
Added on Mon, Aug 29, 2011
Does Sitelok work with Paypal?
Added on Mon, Aug 1, 2011
Is there a forum I can use on my site that can share the login with Sitelok?
Added on Tue, Sep 6, 2011
How much does an extra license for Sitelok cost?
Added on Mon, Aug 1, 2011
Does Sitelok work with 2checkout (2CO)
Added on Mon, Apr 9, 2012
How can I create secure download links in Sitelok with Amazon S3?
Added on Mon, Aug 1, 2011
|

