Blog
Shared Links 9.13.11
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
Setting up Git to Track WordPress
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
jQuery Show and Hide Part Tres
this is set to the DOM element being... Read More »