Welcome to the Digital Tool Factory blog

Backend web development in Atlanta GA

How to track outbound links in the new version of Google Analytics

So the Gods of Google have gone and changed their basic Google Analytics code to something that works slightly better, and now your outbound link tracking code doesn’t work. Here is how you fix that – first make sure you have the most recent (as of July 2013 Google Analytics code, it looks something like […]

When the jquery $.post doesn’t work the way you expect it to…

The Problem In my was posting a contact form to an outside service, and then redirecting to a page on the same site.  I thought, Aha, I will use the handy jquery .post command – it looked something like this. $.post(“https://www.outsidesite.com/FormSubmit.php”, $(“#myform”).serialize()); window.location.href=’https://www.MySite.com/SomePage/’; But curiously, half of the time I filled out the form the […]

How to fix the “error 2025: XML Schema validation failed for mapping schema.” error

The Problem You’ve been upgrading and downgrading Entity Framework, and just when everything seems to be working, you get an error of Schema specified is not valid. Errors: <File Unknown>(0,0) : error 2025: XML Schema validation failed for mapping schema. Schema Error Information : The ‘https://schemas.microsoft.com/ado/2012/10/edm/migrations:IsSystem’ attribute is not declared.. <File Unknown>(0,0) : error 2025: […]

How to fix the “Could not determine storage version; a valid storage connection or a version hint is required”

The Cause: You’re cruising right along updating everything properly when all of a sudden you get an inexplicable Could not determine storage version; a valid storage connection or a version hint is required error The Cause: You’ve been upgrading and downgrading Entity Framework Versions.  The actual error has nothing to do with the error message listed above. […]

Updating for the sole purpose of the Google Author Plugin

I apologize to my regular readers for this empty post.  I need to update to get the Google Author plugin to be recognized by Google

How to explain caching to clients

I recently implemented a quick performance fix on a client’s site recently by implementing caching.  I explain caching with the following metaphor. Imagine that your site is a book.  A book written in a weird mix of Latin, Sanskrit and Old Norse.    It’s precise,  complicated and requires translation into English by an expert translator before it […]

How to install wordpress in a subdirectory of a site with an existing .htaccess file

This happened to me whilst working on a  pre-existing site recently.   The Problem You are trying to install WordPress onto a subdirectory of an existing site that uses the .htaccess files for routing.  When you try to add in the changes needed for WordPress to work you break the existing site. The Cause WordPress .htaccess […]

The case of the disappearing WordPress widgets

A silly one this time The Problem I was recently working on someone else’s WordPress theme that made extensive use of WordPress Widgets and the new dynamic sidebar feature.  I was able to recreate the widgets (there was a working staging site) but the on the production site the widgets did not appear.  What to […]

A simple tip on the Bing Keywords API

Just a quick reminder for anyone who uses the Bing Keywords API. As you become aware as you do more and more things with the API, the code itself it beautiful, but the access to it is difficult.  I recently (a month or two ago actually)  on tech support finding out that the developer token […]

My quick review of Red Gate’s Cloud Storage Studio 2

I recently had reason to move  a large number of files from one windows storage account to another.  One would think that this would somehow be built into Windows Azure storage, but alas, it is not that way. Anyway, I searched the internets and came across Red Gate’s Cloud Storage Studio 2, which is more […]