Bharat Information Technology Services (BITS) - you wish, we deliver!, Himachal Pradesh, India

You are here: Home » Blog@BITS
Thursday, 28 May 2020

Blog@BITS - Technology as bought to you by BITS

This is a technology blog maintained by Bharat Information Technology Services (BITS) solely for informative purposes. If you follow any tip/trick/hack or make any changes to your website/software/hardware equipment, please do so at your own risk.

Inserting Plugin In A Module

Inserting a plugin into a module is a commonly asked query. Here's the solution:

1. Goto and download this extension.

2. Install it.

3. Goto module manager and look for module titled "Plugin in Module".

4. Enable it, enter the parameters.

5. Save it.




Joomla - SEF url's Not Working

Sometimes Joomla installations give an odd problem in Search Engine Friendly (SEF) urls. Either the site stops working totally or the 2nd level SEF links don't work! This can be either a hosting provider's problem, inability to rename htaccess.txt to .htaccess (that is hosting provider not allowing you to use .htaccess) or any other issue. Many users using Yahoo Small Business Hosting will face this issue. So the solution for this problem is:

1. In the global configuration, turn ON SEF url's, set mod_rewrite to NO.

2. Goto configuration.php and look for a value var $live_site.

3. Enter your domain address here like this:

That should solve the trouble.

Disabling Google Chrome In-built PDF Reader

Many of you must have seen the new PDF reader plug-in bundled with the new Google Chrome browser. Its a nice feature but misses out on a lot of things (at least currently!).

Even as I got psyched of the trouble it was giving me, I looked around on the net and realised there were so many others with the same problem but who had not found the solution (which I had happily enough!!!).

Well, the simplest solution is:

  1. Goto Menu>Options>Under The Hood>Content Settings>Plug-in.
  2. Now click on "Disable Individual Plug-ins"
  3. Search for Chrome PDF viewer and click on disable next to it.
  4. This will turn off the Google Chrome PDF Viewer plug-in. Now the browser will revert back to the other plug-in, whichever you had been using...Adobe, etc)

Note: If you want to continue with the Google Chrome PDF viewer and save files, click Menu>"Save Page As" (Ctrl + S).

Restoring Joomla 1.5 Sample Data

Sometimes after installing joomla and playing a little bit around… many of you want to backup the site as a fresh install. Obviously most of users basically do a fresh install. But yes there is another way to do the things in a manner without installing the joomla once again!

Follow the steps below to get it going.

Download a copy of the joomla version installed on your site from

This will obviously be a zip file… so extract it.

Now, go under the extracted folder get to this path /installation/sql/mysql/sample_data.sql

This is the file which has the sample data in SQL format.

To get this file going… you will need to have access to phpmyadmin for your hosting.

Open this file up with either a text editor or html editor. (both will work)

Now, this is the most important step. All the tables will be as having prefix jos_ but your current joomla site might have it with jos_ or whatever you did while installing joomla. ( you can fine it in your configuration.php file and also in the global configuration tab in your joomla administrator.

Now replace all those jos_ with you jos_ or mos_ or what you have with your joomla install. Yu can do it by pressing Ctrl + H for notepad (find and replace) and Ctrl + F for Dreamweaver.

Once done! Get to your phpmyadmin drop all the tables and import this sql file.

The last step… your admin will not have any password now. Here is a tutorial on how to change your joomla administrator password via phpmyadmin.

Source: (Unfortunately the site was loaded with malicious software when checked last...a long time ago!)



Page 1 of 2

  • «
  •  Start 
  •  Prev 
  •  1 
  •  2 
  •  Next 
  •  End 
  • »