How to stop a webpage from auto refreshing constantly

There’re a few questions related to this matter I received today from my clients. Some of them have tried “break;” and “window.stop();” and “pause();” and “window.location.reload(false);”, … you name it; however, non of them works. There’s a trick to reload a webpage once and stop the webpage from auto-refreshing itself. At the end of the URL, add the pound sign like this # in the Get or Post URL. Then when you retrieve the value by GET/POST variables, remember to remove the # sign by…

Continue reading »

Between WordPress and Joomla, what should I use?

Up until todate, we’ve received a few questions about what to choose between WordPress and Joomla from our new clients. So we do some research and this is the best comparisons of the two most popular CRMs right now. This document was created back in January 2013 by Redgiantdesign so it’s considered to be quite recent. Please click on this link to view the entire comparison in graphic.

Continue reading »

How to use dynamic text in an html/htm page

Whether you have a Joomla, WordPress, or E-commerce website, updating the copyright year on your website may not be a legal requirement, but it’s a smart marketing method to prove that your business is active. Showing the year is especially important if you have a site without dates on its content. There’re many ways you can automatically refresh the copyright year by inserting a simple JavaScript or php script (see below) into your website’s html code, or you can manually change the year in the…

Continue reading »

How to read a .diff file when you purchase an X-Cart module

Diff is a comparison utility that’s very useful when you upgrade or modify your web application pages. If you notice carefully, there’re some modules that come with readme.txt and patch.diff files. Open the .diff file in a notepad or Notepad++ (better), you can see each line in different colors for different purposes, meaning, & usage. *** /path/to/original_file   ”server_timestamp” — /path/to/new_file        ”server_timestamp” @@ -l,s +l,s @@ optional section heading Here’s the explanation of the .diff file:

Continue reading »

How to add a new static page in X-Cart

Sometimes you’ll need to add a new static page for your X-Cart store/e-commerce website such as Terms and Conditions, How It Works, more info,… so this is not so difficult to execute. Step 1: Login to store Admin Step 2: Click on “Static Pages” menu under Administrator, click on Add new button to add a new page. Give the page a title, and page filename. You can also enable or disable the page here. Step 3: Input some page contents or html codes in the…

Continue reading »