Closed (fixed)
Project:
Content Templates (Contemplate)
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Feb 2010 at 15:49 UTC
Updated:
21 Jul 2010 at 03:44 UTC
Hi,
I have got a long template (800 lines), and I figured out that when I saved my template, either through the form (at admin/content/node-type/mynodetype/template) or directly in the database, the database shortened it to a specific length (number of lines ? of characters ?) and didn't save the end of my script!
I tried to use include() to shorten the script : it works, but the variables are not passing.
Do you know if there's a max length for the template ? And how to outpass it ?
Thank you
Max
Comments
Comment #1
jrglasgow commentedThe data is stored in a MySQL text field which has a limit of 65,535 bytes, if you need more space try a file based template or you can change the field type in your database to mediumtext or longtext