Template character or line limitation - some code deleted
Posted: Sun Jun 05, 2016 2:56 pm
I have run into an issue for the first time. I am converting a purchased theme Canvas for use with CMSMS. I have done many of these but have run into a problem for the first time.
I seem to not able to convert the initial template page into a CMS template page. The raw page has 1734 lines of code. When this page is pasted into the new CMS template page with the appropriate {content} tags only 1282 lines of code appear after saving the new template. This of course breaks the page completely.
I know the CSS files have limitations and always break down these massive CSS files to 1000-1200 lines and then attach to the template file without any problem. Though it did take a long time to find that there was a limit to the size of a CSS file in CMS Made Simple.
It appears now that there is also a line/code character limit for a CMS template page. I can't find this information anywhere and would appreciate any feedback assistance before spending hours on trial and error trying to use Global Content Blocks in an effort to circumvent this issue.
This is for a 1.12.2 platform. I am most comfortable with this platform at this time. I am just starting to convert hundreds of sites to the new 2.x platform and don't want to get confused with trying to do this on the new platform. To many possible issues due to my lack of knowledge and practice with the new 2.x platform.
I seem to not able to convert the initial template page into a CMS template page. The raw page has 1734 lines of code. When this page is pasted into the new CMS template page with the appropriate {content} tags only 1282 lines of code appear after saving the new template. This of course breaks the page completely.
I know the CSS files have limitations and always break down these massive CSS files to 1000-1200 lines and then attach to the template file without any problem. Though it did take a long time to find that there was a limit to the size of a CSS file in CMS Made Simple.
It appears now that there is also a line/code character limit for a CMS template page. I can't find this information anywhere and would appreciate any feedback assistance before spending hours on trial and error trying to use Global Content Blocks in an effort to circumvent this issue.
This is for a 1.12.2 platform. I am most comfortable with this platform at this time. I am just starting to convert hundreds of sites to the new 2.x platform and don't want to get confused with trying to do this on the new platform. To many possible issues due to my lack of knowledge and practice with the new 2.x platform.