Moving from sites/all

Submitted by Erik on Mon, 05/23/2011 - 16:46

Recently, we have been moving away from using sites/all to store modules and themes because we heavily use multisite setups and need to keep the sites contained and independent.

To change a site away from using sites/all, I djinn'ed up a drush command that looks to see what's being invoked from sites/all.

Localhost and Drupal Multisites

Submitted by Erik on Thu, 11/11/2010 - 02:20

So I have set up my localhost with MAMP and I don't want to muck about with Dynamic DNS or constantly editing my /etc/hosts file to be able to bring down Drupal sites from multisite installations on our company servers.

At work, we run a bunch of Drupal sites out of a single Drupal code-base (aka multisites). There are lots of domains, subdomains, etc. There's no problem at work for this, we've got it under control, but when I want to pull one of those sites down to my Macbook to do some playing, I have to do things a little differently.

Login Destination snippets

Submitted by Erik on Wed, 11/03/2010 - 15:03

Typically, upon login, users are directed to the page from which they logged in. If that is "/user" then you are brought back to the user profile page. If you would like people to be sent to specific pages after logging in, there are a couple of modules that can help. LoginToboggan (http://drupal.org/project/logintoboggan) is one of the most common login tools, and as the project page shows, it does many different things from allowing users to login with their email address, giving you a small horizontal login block.

My birthday present -- Sept 6

Submitted by Erik on Mon, 09/08/2008 - 15:54

I remembered in the morning that my father had at least one if not all of the Pirates of the Caribbean movies on DVD. So off to my parents house to raid the movie Library. While there, I got the second and third Pirates movies, the second Matrix movie (just in case there was something about the Oracle from the Matrix) and just for good measure, a new Dilbert book.

I watched the third Pirates movie first because it was "At the End of the World" and about half way through got to this dialog:

My birthday present -- Sept 3

Submitted by Erik on Sun, 09/07/2008 - 01:40

So on my actual birthday, I thought briefly of going on my quest before work, leaving at 5:30am or so. But fate, tiredness, and kids who needed to get ready for the first day of school put a damper on those plans. So I remained patient and waited until my important meetings were over at work and decided that on my birthday, I could leave a little early. At 3pm, I left for Ipswich. It was a beautiful day to be on the road with the windows down and the country music playing.

RT Owner Summary

Submitted by Erik on Thu, 03/27/2008 - 13:05

I have two Elements that I have in $RT_HOME/local/html/Elements

  1. QuickSearch
  2. OwnerSummary

which serve to expand the Quick Search sidebar to include ticket owners and the number of tickets in their queues. The list of Queues is editable and it seems to work well to keep a fairly quick view of the status of tickets that are owned.

These Elements work for me, but I haven't done any testing to see if they are really bullet proof for everyone. Feel free to use and adapt as you will.