Closed dsultanr closed 3 years ago
When does this error exactly occur? I haven't seen this one yet, while using the package daily.
this happens when I do insert a very complex view.php block with many styles and scripts. It's a whole site's page actually but I want it to be a block
what is your advice on integrating such a blocks?
I would create a layout file that contains all the meta, link and script tags (see this example). Next I would put the javascript inside a file called script.js
in the folder of the block. Then you can create a page that uses your layout file and then drag the block of this entire page onto it.
create a page that uses your layout
what does it mean? create a block?
No, it means to create a folder like this one: https://github.com/HansSchouten/PHPagebuilder-boilerplate/tree/master/themes/demo/layouts