Developer help

MamaGubs's picture

When is it time to write a module?

I have a "system" that I have built in Drupal 6 for tracking employee time off. I used actions, triggers and php snippets to get this all working. I have a form for creating a time off request, which launches an approval workflow and email notifications, and that ends with (if the time actually taken) a record that records that time, and reports that HR uses for determining vacation and sick balances.

Read more
Anonymous's picture

Custom modules in Drupal 6x

Hi guys.

I've been trying the forums at and have been hanging around the IRC till someone finally suggested I should try here.

My background is 4 years of website development on the .NET platform using CMS. The framework of the CMS is based on MOSS 2007 framework.

So I'm used to defining the main layout structure in the Masterfile (page.tpl.php in Drupal) and the content placeholders (regions in drupal).

So this consept is pretty similar to Drupal. I have made a page.tpl.php file and defined the different regions (Top, main and right).

Read more
Alex UA's picture

Drupal Dojo + =

During the Drupal Dojo Birds-of-a-Feather meeting at DrupalCon Boston we discussed two seperate items that I believe are interconnected: figuring out how to get more video lessons into the Dojo and doing a better job of attracting more potential teachers and students to the site. To address the first of these issues, I committed myself to doing outreach to individuals and companies who are creating video-based instructional materials to try and get them to submit their work to the Dojo. After that session I started to look around the series of tubes known as the "Internet" and I found quite a few videos. But, what I also noticed was that a good percentage of those videos already are being shared with the Drupal community, but through rather than the Dojo, which oddly doesn't seem to appear on the videocast pages at all. This brought to mind something that I've heard Josh and others talk about, the idea that we should consider moving the dojo to something more aligned with itself, and I have to say that the more I think about it, the more sense it makes to me.

So, my question is this: does it make sense to consolidate our collective efforts in one location that is better connected with d.o. itself? Something like, or possibly as a subsection of a <a href=">tutorials section of the site (which is where the videocasts now sit), which could be called something like

Read more
brianV's picture

Challenging Drupal Question – Inventory System

A client has asked me to build them a sort of 'inventory system', and I would like to build it using Drupal rather than writing a custom solution for it. However, there are a few things I would like to get some dojo feedback on.

These are all tasks I could do if writing the site from scratch. However, I want to do it in 'the Drupal Way' and take advantage of as much of the existing Drupal infrastructure as possible, so I would appreciate any advice on ways to best do this in Drupal.


The first challenge is in the structure.

Read more
brianV's picture

Holding accounts of a certain role for admin approval

I have a feature requirement I am trying to work out for a new site I am building for a client. However, I am not sure how to proceed with this feature, and would like some advice. I've tried posting in the regular drupal forums, and asking in the various IRC chats, but have not been able to raise any suggestions, so now I turn to you!

Read more
ryan_courtnage's picture

Drupal development & deployment

I'm part of a tech startup who is basing our website off of Drupal 5.

We have a small team of developers who work on building the site simultaneously. We use subversion for code management. In previous (non drupal) environments , working together was easy: all the functionality, content, roles, etc were hard coded right into our code and template files.

Read more
add1sun's picture

Clean up some code - Video on Coder module

Code Cleanup with Coder module: This is a 9 minute video that shows me doing a little code cleanup on pathauto module using the cool Coder module. This is a great tool for pointing out secure text and coding standards issues in your code. This is also an easy way to get involved with rolling patches for modules that you use.

Read more
add1sun's picture

OMG, another vid - Checkout Drupal HEAD from CVS

OK, starting to feel like I'm spamming everyone. This is a really short, 6 minute, video that shows you how to use command line to checkout a copy of Drupal's HEAD version to your localhost. Assumes you have a local webserver set up and db created already.

Read more
add1sun's picture

New Video - Applying Patches to Drupal Core

Hey folks, I've got another video out, Applying Patches to Drupal Core - there is .mp4 and .mov and a torrent for the .mp4. This one is just as quick and dirty as the last one - it is 12 minutes. It shows you how to use the command line to apply, test and reverse patches for Drupal core. This is a great way to be part of core development even if you know nothing about code. The developers are writing the patches but they need many eyes to test them and see if they really work in a wide variety of use cases.

Read more
add1sun's picture

Dojo HowTo -- Rolling Patches (video tute)

Hey all, I created a little video on how to roll patches the other night when I had an easy patch to do. It is not the best quality since I didn't really plan it out ahead of time but folks new to patching may find it helpful. I also wanted to show you don't have to be patching "code" but that you can also do patches for documentation. It has been added to the Patches section of the Handbook since you really should read the patch documentation and not just watch the vid. ;)

Read more
Subscribe with RSS Syndicate content

Drupal Dojo

Group organizers

Group events

Add to calendar

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week