Theme developer module (part of the devel module in drupal 6)

Submitted by barnettech on Mon, 11/23/2009 - 11:43

For help in theming install the Theme developer module.

For Drupal 6, this module was part of the Devel project. For Drupal 7, it is its own project, but relies on the Devel module as a dependency.

Click on any element to see information about the Drupal theme function or template that made it. Page 400 of Using Drupal, by O'REILLY

Creating an event via the salesforce php api

Submitted by barnettech on Fri, 11/20/2009 - 11:25

Credit goes to this url for this post. I repost in case his site goes down and the info is lost.
The object to update or insert a new calendar event is the "Event" object in salesforce

There are 4 required fields that need to be inserted in order for the event to be added to your instance of Salesforce.

Assigned To
Start (date and time)
End (date and time)

Those API field names are

How do I kill off a program in windows from the command prompt

Submitted by barnettech on Tue, 09/08/2009 - 17:06

Using ctrl alt del and killing off a program through the gui is painful and takes many tries. Use taskkill /IM notepad.exe from the command prompt to kill off a process. To kill off firefox which is hung for example you would use taskkill /IM firefox.exe There is other other options for this command as well which are easily googled. Or contact barnettech for help if you like at

Is there a tool for making working with XML and XSLT easier

Submitted by barnettech on Tue, 09/08/2009 - 17:02

I was recently asked what is the best tool for working with XML and XSLT. Stylus Studio is an awesome tool. It will load up your xml document and will autocomplete the xpath for you. It will give you all your possibilities for each level of the xpath you're at making getting to the data needed very very easy. It makes using XPATH even fun if that is not too nerdy to admit.