Minneapolis Project Manager and Web Developer

Blog


Shared Links 9.13.11

Technology

Looking to extend the “Cloud-as-Desktop-Storage” model to its limit, bitcasa offers Infinite storage and file sharing through its services. Pretty neat idea for those looking to sync files across... Read More »


Shared Links

There are often a few things on the web that I think are really cool to share and do so on the usual social networks; however, given the Read More »


Setting up Git to Track WordPress

What is Version Control?

In working to make my blog an example of best practice, I wanted to implement version control, not only to track changes but make upgrading and... Read More »


File Versioning for static files in Magento

Though there are many benefits to using cache-control headers on outgoing files, browsers will not revalidate a user’s file until either the cache-control’s expiry is reached or the application... Read More »


WordPress Get Featured Image Source

WordPress has a nifty feature that allows a user to add a Featured Image for a given post or page. In this use case, I needed to pull... Read More »


Adding Color to Git

As a default, Git is a difficult to scan quickly and understand what changes are and were made. Adding color can alleviate this. To add color run... Read More »


Removing Catalog Sort Options in Magento

Magento 1.3.2.2 — On the catalog view pages, the sort-by select input offers a range of options. These can be added or removed by visiting “Catalog” > “Attributes” >... Read More »


Creating a Video Sitemap in Magento Pt. 1

One of the neat things about Magento is the ability to extend functionality through a pre-defined architecture. This architecture does not really limit the use of any other... Read More »


Cufon not working in Internet Explorer (IE) 9

Received an email from a client stating that their website was no longer working in Internet Explorer 9. Upon looking closer, I realized that the site was working/loading... Read More »


Redirect vs. RedirectMatch .htaccess apache 301

A Magento store is running a CMS page at the /product-selector URL. The request, from marketing, is to redirect a Top-Level Category to this new, product-selector URL using... Read More »


Magento – Show Sibling Categories using jQuery

For a recent Magento build, we needed to create some quick functionality for user testing. The end result was to show the children of the active category in... Read More »


Using TimThumb.php on WordPress Network

There have been a few headaches in overseeing WordPress Network development, most of which stem from theme developers expecting their work to be used on a one site, one... Read More »


Get Data for Magento Category Attribute on Product Page

To retrieve data when in the Category View, /catalog/category/view.phtml, one only needs to use the getCurrentCategory() method and a specifier to the attribute wanted.

getCurrentCategory() returns the registry key for... Read More »


Different Product Collections in Magento

In building a dynamic video sitemap generator, I need a way to loop through a store’s product collection. As I saw it, if a product was in a... Read More »


Retrieve Category Images on Home Page

As I mentioned in a prior Magento blog post, I’m focusing my learning of Magento through solving real-world issues.... Read More »


List Categories in Left Sidebar

Continuing on the ‘answer-a-forum-question’ theme, I wanted to demonstrate how to present a list of Store Categories in the left sidebar.

Magento’s modularity is extremely daunting at first, given the... Read More »


Media Embedding in WordPress

Our content creator requested assistance on a YouTube video embed that was having the code stripped every page save. After a quick search, it turns out the WordPress... Read More »


Category(s) of Current Post in WordPress

The method that WordPress gives, to get all categories a post is a apart of, utilizes the WordPress taxonomy system. A taxonomy is a descriptive way to group... Read More »


Show Product Reviews on Product View Page

There many ways to get existing functionality into a different block within Magento. One can call in the needed Model, Helper or Session. One can build a module... Read More »


Find Quantity and Price of Products in Magento Shopping Cart

As I’m trying to learn Magento, I decided that answering forum questions would be the best way to get feedback on how I would do something and, hopefully, help... Read More »


Use Magento Outside of Install Directory

One of the coolest parts of using Magento is that it can be accessed from different parts of the server even if you’re not within the Magento install directory.... Read More »


Get Individual Product Data in Magento

Magento is built using the Zend PHP Framework, which utilizes the MVC design pattern. An explanation of MVC can be found by a Google search and is beyond... Read More »


Change Upload Limit in WordPress Network

Using WordPress Network an admin can set the limit of all file uploads by size or type for all child sites within a network.  Unfortunately, WordPress reads the upload... Read More »


How to prevent .DS_Store file creation over network connections

Using an Apple computer has many benefits for non-development tasks but one of the more frustrating aspects is that the system will create a .DS_Store file within any directory... Read More »


Limiting Contact Form 7 WordPress Plugin

One of the biggest pitfalls in using WordPress plugins is that most are built as standalone applications that do not take environment into account.  Despite being a truly awesome... Read More »


Adjacent Posts in WordPress

For the blog posts, some folks have been asking how I got the ‘next’ and ‘prev’ posts working with excerpts, titles, etc. If you check the old WordPress codex,... Read More »


Magento Check if on Product Page

