Git Primer

[Written for internal DD9 use, published for the good of mankind] What is git? Git is an application for distributed version control. It’s version control because it lets you deftly create and manage versions of your files, and it’s distributed because there is no server. What is a git repository? A git repository is a … Read More

WordPress Local Install Instructions

[Quick guide written for internal DD9 use, published for the good of mankind.] This is a rough guide, since I don’t have a specific project to test it on. When we get there, I’d like to test it out myself to improve this document. That said… 1)  Download and Install MAMP/XAMPP There are XAMPP downloads … Read More

How to Add a PDF Link in WordPress

Below is a quick screencast illustrating the two methods for adding a PDF link to a WordPress Post or Page.  If you’d prefer a non-video explanation or an additional resource, you can download this screenshot, which includes similar instructions to those covered in the video.

Attaching .docx files via PHP

Interesting bug today: A client’s web form takes file uploads and forwards them as email attachments. Script works great for .doc files, but .docx files end up as mysterious attachments with filenames like ATT00010.txt, whose content starts with this: application/vnd.openxmlformats-officedocument.wordprocessingml.document; name=”filename.docx” Content-Disposition: attachment; filename=”filename.docx” Content-Transfer-Encoding: base64 This “header” is followed by a bunch of base64 … Read More

IE9 Disappearing Content Bug

After installing Internet Explorer 9, I began cross-browser testing the DesignDivine sites.  IE9 destroyed the layouts of at least a half of our websites with no discernible or obvious patterns.  Large content areas were missing from new and old sites alike.  Each of these sites was compatible with IE6, IE7, IE8, FireFox , Chrome and … Read More