Global block on all but one page?

Roych


Ruud

All WB pages have a PAGE_ID.
You can find the correct page_id in the pages list in the /admin/.

Use the PAGE_ID like this
Code (all pages except 123) Select
<?php if (PAGE_ID != 123) { ?>
... droplet code ...
<?php ?>
[url=https://dev4me.com/modules-snippets/]Dev4me - WebsiteBaker modules[/url] - [url=https://wbhelp.org/]WBhelp.org[/url]

Roych

Hello,
Im using some droplets for procalendar on my sidebar (global block) so it's showing on all pages.


I would like to show this global block on all but one page, is this possible? So if you are on /en/calendar/  You won't see this block.


can this be done?


I tried with


<?php
$homepage 
"/en/calendar";
$currentpage $_SERVER['REQUEST_URI'];
if(
$homepage != $currentpage) {?>

<h4>Calendar</h4>
<p>[[procal-events?section_id=312]]</p>
<?php ?>



but won't work...


Hope u understand.


thank you
R