How to prevent Joomla empty modules from being rendered? To achieve this-
I have tried by returning false from module's entry file if there is no output. I have written following code in modules entry file eg mod_xyx.php
// Hide mod when no output.
if ( @no_output)
{
return ;
}
It works for Joomla's default template but doesn't work for some template.