Friday, October 24, 2014

How to delete browser Cookies and Cache

It usual that you need to delete your browser's Cookies and cache to improve your browser sppeed and other important reason. So, I will let you know how you can delete your browser's cookies and cache.

If you are using mozilla firefox, first open your browser and if it is already opened just go to the process. Find in your keyboard . Keep pressed Ctrl+Shift and press Delete key. It will appear a window. select Time range to clear and options that you want to delete and then press clear now. wait for few seconds and you will understand your cookies and cache has been deleted. you can see the image bellow for proper understanding.

Wednesday, October 22, 2014

How to hide IP address

There are different ways to hide your ip address when you browse internet. Today, I will tell you about two ways of ip hiding.
One method is by using software. There are many ip hiding software on the internet. Some of them are "Hide IP Easy", "Platinum Hide IP", "Hide IP All" etc. You can use this very easily. But I will show you another method of ip hiding and that is manually hiding your IP. So, Let's see how to hide ip address in Mozilla Firefox.

Tuesday, October 21, 2014

How to show product stock availability in category page in Opencart cms

Today I will show you how to display product stock availability in category page in Opencart cms. There are few code that  you need to add in the several page.

First Step:

========

Go to category.php  in catalog/controller/product and place this code:

$this->data['text_stock'] = $this->language->get('text_stock');


After this code:

$this->data['text_limit'] = $this->language->get('text_limit');

Wednesday, October 15, 2014

Default .htaccess file of Opencart cms

Hello,
Today I will share with you the default .htaccess file of Opencart cms. I know you may need sometime it because it doesn't display in some server. so it is hard know know for you about the default .htaccess file of Opencart cms when you will plan to change anything in the server or move files from one server to another.

Monday, October 13, 2014

How to display another website in iframe for full height and width

I know you are thing of how you can show another website in your website for full height and width in html code <iframe></iframe> . The main code for iframe is bellow


    <iframe src="www.anothersite.com" width="" height=""></iframe>

Here is the confusion how you will place the and width. you know you website is 1000px width for example and 1400 px height. definitely, you will go to give this height and width in <iframe> . yes, thta will work. but problem is for other pages. When the user will go to other pages, they see those pages in this specified height and width and there will show a scroller in the right side as your specified height has crossed other pages. Or, you will see there are a lot of white space in your bottom if the height of other pages don't cover full height you mentioned in the <iframe>. so, you are confused. here is the solution that will rid you of this problem. just give the  height="100%" and width="100%", it will solve your problem. it will get automatically height and width of per pages. So,  no worries. user will enjoy your website from another server without any problem.

.htaccess 301 or 301 redirect problem and alternative solution

Recently, I transferred an Opencart webshop from one server to another server. After Transferring the project I had some pages to redirect . I tried many times in .htaccess. the code that I used to do this is bellow:

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]

Redirect 301 /onepage.htm http://mt-example.com/mynewpage

But I failed, it did not work properly. I had another suggestion from forum site and that was as follows: