Programming

Building The Magento Imagine 2015 Site

How we built the Imagine 2015 site Originally published Feb 26, 2015 on Medium. Imagine is Magento and eBay Enterprise’s premier eCommerce event held every year in Las Vegas. It’s an incredible event that many eCommerce merchants, consultants and developers look forward to year after year. At Imagine, people network with merchants, partners, developers, digital industry experts, and open source enthusiasts. We put a great deal of time and effort into making Imagine a spectacular and useful event, and an event of this magnitude needs a website to match.

Continue reading

Use Marketo Forms 2.0 API To Populate Fields

Occasionally we want to populate Marketo fields with values we calculate on our side. Perhaps advanced UTM handling, custom Salesforce fields, etc. The Marketo Forms 2.0 API makes this pretty easy. Most of what you need to know lives on this documentation page, but I will give you a couple tips you might not otherwise know. You can populate UTM codes automatically… …but think it through. You can have Marketo autopopulate your utm values from the query string in the URL, but what if a user navigates to another page?

Continue reading

How To Use Apache's Proxy for Drupal's Files Directory

Drupal’s files directory can get enormous, and it’s best not to keep it in version control. Here’s a way to use Apache’s proxy module to point your local environment directly to your dev/live site’s files directory so you don’t have to download it. In your httpd.conf: ProxyRequests On ProxyVia On <Proxy *> Order deny,allow Deny from all Allow from localhost Allow from all </Proxy> <Location /sites/default/files/imagecache/> ProxyPass http://dev.yoursite.com/sites/default/files/imagecache/ </Location> Of course you’ll want to tailor it to your needs; maybe you want only one imagecache preset proxied, or just one directory specifically on one local host.

Continue reading