Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: txp 4.4.1, too much code on page, save blanks template
I now have had to put the menu li div items into a form, so the default page won’t go over 64kb.
I can see that if I keep mapping and use the free form menus from twinhelix.com, they won’t work in the future. Even if I use the MEDIUMTEXT variable.
Offline
Re: txp 4.4.1, too much code on page, save blanks template
I think I came up with a way to solve this… I can install textpattern in a sub-folder. Several. One for each large ship, or planet, I want to detail for my Traveller site.
Offline
Re: txp 4.4.1, too much code on page, save blanks template
Too many databases will not be good, Jim as it will make maintenance a nightmare. An alternative method should be found
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: txp 4.4.1, too much code on page, save blanks template
The problem will be thousands of entries, and the navigation menus I have looked at will be very large. I’m already at the php TEXT limit. I could install multiple menu systems on static pages… but that would also be a pain to implement.
Maybe a database for all ships. Another for all empires.
I think having a menu system I could display on only certain pages would work and not need multiple databases.
Offline
Re: txp 4.4.1, too much code on page, save blanks template
Hi Jim, Maybe you should rethink about having all entries in the menu as that would also be a problem with handheld devices such as iphones, samsung etc.
Category or section page(s) with linked titles might be more appropriate for such a large database.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: txp 4.4.1, too much code on page, save blanks template
I have tried to look at the weather channel’s web site on my smartphone… Won’t load it.
I’ll be checking my 10.1 inch asus tft300 android to see if it can load my sites.
I know that tablets and smartphones are replacing desktop computers in many people’s hearts. But I prefer desktops for most of what I do.
Times change, I used to own a Timex Sinclair ZX-81 with 1 kilobyte of memory. I don’t see my sites as being available to smart phones.
Offline
Re: txp 4.4.1, too much code on page, save blanks template
I can see what you are saying re sites on smart phones which is what I mentioned but tablets are ok platforms to replace the desktop for many users who just use the computer for text writing, browsing and email. I guess that those should not be excluded from any site’s audience.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: txp 4.4.1, too much code on page, save blanks template
The planet maps are 1200×900 pixels. The large starship deckplans are much larger.
I think a 10.1” tablet should see them okay. I have read that tablets and smart phones’ browsers shrink the picture.
Offline
Re: txp 4.4.1, too much code on page, save blanks template
uli wrote #276293:
The attempt is in the right direction, just use forms (Admin > Presentation > Forms), not files, and integrate their contents with output_form tags like
<txp:output_form form="your_js" />
into your page template.
Is there a limit on how many of these I can place into my site as forms ?
Thanks !
Offline
Re: txp 4.4.1, too much code on page, save blanks template
I’m not an expert at MySQL but as long as you stay under 64k per form, you should be OK to have as many forms as you want. Each form is a row in a database table, and as such you can just keep adding rows (forms).
I could, of course, be talking horsepoop – so someone please correct me if I am.
Offline
Re: txp 4.4.1, too much code on page, save blanks template
I don’t think it will be massive numbers of forms… maybe no more than 300 of them.
Offline
Re: txp 4.4.1, too much code on page, save blanks template
JimJoe wrote #281349:
I don’t think it will be massive numbers of forms… maybe no more than 300 of them.
Technically there isn’t a limit you’ll ever reach, but you have to keep in mind that it’ll show all the form names in a list on the forms tab. Managing 300 forms there may not be practical.
Offline