I have been developing a Joomla module. This is my first module development.
Is it possible that I enable a module in Joomla and let there is no output in front page?
Because I don't want to display anything in a front page position, just show a popup.
my tmpl/default.php content is:
<?php defined('_JEXEC') or die('Restricted access'); // no direct access ?>
and in module entry, I commented the line:
//require(JModuleHelper::getLayoutPath('mod_blabla'));
However, the content of a text-area parameter(backend) is shown in front page.
SOLUTION:
There was a variable named "$content" in my php code. Whatever i assign to it, displayed in front page. Now I changed the variable name from $content to something else, there is nothing diplayed in front page. This is what i was trying to do.