Updated: 02 October 2017, 14:19:20.

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
    $i++;
}

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 ...

 

We can use JApplication class's setUserState method or JSession class's registry property to store user state variables and retrieve these variables later for further processing.

EXAMPLE set variable:

$app = JFactory::getApplication();
$app->setUserState( 'myvar', $myvarvalue );
$app->setUserState( 'com_yourcomponent.data', $yourvalue );

To retrieve this value, use the following code:

$app = JFactory::getApplication();
$variable = $app->getUserStateFromRequest( "com_yourcomponent.data" );

Continue Reading ...

 

I Recommend RamNode VPS Hosting

high performance ssd vps

Recent Works