How JavaScript Works in MODX

If you already understand the difference between server-side operations like PHP, and client-side JavaScript in MODX, this article is *not* for you.

People new to JavaScript (JS for short), even if they are experienced PHP coders, are often confused about the relationship between server-side operations and client-side Javascript. StackOverflow is full of questions about how to call PHP functions from JavaScript or how call PHP functions in Javascript. The responses are often terse, and sometimes insulting.

I used PHP for some time and occasionally threw in some JavaScript code I copied from somewhere before I really understood fundamental difference between the two. Learn More

Tags: , , , , , , , , , | Posted under MODX, MODX | Leave a comment

Support Variants Options in the Product Listing

In TomatoCart product listing page, the variants options for the product aren’t displayed. When the customer click the add to cart button to add the product into the shopping cart, the default variant option is selected automatically. But, the customer may need to select the other variant option. The default behavior for the variants options is not good. We need to support the variants options in the product listing page so as to let the customer select the needed option.

Features Learn More

Tags: , , , , , , , , , | Posted under TomatoCart | Leave a comment

Using Free Images to Enhance your Web Site

When building a web site or application you can spend all your time developing, coding and testing a web site which meets your clients’ demands but if you don’t take the time to create a UI (User Interface) that is easy to use or pleasing to the eye then your client will be less than impressed.

If you are like me, you would rather spend your time building things that are not actually seen by anyone but work behind the scenes. However; there are times when you need to enhance your web site with nice graphics or images but not spend any money. When you have those needs here are a few sites that I go to immediately. Feel free to send me additional ones to add. The list below is not in any particular order. Learn More

Tags: , , , , , , , , , , , , , | Posted under Programming/Coding | Leave a comment