Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hide selected content in web pages
#2
It could be with the Dynpages plugin:

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...
(I ommitted block2 here)

(Not tested)
Reply


Messages In This Thread
Hide selected content in web pages - by Didier9 - 2018-01-27, 04:36:04
RE: Hide selected content in web pages - by Carlos - 2018-01-27, 05:15:08



Users browsing this thread: 1 Guest(s)