At the time of Joomla! custom component development, we need to get a component params for use in different places like in component itself, modules, plugins.

Access component params from inside own component

To access component params in component itself, I use JFactory::getApplication() like below:

$app = JFactory::getApplication();
$params = $app->getParams();
$param = $params->get('show_create_date');

Continue Reading ...


It was a very weird problem that ate up my whole day while writing a custom component in Joomla 3.2.2. I found a solution in a page of stackoverflow.

I was using NetBeans 7.4 IDE. I wrote a Singleton Design Pattern helper class and get an instance of the class using getInstance() static method. I should get auto completion hint beside my instance variable, but surprisingly it wasn't showing any hints which should show a list of all my public methods. What's wrong!!! I check my class line by line. Nah, everything is OK. But it should work, but wasn't working. I checked again, again, and again. When I started to pull my hair off, I stopped at a page of stackoverflow. I found a solution to my problem.

Continue Reading ...


There are numerous hosting company around the globe. They use various popular Operating Systems. Some offers hosting optimized for Joomla! Content Management System (CMS). We often run in problem while installing Joomla! extensions like Components, Modules, or Plugins. I have recently encountered the following error on a Joomla 3.2.2 website while installing a module:

Continue Reading ...


I was developing a Joomla! "Module" where I had written the following lines of codes in my "helper.php" file:

$i = 0;
$lists[] = array();

foreach($files as $file)
    $lists[$i]->image = JPath::clean( $path.'/'.$file, '/' ); // This line was triggering Waring Message

Continue Reading ...


Presenting a notification text to the user using the "Popover" Javascript that comes built-in with Twitter Bootstrap in Joomla 3.1.1 is very easy. The official documentation of Twitter Bootstrap tells everything you need to understand it.

Recently I use it in a website for my client. I wrote the following code for my Popover:

Continue Reading ...