I was trying to add an image with a map which contains several <area> tags. I got to a point where it won't let me save the changes made to the template. I did some more testing with dummy text content and it seems there is a limit on how much text you can insert in a template. Can someone confirm this? is it a bug? is it intended behavior?
Hmm a template is just a masterpage. It shouldn't have any kind of limit. Have you tried editing the template/masterpage in visual studio? I've never any problems there.
well I can edit it directly if I use the {umbraco install}/masterpages/template.file file, this issue comes when I try to edit it from the editor in umbraco. I guess I'll have to do it "manually" then.
In theory there should be. Umbraco saves a copy of a template file into the database. However the field for storing template text in the database has the "ntext" database type that allows storing up to almost 2G of data (i.e. about a billion characters). If you experience problems with saving large templates it's much more probably rooted in limits imposed by IIS request filter settings or ASP.NET limits to the request length (httpRuntime/maxRequestLength in the web.config).
Is there a text limit on templates?
I was trying to add an image with a map which contains several <area> tags. I got to a point where it won't let me save the changes made to the template. I did some more testing with dummy text content and it seems there is a limit on how much text you can insert in a template. Can someone confirm this? is it a bug? is it intended behavior?
Thanks, EC
Hmm a template is just a masterpage. It shouldn't have any kind of limit. Have you tried editing the template/masterpage in visual studio? I've never any problems there.
Jeroen
well I can edit it directly if I use the {umbraco install}/masterpages/template.file file, this issue comes when I try to edit it from the editor in umbraco. I guess I'll have to do it "manually" then.
Thanks, EC
In theory there should be. Umbraco saves a copy of a template file into the database. However the field for storing template text in the database has the "ntext" database type that allows storing up to almost 2G of data (i.e. about a billion characters). If you experience problems with saving large templates it's much more probably rooted in limits imposed by IIS request filter settings or ASP.NET limits to the request length (httpRuntime/maxRequestLength in the web.config).
is working on a reply...