Lullabot

Jan
1
2009

Hard coded IDs in Comment Module

Starting the new year off with some Lullabot podcast listening while the little one naps. There are lots of blog posts to come from it on various topics. The latest podcast is a live show of a question and answer session from Do it With Drupal.

The first question that kicked off the session was about frustration in theming comments and the comment form in Drupal. As the answers say on the on the podcast this is slightly better in Drupal 6 than it is in Drupal 5. However there's a pretty serious bug that rapidly becomes a deal-stopper when trying to do much with comments. The problem lurks in comment_render(). And following that link you'll notice it's not fixed in Drupal 7 yet either.

Fortunately there is an issue on Drupal.org for working on it. However to date we haven't really solved the problem. On one level the current solution which basically moves the theming function basically makes overriding the theming of comment lists possible but a better way is needed. The problem with the current solution is it's too specific to comments. There are other places where it would be very handy to be able to pass a nested array and have that rendered either in a threaded or flat version for comments as well as any other place a module might want to generate a list items to be displayed in a similar way.

Jan
16
2008

Lullabot workshops and server rebuilds

Lullabot LogoIt has been a busy 2008 so far. I spent the first full week of the year at the Lullabot Drupal API workshops in beautiful, rainy, Portland. It didn't take long to figure out that I also really wanted to head off to the themeing workshops in February as well. I came home ready to wrap up a couple of projects and spend countless hours working on patches and uber-cool modules and hacks for all kinds of sites.

All went well on Sunday as I moved several sites and did a little database trickery to make things hum along. When I shut down for the day early Monday morning things were buzzing right along. Murphy, however, was hard at work. A problem with the server resulted in the need to rebuild the whole box from scratch. Even more fun it is a remote server and the backups weren't working as well as they should have been.

Syndicate content