I needed to setup a Google Website Optimizer test on one of our store’s product pages, which meant that rather than injecting GWO javascript onto unnecessary pages, it would... Read More »


Filters in Google Analytics

With our new media division underway, we have quite a few analytics accounts set up to track each of the client sites being created. Given that there are... Read More »


Magento: Remove Cart and Checkout ‘Top Links’

I needed to swap out the default ‘top.links’ that are populated by ‘template/page/top.links.phtml’ and assorted ‘layout/*.xml’ files, respectively.  In most installs, I create a ‘layout/local.xml’ that is overrides existing... Read More »


YouTube Videos Not Loading

On our .com sites I built a script to track video viewing behavior.  Of course my heart sinks when I get a message from the marketing manager expressing that... Read More »


WordPress User Logged In

A WordPress theme that I worked on today had some unusual behavior in that WordPress could not identify if a user was logged in or not.  I’ve found that... Read More »


MySQL Create User and Grant Full Rights

It’s simple.  It’s ridiculously simple.  But I keep forgetting how to create a user and grant privileges.  Of course, the point of a personal blog is to explore knowledge... Read More »


Magento: Display New Products

For the shopmyzfa.com website, they needed to display their newest products on their own page. To do this I created a new CMS page entitled, go figure,... Read More »

jQuery Show and Hide Part Tres

jQuery also affords the ability to trigger multiple events in succession using 'string succession'.  The callback is not sent any arguments, but this is set to the DOM element being... Read More »

jQuery Show and Hide Part Deux

Utilizing vanilla show/hide/toggle is a perfectly legitimate way to use said functions but when we start plugging in effects to the .show and .hide events, we really start to... Read More »

jQuery: Basic Show, Hide and Toggle

As you may have guessed, I'm not properly trained in the coding languages found throughout the web.  Most, if not all of my knowledge has come from reading blogs,... Read More »

Moving Magento Sidebar-Cart to Header

I've seen this request on a lot of forums so it would seem to be a fairly common request. Modern eCommerce users typically look for some type of... Read More »

Duplicating Magento Catalog Search Anywhere

Magento is all about taking notes and standing on the shoulders of others. I frequently reuse code that others provide to make development a little faster and smoother.... Read More »

Conditional Statements in WordPress

What are conditional statements? Going along with my last post, I'd like to demonstrate how I created and utilized the dynamic sidebars that were created for the Southwest Pools... Read More »

Multiple Dynamic Sidebars in WordPress

For my Southwest Pools website, the user requested 5 different pages for content, which isn't unusual. What was unusual is that they also wanted each of those five... Read More »

Removing Session IDs (SID) in Magento

When using your Magento store, you may find that an ugly dynamic URL appears with an ending like 'SID=randomchar'. This is the session ID and is not only... Read More »

Migrating Email to Google Apps

Online email clients are typically barebones and provide no tools for organization or collaboration. Some users chose Outlook as their desktop client but soon realized that this does... Read More »

Simple Way to Integrate Google Calendar

Recently a client needed to integrate some kind of calendar into their site that was both easily updated and could be used outside of the site itself. Immediately... Read More »

Speeding up Magento using gZip

One of the drawbacks of Magento is currently its speed if default configuration is used. There are certain ways of making it run faster. The best one is to... Read More »

Clearing Cache Manually in Magento

Magento has a very good cache system that not only creates a faster loading presence after a page has been viewed once, but can keep structural errors from occurring... Read More »

Basic Vim Commands Part 2

Continuing the idea yesterday of making a cheat sheet of Vim commands, I'd like to post the insertion codes for text. Read More »

Basic Vim Commands

I'm learning a bit about Vim this week as I delve into the world of scripting, shell programming and UNIX. I wanted to put up a simple collection of... Read More »

Bash Script for Automated Backup

I decided to begin doing manual backups everyday from SSH. This is a great idea until you begin to pick up more than one site and want to... Read More »


From the Blog!

Retrieve Category Images on Home Page

As I mentioned in a prior Magento blog post, I’m focusing my learning of...

List Categories in Left Sidebar

Continuing on the ‘answer-a-forum-question’ theme, I wanted to demonstrate how to present a list of Store Categories in the left sidebar.

Magento’s modularity is extremely...

Media Embedding in WordPress

Our content creator requested assistance on a YouTube video embed that was having the code stripped every page save. After a quick search,...

Category(s) of Current Post in WordPress

The method that WordPress gives, to get all categories a post is a apart of, utilizes the WordPress taxonomy system. A taxonomy is...

Show Product Reviews on Product View Page

There many ways to get existing functionality into a different block within Magento. One can call in the needed Model, Helper or Session. ...

Find Quantity and Price of Products in Magento Shopping Cart

As I’m trying to learn Magento, I decided that answering forum questions would be the best way to get feedback on how I would...

Use Magento Outside of Install Directory

One of the coolest parts of using Magento is that it can be accessed from different parts of the server even if you’re not...