Tech Tips

Solving jScrollPane Issues with jQuery Slideup

We ran into a problem where a jScrollPane was not showing up on a longer div, when it was slide up using jQuery’s “slideDown”/”slideUp”.

After much debugging, we discovered that jScrollPane was actually being applied, however it was NOT calculating the actual DIV height correctly.

Read More

Magento SSL to Non-SSL redirect for SEO

One customer was having issues with certain SSL versions of their pages being crawled by Google. They were receiving duplicate content penalties.

While Magento does a decent job forcing a user to an SSL page of mandatory secure sections of a website (checkout/accounts etc), it does not handle the opposite. Redirect the user to a NON ssl version of the page. CMS Pages/product pages/categories. There is very little benefit of having them served via HTTPS and it increases the load on the server itself.

Read More

XenConvert – Solving Convert Issues

We’ve recently set out to convert one of our XP workstations into a virtual image to run on one of our XenServer boxes (GPU CUDA pass-through R&D for another article).  We downloaded the latest version XenConvert (2.5 as of this writing) and installed it on the host machine.  We made sure to clear the machine off of unnecessary files, run defrag and CCleaner.  Having experience with Vmware converters in the past, we stopped all unnecessary services on the machine.  We then started the conversion.

Read More

Windows 7 IIS 7.5 Read Access

We’ve recently started a Dot Net Nuke project, that required IIS 7.5, so we installed a test server on a local Win 7 workstation that we had available to do some basic development work prior to moving to a production environment.

We installed the the IIS server via the “Add Windows Feature” in Windows 7 control panel and got the server to run Asp.net 4 without a problem.  The issue we ran against was that the IIS server was NOT serving any content such as images or CSS files.

Read More

Magento – Auto Apply Coupon Discount

We had a request to be able to link a coupon from a email newsletter back to magento, and automatically apply a coupon discount with one URL. So for instance, clicking on something like http://yoursite/applycoupon/index/?url=some-cool-product&coupon_code=TESTYOURCOUPON would go the magento site, automatically apply the discount to the cart when the user adds something to their cart.

Natively, this does not exist within Magento, so we had to either build for find a plugin to accomplish the same thing.

We found a great article from Drew Gillson (thank you!) that got us most of the way there. His article should get you most of the way towards the solution, however we still were having problems getting it to work.

Read More