SimplePortal

Development => Bugs => Fixed or Bogus Bugs => Topic started by: kilohare on November 12, 2010, 02:39:34 PM

Title: Length of HTML code in custom pages
Post by: kilohare on November 12, 2010, 02:39:34 PM
Hi!
SP 2.3.3
Maximum custom page HTML code size is 65535 bytes? It is not enough, if i place books in custom pages.
I think, good idea is change type of "body" fileld to "mediumtext" instead of "text" in smf_sp_pages table.
Thank You.
Title: Re: Length of HTML code in custom pages
Post by: Nathaniel on November 12, 2010, 05:32:36 PM
Moving to the Bogus bugs board, for the majority of purposes, 64kB is plenty of space for a custom page. If you're loading that much data for a single page load, then you're doing something wrong, it would be better to use a custom PHP block and store different sections of the page separately (ie. store each chapter in a separate file) with an index so that the user can view a chapter at a time, instead of the entire file at once.

If you don't want to do that, you can always manually change the type of that field in your database.

Moved to the Bogus bugs board.
SimplePortal 2.3.8 © 2008-2024, SimplePortal