Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 Today 09:46:08

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,535
Bitbucket GitHub

Theme asset size limit increase in Textpattern 4.9

Recent changes to the dev branch of Textpattern have increased the size limit of text assets in a front-side theme.

From Textpattern 4.9.0, the size limit for pages, forms and styles is 16MB. In Textpattern 4.8 it’s 64KB, so this represents a significant bump up in permitted size.

On the GitHub issue where it was figured out (see #2021 for background), there was some discussion around whether themes are best suited to being more reliant on pages with less use of forms, or the opposite where the focus is on forms with a very minimal page scaffold.

What do you do? Mostly pages or mostly forms? Is there a balance? Have you changed your approach over your time with Textpattern?

Offline

#2 Today 16:06:34

giz
Plugin Author
From: New Zealand
Registered: 2004-07-26
Posts: 395
Website GitHub Twitter

Re: Theme asset size limit increase in Textpattern 4.9

As soon as I find myself repeating/duplicating code (which happens regularly when using multiple pages), I separate it out into a form.

I find long pages of code difficult to deal with; its simpler to manage multiple tabs…

Offline

#3 Today 16:08:40

Dragondz
Moderator
From: Algérie
Registered: 2005-06-12
Posts: 1,550
Website GitHub Twitter

Re: Theme asset size limit increase in Textpattern 4.9

Hi cool thing

Right now i change the page and form field manually to increase it s size thrue phpmyadmin for every new install because i use mainly page for coding and in some case page/form are huge (2000 lines or more).

Cheers

Offline

Board footer

Powered by FluxBB