New to Squarespace CMS and I'm having a problem...

Ichinisan

Lifer
Oct 9, 2002
28,298
1,235
136
I'm trying to add a huge list to a particular page. If I paste to a text block, the CMS hangs my browser (Google Chrome) forever and doesn't allow me to save changes.

From our previous site, I already had an HTML file containing a table. Even with the TR/TD elements minified, the list alone is 1.3 MB.

I added a code block through the Squarespace CMS containing a table. The CMS chokes when I try to save changes by adding adding the large list. A misleading message says it saved changes successfully, but it actually does not save. Another (small) message in red says "Could not connect" or something. If I take just a couple hundred rows of data, it saves and displays fine...but I need to put the entire list.

This is the first time I've tried to make any significant change to this web site since a contractor redesigned it and switched to Squarespace. I'm not really familiar with the CMS. Is there a way to work around this limitation? Thanks!
 

KB

Diamond Member
Nov 8, 1999
5,406
389
126
Thats a big list. Its usually a bad idea to create a page that large (think about mobile users) and I bet the CMS doesn't like it and is timing out.
Can you spread the list between several different pages? For example alphabetically A- F, G - M, etc.
If not, you might try to put the list in an external html or xml with XSL stylesheet file and upload the file:

http://help.squarespace.com/customer/portal/articles/880774-uploading-and-managing-files

The optimal solution for a list that big would be to use javascript, ajax and fetch the members of the list from a database or files. I don't know how well squarespace supports that.
 

Ichinisan

Lifer
Oct 9, 2002
28,298
1,235
136
Thats a big list. Its usually a bad idea to create a page that large (think about mobile users) and I bet the CMS doesn't like it and is timing out.
Can you spread the list between several different pages? For example alphabetically A- F, G - M, etc.
If not, you might try to put the list in an external html or xml with XSL stylesheet file and upload the file:

http://help.squarespace.com/customer/portal/articles/880774-uploading-and-managing-files

The optimal solution for a list that big would be to use javascript, ajax and fetch the members of the list from a database or files. I don't know how well squarespace supports that.

It would be hard to split this list up. It's a list of rates for all calling areas in the worldwide. It's already split between International and Offshore. Users really need to be able to press Ctrl+F to find what they are looking for.

I'm not an advanced web developer. I only know basic HTML and a supplement that with Google. I'm not sure where to start with your suggestions.

Yeah, I know we really don't want a 1.3+ MB list in the page. There's a "Download" option that I want users to see first. That's why I hid the DIV containing the list until the user clicks "View." I know the full 1.3 MB gets downloaded and occupies memory. I already tried to make an iframe, but that doesn't seem to work with Squarespace (or I'm not doing it right).
 
Last edited: