2018-01-27, 05:15:08
It could be with the Dynpages plugin:
Create component 'page' with this:
Then create pages for the blocks you want to insert, with slugs block1, block2, ... or whatever. (I suggest you make them private and group them under the same parent page to distinguish them from normal pages.)
Then insert those common blocks in your normal pages with:
(I ommitted block2 here)
(Not tested)
Create component 'page' with this:
Code:
<?php
global $args;
getPageContent($args[0]);
?>
Then create pages for the blocks you want to insert, with slugs block1, block2, ... or whatever. (I suggest you make them private and group them under the same parent page to distinguish them from normal pages.)
Then insert those common blocks in your normal pages with:
Code:
This is some text...
{% page block1 %}
This is more text...
{% page block3 %}
Blahblahblah...
(Not tested)