Practical lesson: An autocomplete nodereference field that is dependent upon a choice made in another
(Introducing the shiny new "Dojo Practical Lesson" format)
Problem statement
If you need to do this, feel free to use this code. If you can think of ways of improving it, please join in.
So I have three content types with additional fields added through CCK.
Content type one: Company
Content type two: Contact
Content type three: Ticket
The Company content type has a nodereference field where Contacts can be filled in (multiple autocomplete field).
Read moreLightning Lesson: Dmitrig01 turns a PSD into a Drupal Theme (part 1 of 2)
In a new format, dmitrig01 offered to share his screen while he turned a PSD into a Theme. This is part 1, in which the theme is translated into Drupal-friendly HTML. Part 2 will cover the final process: making it into a theme.
Grab it here (alternate mp4 link here)
There is no audio, but simplymenotu asks a number of helpful questions in the always-visible IRC log.
It's an experimental format, but it was very easy to produce on the fly. I'm very curious what people think of this format.
Read moreLesson #8 Class Notes wiki -- db_rewrite_sql() and the Drupal 5's node_access system
Last updated by victorkane on Sat, 2007-03-31 00:33
Dojo Lesson #10 -- TinyMCE
This Sunday, the Drupal Dojo welcomes Kevin Reynen to the teacher's chair. Kevin is currently maintainer of the highly-popular, but also full-of-gotchas, TinyMCE module.
The lesson plan is available here. Join us in #drupal-dojo, and in our live session environment to take part in the lesson.
Kevin develops Drupal modules aspart of his position as the Integrated Media Coordinator for the Reynolds School of Journalism and Advanced Media Research. Kevin works with graduate students studying interactive journalism to develop projects that move readers for simply being informed to taking action. He will also be presenting at OSCMS about the process they used to teach non developers the development process. For more information, check out OurTahoe.org.
Read moreDrupal Dojo at OSCMS
Just a quick note for everyone: the Dojo has a couple of events around the upcoming OSCMS Summit next week in Sunnyvale California. We have a session scheduled for Friday afternoon which I will lead:
http://2007.oscms-summit.org/node/206
This will cover the brief history of the Dojo, and talk a bit about where it's going, but the focus will be on how the model and technology stack can be replicated by other groups. This session is intended for the general public, and while I'd love help presenting and explaining our group (leave me a comment if you're interested in that), if you'd rather check out some of the other great sessions going on at the same time, they're likely to have more new information for you.
For the Dojo Faithful, I'm also organizing a BoF (Birds of a Feather) gathering on Thursday after the scheduled sessions wrap up:
http://2007.oscms-summit.org/node/208
The location is TBA. I'll try to find a good place to have a happy hour from 6 to 7 or so. Very likely what will happen is we'll all meet at some spot on the Yahoo Campus, and take it from there.
Read moreDojo Lesson #9 -- Getting Started with Drupal Development
[Bumped --joshk]
Arising out of the Coffeetalk yesterday we are seeing that while we are making some breakneck pace in educating about the basics of drupal, we might not be so hot on keeping people up to speed on how the drupal dev community works, what projects are, and how to best work on new code with your fellow devs, and such.
Dojo Lesson #8 -- db_rewrite_sql and node access
(Coming March 4th, 2007) I'm very excited to announce that this Sunday's dojo lesson on Drupal 5.0's node access system will be taught by Andy Kirkham (aka ajk^ in IRC)! Check out the notes for details on what will be covered. The time is the usual Sunday at 11am PST / 2PM PST / 8pm CET.
Join us in #drupal-dojo, on Skype and in our VNC screencast for all the fun. As usual, this will be recorded and documented for those unable to make it to the live lesson.
Andy is currently a Drupal.org CVS administrator, site document maintainer, a member of the Drupal security team and is maintainer for a clutch of Drupal modules and plays an active role in the Drupal developer community. He's also a trained electrical engineer and a busy consultant both sides of the Atlantic. Three cheers!
For more information about the Drupal Dojo, see our g.d.o page or check out the recently-unveiled drupaldojo.com.
Read moreDojo Lesson #8 -- db_rewrite_sql() and the node_access system
UPDATE: Andy Kirkham (ajk^ in IRC) has volunteered to do this lesson this Sunday! Cheers! --joshk
This lesson will provide an introduction to db_rewrite_sql() and Drupal's node access system. What is db_rewrite_sql() and why should I care? Initially, we'll create a basic module that uses hook_db_rewrite_sql() to implement a basic node access system that demonstrates what happens internally.
Once the concepts are grasped we'll lift the hood on some Drupal access control contrib modules and see how these work using Drupal's node grant system.
Read moreThe International Time Zone poll
The International Time Zone poll was a huge success. We've seen that there is an fair amount of interest in the dojo from timezones across the world. It's too bad the Advanced Poll got messed up, but I saved a screenie of it. The original poll is now closed, and here are the results:

What does this mean?
What does this mean for the dojo's future? Is it possible to begin having classes taught by ninjas in other timezones? Could we start this process as early as the April 1st, 2007 lesson?
Read more
