Blogs
Workhabit is hanging out in the biggest city in Europe: London! We’re a silver sponsor at Drupalcon London. Several of our core team are out and about spending a week or two of August hanging out in London.
Come by and see us, or drop us a line if you’re there and want to connect.
We've all seen it, those darn blocks that have to appear in-line in a node body, but we're often left scratching our heads as to how to get it in there.
The problem is that regions are only surfaced to the page template, and the region we need to add is a div inside of a node.
Well, with a couple of simple theme overrides, you can get there, and make it performant as well. read more »
…Ran into an issue where Backup and Migrate wasn’t cleaning up after itself - mysql dumps were sitting in /tmp, stacking up, and causing disks to fill up.
Even if it were cleaning up after itself, I’m dealing with a clustered site. It’s my understanding that cleanup should occur on cron - but running cron on every webserver is kind of, well, meh.
Since I’m a believer that all problems can be resolved with perl, the following script can be invoked via system cron, and will clean up any backup_migrate_*.mysql files that are older than one day.
In the past year, we've worked with a number of fantastic clients. One of the things we've seen repeatedly is a desire by some clients to do work that is a "port" of the existing site to Drupal technologies. This is often not the right approach. read more »
Drupal without drush is like a burger without cheese. So when, in the course of human events, it becomes necessary to ensure that a specific version of drush is installed on a number of systems in a standard location, falling back to your distribution’s package management system is probably a good idea.
Thus, I’ve hacked together a quick script that’ll grab a version of drush and turn it into a noarch binary RPM, suitable for use on RHEL/CentOS (and probably Fedora, for that matter). read more »
If you are running Drupal websites locally on your computer using the MAMP / MAMP Pro stack and are experiencing abnormally slow page loads, there are a couple of steps that should be taken to help increase performance.
The obvious approaches are to check your php.ini settings and insure that your allocated PHP memory is sufficient to your local needs. Additionally, making sure that my.cnf has been configured to support database loads and performance is also a must, however MAMP does a fairly good job of giving you what you need out of the box. read more »
This weekend will see hundreds of Drupalers swam into New York City to attend it’s 8th Drupal Camp. We’re excited to be attending the Camp, and are super stoked that we have three speakers from WorkHabit running sessions: Joshua Jabbour is going to take us on a discovery of GIT http://groups.drupal.org/node/71058 Eric Duran is going to show us HTML5 and Drupal playing together Wes Roepken is planning on taking a BOF session on why Apple is near to the best dev platform for Drupal So let’s hope if you’re planning to be in NYC this weekend, you stop by and come play with us!
Prerequisites:
We’ll be doing some git-retrieval, meaning we need git installed. Being a sysadmin by trade, I’m naturally lazy, so I’m happy to just pull the git package from EPEL.
As for the rest, we’re doing some compiling - so, it’s necessary to make sure gcc-c++/etc. are available. read more »
In a recent discovery credited to Aaron Stewart here at WorkHabit, it was found that there is an issue converting the cache_router and / or semaphore tables from MyISAM to InnoDB on a Pressflow database. read more »
