Using Nginx and Apache together on Ubuntu

Apache, Django, Magento, Nginx, Ubuntu, Wordpress

I am beginning a new project that uses MEAN.JS (MongoDB, ExpressJS, AngularJS, Node.js). I use Apache as my webserver on my local Ubuntu VM. When I first read about using Express, I wondered how I would use Express and Apache together. Further confusion came when I learned that my host provider (webfaction uses Nginx to serve static files and Apache for PHP and other server-side technologies. So Node.js and Express will actually be running under Nginx. Because I wanted my development environment to be enulate production as much as possible, I decided to run Nginx and Apache together.

Continue reading

Checkout My New Site - T-shirts For Geeks

Standardizing jQuery in Magento Extensions and Themes

Ajax, E-commerce, JQuery, Magento

I’m not that familiar with Prototype (Magento’s default Javascript library), so I use jQuery with most of the Magento extensions that I create. Although I use $.noConflict to avoid conflicts with Prototype and other jQuery versions, there are times when multiple versions of jQuery are loaded. This generally causes Javascript errors with either my extension or another extension/theme that is loaded on the page (depending upon which is loaded first).

To avoid conflicts for future Magento theme and extension developers, I created the jQuery Update extension. Similar to Drupal’s jQuery Update module, this extension will standardize the use of jQuery and jQuery UI within Magento.

Continue reading

Checkout My New Site - T-shirts For Geeks

Magento Extension: Responsive Menu

E-commerce, Magento

In a previous post, I discussed the Responsive Menu jQuery Plugin. Since it’s creation, I have integrated the plugin with CodeIgniter and Drupal. I also used this plugin on DevoutGeek.com. When I first integrated the Responsive Menu plugin with Devout Geek, I only added it to the menu template file. I recently took the time to create a Magento extension. The video below displays how to set up (and use) the extension. The Responsive Menu extension for Magento can be downloaded from DevoutGeek.com or Magento Connect.

Checkout My New Site - T-shirts For Geeks

Magento Extension: Configurable Products Utilities

E-commerce, Magento

In a previous post, I discussed the Configurable Colors Magento Extension. I just completed a new Extension that builds upon Configurable Colors – Configurable Products Utilities. The Configurable Products Utilities extension allows the store owner to easily create and delete configurable associated products in bulk. This tool was created for those who have grown weary of spending 15-30 minutes inputting the associated products for each configurable product. With this tool, creating these products can be completed in a matter of minutes – including the image uploads.

The Configurable Products Utilities extension also integrates the Configurable Colors extension that I created a few months ago. It enables the store owner to create color swatches for configurable products. Swatches can be made using HTML color names, Hex Values, Classes, or images. The Configurable Products Utilities extension also controls the display of the thumb and large images. The sizes for these images can be set in the Admin Panel. The Configurable Products Utilities extension also comes with an image zoom component. The size of the zoom image is also configurable.

The video below displays setting up and using the Configurable Products Utilities extension. The extension can be purchased on DevoutGeek.com. I’m working on a few more Magento extensions, so stay tuned.

Checkout My New Site - T-shirts For Geeks

Creating a Magento Extension that uses a jQuery Plugin

Ajax, API's, E-commerce, JQuery, Magento, plugins

While developing the DevoutGeek.com site, I created a number of Magento extensions. The first extension that I created was Configurable Colors. This extension creates color swatches in place of the color drop-down for configurable products. I created a jQuery plugin to display the color swatches and make ajax calls to the extensions controller method to display the relevant images. Through a bit of trial and error, I learned a great deal about creating Magento extensions (and incorporating jQuery into them).

There are many articles that discuss how to create Magento extensions, so this post discusses how to incorporate a jQuery plugin into the extension. For information on how to create an extension, read this.

Continue reading

Checkout My New Site - T-shirts For Geeks

Magento Extension: Configurable Colors

E-commerce, Magento

I created a few Magento Extensions while working on DevoutGeek.com, The first one that I created was Configurable Colors. Configurable Colors is an extension that enables you to create color swatches for Configurable Products. You can create swatches using HTML Color Names, Hex values, and images. This extension also comes with image zoom. Below is a video that demonstrates the use of Configurable Colors.

Checkout My New Site - T-shirts For Geeks

Changing the Column Count for Magento’s Grid List

E-commerce, Magento

One of the final design updates for DevoutGeek.com was change the column count for the main category pages only. I’m using Magento’s 1-column layout (no sidebar) for the sub-category pages (and category pages that do not have sub categories). These pages display 3 columns of products, but I want the main category pages to display 2 columns of products because I am using a 2-column layout (left sidebar) and I do not have enough room for 3 columns.

Continue reading

Checkout My New Site - T-shirts For Geeks

Updating footer in a Magento theme

E-commerce, Magento

I’m still working on the Magento theme for my upcoming t-shirt site. I recently started updating the footer. It took some time to figure out how to add/remove the footer links as well as add other items such as a newsletter block. I thought I could update a single file, but it wasn’t that simple.

Continue reading

Checkout My New Site - T-shirts For Geeks