Enable or disable displaying template position in Joomla 2.5/1.6

Module template position is one of the confusing matter in Joomla. In order to implement proper design into Joomla template you must need to know the template position of each section. Below is one of the good video tutorial that will help you to get Joomla postion. Click here to see

How to handle documentRoot using .htaccess

This solution also works in case you are running your website from any particular directory but don’t want to show the code directory into browser URL (Hide codebase directory from showing into browser). RewriteCond %{HTTP_HOST} ^mydomain.com$ [OR] RewriteCond %{HTTP_HOST} ^www.mydomain.com$ RewriteCond %{REQUEST_URI} !^/CodeFolder/ RewriteRule (.*) /CodeFolder/$1   With the above htaccess code we are setting(…)

Creating Image thumbnail forcely with PHP using Linux

If you are using a Linux based server and your PHP script is allowed to use exec() function of Linux. (I am writing this because due to security reason a lot of servers don’t allow this function to use from PHP script.)   If these are the criteria are full filled then below are one(…)

How can we see all mysql function availabel on any database

  If we want to see all mysql functions within a database table then we have to simply run below command from your mysql query SHOW FUNCTION STATUS To see all procedures on your mysql server simply rub below query SHOW PROCEDURE STATUS If you want to see the function definition through query simply run(…)

Vbulleting Error : Error 330 (net::ERR_CONTENT_DECODING_FAILED)

There may be two solution of this issue: Solution1: Gzip Compression If you are getting this error in your vbulletin forum then Gzip HTML output page compression is not enabled from admin controller.To verify gzip HTML output page compression admin control panel->Settings->Options->Cookies and HTTP Header Options. Here one thing is notable that GZIP compression support(…)

Disable Foreign Key checks or constraint in Mysql

Referential integrity/relation is one of the best feature for database architecuture. But in certain case we need to clear or disable these checks otherwise we can’t do normal modification within our data because if tow tables are following primary key and foreign key constraint then we must have to follow these relation otherwise we may(…)

Facebook Application Setup on Facebook.com

To Create a facebook application for your website you need to create a new application on facebook first. You may use this link to create your facebook application .Use the above link and login to facebook . And click on “Create New Application ” Button Now Provide application name from the below popup box Now(…)