Closed waynedyck closed 5 years ago
For Drupal 7 it appears the solution is to add the following if statement to our theme's _preprocess_page function in the template.php file
if
_preprocess_page
template.php
function THEME_preprocess_page(&$vars) { if(isset($vars['page']['content']['system_main']['no_content'])) { unset($vars['page']['content']['system_main']['no_content']); } }
I will test it locally and confirm it works as intended.
For Drupal 7 it appears the solution is to add the following
if
statement to our theme's_preprocess_page
function in thetemplate.php
fileI will test it locally and confirm it works as intended.