Skip directly to content

Error message

  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1818 of /homepages/0/d190592849/htdocs/spiffboy/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1818 of /homepages/0/d190592849/htdocs/spiffboy/includes/database/query.inc).

development

Fixing accidentally merging to master (instead of develop) branch

on Thu, 03/31/2011 - 17:33

Recently a friend ran into an issue where the branch they thought they were working on was the development branch when in fact it was the master branch. She was asking how to get the changes she had just made, back into the development branch since they were on the master. Since these branches had been at the same commit prior to the work she had done the solution was simple, checkout the development branch and run git merge master and this solved her issue.

Drupal.org issue queue and how to use it.

on Tue, 03/22/2011 - 23:14

At the DBUG meetup tonight we spoke about the issue queue on Drupal.org and how to use it. jyee and sreynen walked everyone through a theoretical case where a contributer and a user interact through the issues queue in order to resolve an issue. Though it was fun to watch as they went back and forth posting an issue to posting a patch to finally closing the issue there were some key things to keep in mind regarding the issue queue.

When to node_load and when to access the db directly in Drupal

on Wed, 01/05/2011 - 23:45

node_load() in Drupal 6 is very efficient in that when you load a node it will keep the fully loaded node in a static array. This means, for example if you load nid 23 and need information from that node in a different place, you can simply call node_load(23) and it will return the previously loaded node. There is no charge to you.