Drupal 6 Bulk Redirecting Urls

Trying to do bulk redirection through the path_redirect (D6) or redirect (D7) admin is... painful. You need to enter them one at a time. Staring down a list of a couple hundred can take a full day away from you. This handy function can be run through a drush script to redirect an array of paths anywhere you like in seconds.

Tags: 

QuickBooks Application Error "Request failed with code 500: You are accessing incorrect cluster for the specified company, please double check your base URL.-11017SERVER" Resolution

Ran across an error attempting to setup a quickbooks application. After managing to get the developer account testing us authenticated, the actual request to get vendor details was failing with the error message "Request failed with code 500: You are accessing incorrect cluster for the specified company, please double check your base URL.-11017SERVER".

Tags: 

Affecting The Vary Header in Drupal 7 Cached Pages

I came up against a situation I imagine is not very unique, but is very frustrating for a client today. Thanks to updates in Google's algorithms we're adding an extra header Vary to all of our sites that run multiple themes based on user agent detection. It my case, it is the theme switching, but if you vary even for little things, it's not a bad idea to declare that variance. You not even be varying by User-Agent. But, if you hit the Drupal 7 caching layer, you're going to have a bad time.

Tags: 

A generic, lazy loading, self dependency resolving geolocation javascript service object

I've been working on upgrading a client's form autofill options. Right now, they have server side ip sniffing, and forms I'm unable to cache because of the defaulted information. So, blank forms with client side geolocation through the the javascript navigator object is required. I've done this kind of thing before, but it's always been on the page, assuming everything would work. This time around, I'm doing things a little differently, anticipating using this over and over for their many forms. So this time, I'm playing by a few new rules...

Pages

Subscribe to Fragmented Thought RSS