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:

Read More

I have found this method very useful for validating IP4 address. Pass in any IP address as parameter while calling this method will return you true on success and false on failure.

Read More

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” );

Read More

In Joomla 3.0, the location a module shows up on a page is determined by the position the module is set to.For example, if you have a module position within your template named footer-1, to place a module there you will have to set the module’s position to footer-1. Likewise, setting a module’s position to […]

Read More

You found this page most likely because you run Joomla 3.0 and you’re getting an error on your website that is database related. We want to help you resolve this issue. Let us first tell you how the database connection is supposed to work, and then we’ll try to help show you which issue is […]

Read More

Overview Many shared server environments currently run .php scripts using the PHP4 interpreter and .php5 code using the PHP5 interpreter. Rather than changing all your file extensions, and perhaps breaking many links, use a .htaccess file to dynamically map one extension to the other.

Read More

Joomla 2.5 CMS running under Linux Operation System, by default, uses PHP mail() function to send emails. Sending email using your server’s SMTP system is another popular method. You need to create an email account from your hosting control panel to use SMTP. During email account setup, you need to setup a password for your […]

Read More

In this example, let us see how to allow all traffic requesting port 80. Port 80 is the default HTTP port that serves website pages. 1. Open Control Panel from the Start menu. 2. Select Windows Firewall. 3. Select Advanced settings in the left column of the Windows Firewall window. 4. Select Inbound Rules in […]

Read More

When you associate a Google Analytics web property with a site in your Webmaster Tools account, you’ll be able to see Webmaster Tools data in Google Analytics reports. It’s a great, free tool to keep an eye on the number of visitors, other sites that point to your content, the most popular articles on your […]

Read More