Answer the question
In order to leave comments, you need to log in
How to programmatically hide a block on another page in php (drupal)?
Hello!
Can you please tell me how to programmatically hide one output block on one of the pages? I am using Drupal.
That is, I have this block registered in page.tpl.php and it is displayed on all pages as it should. But one needs to be removed. How to do it? firstly I work with both Drupal and c php
Answer the question
In order to leave comments, you need to log in
In the block settings, you can specify on which pages it should not be displayed without PHP.
PS And what about Smarty?)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question