Is there any built-in size limit in the Raw Block?

Hello UNA Team,

I have been trying to create a custom page with many sections in a single raw block.

My page content (both code and text) is about 1300 lines. When I copy it to the raw block and save, only aroud 400-500 lines are being saved. The remaining ones are ignored. Even when I drastically reduce my content, it's still being cut when I save it, resulting to the page not displaying correctly.

Is there any built-in size limit in the raw block? and how to increase it? I am using UNA 13.1.0.

Thanks

  • 191
  • More
Replies (4)
    • Hello @OneEagle !

      The content of the RAW block is placed to the content field in the sys_pages_blocks table. It has the text type so it may contain 65,535 characters. Perhaps you exceeded this limit.

      • Hi dear @LeonidS

        Thanks for your reply. I got you. I've tested the number you gave me, it's actually 65,535 characters with spaces. I've found that my page content has a total of 96,814 characters (without spaces) and 138,275 characters (with spaces). Yes, the limit was exceeded.

        As a workaround, instead of using a single raw block for the full page, I divided the page into different sections and put those sections in multiple raw blocks, one section per block. It seems to work but I really wish I could connect the page parts. The result (design) is better than using several blocks.

        Now, the problem is that: the most important section of the page alone has a total of 73,617 characters (without spaces) and 108,341 characters (with spaces). It's a big table with a lot SVG icons. I can't split it in two raw blocks. As a result, it breaks the page.

        Please, any solution?

        By the way, using the page builder module, how did you guys manage to build the Pricing Page (Pro Page)? Have you placed the full page into one raw block or have you divided it into different blocks? If so, how did you ever manage to get the comparison table into a single raw block? It probably has over 65,535 characters.

        Thanks

        • I guess this is not a big secret to discover that our Pro page has been made via the Custom module. And this way will be good for you too. Just create the simple custom module with the service method, which will have this code as the processed template file.

          • Ok Thanks. I will keep on looking for another solution to get things to fit in that block instead of creating a custom module just for a page block.

            Login or Join to comment.