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

jrglasgow’s picture

Status: Active » Closed (fixed)

The 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