Textarea entry size limit? 
Posted: 09 May 2008 02:34 PM   [ Ignore ]  
Summer Student
Total Posts:  1
Joined  02-16-2008

I’ve noticed some entries are being cut off when published.  The field type is textarea, pretty much with the default settings.  When I submit the entry the preview only shows about half of the text that was actually pasted into the box.  Copying and pasting the text out of preview (there is no markup) yields about 44k, whereas the complete text is 132k.

Unfortunately this is text that can not be broken up (results for a track and field meet) and must be complete.  Any ideas?

Profile
 
 
Posted: 09 May 2008 03:36 PM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  10898
Joined  04-29-2002

Welcome to the ExpressionEngine forums, NssfTrack.

You can use additional fields to store the content for this article. That would be one way of working around the problem. You’d pick a breaking point and string along all the pieces in a single view.

Assuming you are using the summary, body, and extended fields that come with the initial install:

{exp:weblog:entries ...}
{if summary}
{summary}
{
/if}
{body}
{if extended}
{extended}
{
/if}
{
/exp:weblog:entries}

Your other option is to manually edit the field type in the database from TEXT to MEDIUMTEXT or LONGTEXT.

Docs: Blob

NOTE: Making changes to your database tables is certainly doable, but you need to ensure you have a good backup before you change things.

I’ve successfully changed TEXT to MEDIUMTEXT with no issues.

Does that make sense?

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Most recent build notes - 20080808

Profile
MSG
 
 
Posted: 14 May 2008 03:51 PM   [ Ignore ]   [ # 2 ]  
Summer Student
Avatar
Total Posts:  8
Joined  02-06-2008

With fear and trembling, I changed the field from TEXT to MEDIUMTEXT and it seemed to work.

Profile
 
 
Posted: 14 May 2008 04:01 PM   [ Ignore ]   [ # 3 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  10898
Joined  04-29-2002

Fear and trembling is always good. smile Glad things are working for you.

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Most recent build notes - 20080808

Profile
MSG
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 10:33 AM
Total Registered Members: 60714 Total Logged-in Users: 23
Total Topics: 73170 Total Anonymous Users: 16
Total Replies: 394632 Total Guests: 485
Total Posts: 467802    
Members ( View Memberlist )