Unedited IRC log of lesson #1

Events happening in the community are now at Drupal community events on www.drupal.org.
victorkane's picture

It's all here, actually... dig on through...

(22:02:37) josh_k: we're just getting started
(22:02:37) AndyDev: 1 minute?

(22:02:38) scroogie: victorkane: claro ;)
(22:02:42) drupal left the room (quit: "Snak 5.1.5 IRC For Macintosh - http://www.snak.com").
(22:02:43) chx: I actually happen to be awake
(22:02:52) chx: and plan to be up for another hour
(22:02:57) Squidster: Second Life actually seems sort of creepy...
(22:02:59) savejonas: i don't have enough time for firstlife
(22:02:59) samtresler: I have a First Life I'm having trouble with already
(22:03:07) josh_k: lol
(22:03:08) savejonas: ditto
(22:03:16) Squidster: maybe it's just all the Something Awful griefers spreading discord.
(22:03:23) josh_k: chx:  oh man, so you can point out where I make mistakes
(22:03:26) AndyDev: should we adveritse at #drupal-support ?
(22:03:28) efolia: ill just play half life again
(22:03:38) mcarbone: I went to a lecture once on SecondLife.  It was like irc without the etiquette.
(22:03:39) samtresler: advertise?
(22:03:42) AndyDev: WOW is my second life :FD
(22:03:47) IslandUsurper: Something Awful usually tries to make fun of the creepy ones
(22:03:52) AndyDev: to point to the group class
(22:03:59) IslandUsurper: ...by going overboard
(22:04:10) webavant: I think it would be cool to set up a SecondLife portal to Drupal
(22:04:12) Squidster: rock
(22:04:26) katrina [n=ambereye@pool-141-156-138-29.res.east.verizon.net] entered the room.
(22:04:30) josh_k: WE'RE GONNA START IN A MINUTE!
(22:04:35) josh_k: so
(22:04:36) Squidster: so, do we all shut up then?
(22:04:43) josh_k: if you want to get on skype, and need help
(22:04:46) scroogie: hola katrina, got your skype ready? ;)
(22:04:47) josh_k: let's take a minute for support
(22:04:59) sgrover: is the skype thing needed? I only have the IRC bit (so far), working on JRE for webhuddle
(22:05:04) AndyDev: yes
(22:05:05) shanebee: Rock and roll.
(22:05:06) dww: yes
(22:05:07) scroogie: ya check check
(22:05:07) ajwwong: what's the skype address?
(22:05:17) ianw_ [n=chatzill@201.240.72.207] entered the room.
(22:05:20) josh_k: it is in the lesson plan
(22:05:23) dgrantwork [n=david@216.13.217.231] entered the room.
(22:05:25) shaal: https://skypecasts.skype.com/skypecasts/skypecast/detailed.html?id_talk=...
(22:05:25) josh_k: it's not *necessary*
(22:05:26) Squidster: can we talk on skype, or is a one-way thing?
(22:05:40) erik_ [n=erikG4la@c-75-71-15-9.hsd1.co.comcast.net] entered the room.
(22:05:46) AndyDev: webhuddle is lagged
(22:05:46) scroogie: skype:+99001110027570020?call&token=186577&topic=Drupal+Dojo+-+Class+1
(22:05:55) sgrover: Thanks Josh
(22:05:56) AndyDev: just now I saw you typing <@josh_k> WE'RE GONNA START IN A MINUTE!
(22:05:57) shanebee: Suggest muting microphones if not saying much.  ;)
(22:06:01) ajwwong: thank you
(22:06:13) jwolf [n=jwolf@68-234-90-94.lndnnh.adelphia.net] entered the room.
(22:06:29) piersonr [n=piersonr@68.33.221.48] entered the room.
(22:06:38) ***Squidster rummages for pencil/paper
(22:06:52) ***Squidster is not down with sissy newfangled technologies of recording
(22:06:52) AndyDev: josh_k: webhuddle is lagged
(22:06:58) AndyDev: like 15 secs
(22:07:09) sgrover: pencil/papper?  You're on a computer - use a text editor.. :)
(22:07:13) Nick_Schoonens [n=Schoonzi@203-206-58-17.dyn.iinet.net.au] entered the room.
(22:07:32) scroogie: that was a pretty strong echo
(22:07:32) josh_k: check out the lesson plan if you want skype conference info
(22:07:51) josh_k!n=joshk@pool-151-202-8-241.nycmny.east.verizon.net: josh_k has changed the topic to: skype:+99001110027570020?call&token=186577&topic=Drupal+Dojo+-+Class+1
(22:07:51) keithsmith [n=keithsmi@67-54-233-8.cust.wildblue.net] entered the room.
(22:07:56) Squidster: text editor's don't have pressure sensitivity. :P
(22:08:05) IslandUsurper: great. Adept crapped out on me...
(22:08:13) sgrover: True.. I go through SO many keyboards.. :)
(22:08:19) dgrantwork: will the skype audio session thingy be recorded for later listening? I don't have speakers or headphones right here
(22:08:26) samtresler: yes
(22:08:32) andyl [n=chatzill@h-68-164-254-138.mclnva23.covad.net] entered the room.
(22:08:33) scroogie: dgrantwork: josh is recording it
(22:08:33) Bdragon: meh, my version of skype is like a year old, and the new version's 19 megs... >.<
(22:08:41) dgrantwork: scroogie: samtresler: cool
(22:08:42) sgrover: @IslandUsurper - if adept is doing what I think it is, show the messages, then hit the enter key
(22:08:51) dgrantwork: Bdragon: are you on dial-up?
(22:08:54) Bdragon: YEah
(22:09:12) add1sun [n=add1sun@c-69-140-136-37.hsd1.md.comcast.net] entered the room.
(22:09:20) shaal: you can try call this number inside skype: +99001110027570020
(22:09:29) IslandUsurper: it's only showing half the EULA, sgrover. it's not taking my enter key
(22:09:34) Ogredude: if you don't understand the Tao of Drupal, you end up ranting and raving that "Drupal can't do such-and-such!"
(22:09:34) eretico_scumunic: yep did the dame will work
(22:09:35) ***Ogredude blushes
(22:09:37) dgrantwork: why does every drupal developer that I've seen, use mac os x
(22:09:48) Morbus: because we care about working on drupal, not fighting the OS.
(22:09:50) Morbus: ;)
(22:09:55) Bdragon: Anyone wanna retransmit a low bandwidth icecast? ;)
(22:10:09) humble [n=scott@65.61.206.28] entered the room.
(22:10:12) chx left the room (quit: Read error: 104 (Connection reset by peer)).
(22:10:13) sgrover: IslandUserper - hit the tab key and then enter (initial focus is on the scroolbar)
(22:10:15) Squidster: bdragon: I'll phone you and shout the ones and zeroes down the line. Might be faster. :P
(22:10:22) dgrantwork: lag test
(22:10:26) mikey_p left the room (quit: Remote closed the connection).
(22:10:41) josh_k: is this working
(22:10:45) designguru: hey people!
(22:10:45) josh_k: any questions before I go on?
(22:10:49) efolia: yep it is
(22:10:52) IslandUsurper: sgrover, that didn't work either, I couldn't get the scrollbar to move at all, and I'm serious when only showed half the terminal emultor
(22:10:56) shanebee: Working great over here.
(22:10:57) IslandUsurper: emulator*
(22:10:57) dgrantwork: yeah that lag is pretty bad
(22:11:01) designguru: man, i totally forgot i was in BC - luckily I got that reminder email
(22:11:13) webavant: dgrantwork: its refresh is slow
(22:11:14) katrina: I gave up on the web huddle, just a blank screen
(22:11:20) mcarbone: I don't have much of a lag.
(22:11:27) WimLeers: it crashed safari again :(
(22:11:30) sgrover: katrina - need Java JRE
(22:11:31) Squidster: Sorry, Josh, could I ask you to talk just a tiny tad slower? I'm dropping the occaisional packet and some of your words are freakishly combining.
(22:11:32) designguru: i have about a 25second lag
(22:11:32) eretico_scumunic: works pretty fast over here
(22:11:35) josh_k: WimLeers:  firefox
(22:11:41) josh_k: I will talk slower
(22:11:43) eretico_scumunic: 4 second lag
(22:11:44) ***josh_k talks to fast
(22:11:45) Squidster: thanks - sorry.
(22:11:51) josh_k: it's a known bug
(22:11:51) josh_k: ;)
(22:11:53) katrina: oh great another download ...next time
(22:11:59) scroogie: designguru: is the whole chat window shown?
(22:12:12) eretico_scumunic: yes
(22:12:15) WimLeers: josh_k: yes, using Camino for just the screencast now...
(22:12:19) josh_k: anyway, any other questions before we move on?
(22:12:40) scroogie: whats this really all about?
(22:12:41) josh_k: ok
(22:12:42) shanebee: Sold.
(22:12:45) Squidster: technical problems with Skype should probably be discussed in drupal-support
(22:13:45) mikey_p [n=mdp@cpe-76-168-113-232.socal.res.rr.com] entered the room.
(22:13:45) Drunkguy [n=matt@c-69-244-235-54.hsd1.va.comcast.net] entered the room.
(22:13:45) scroogie: what, this is not about joomla??
(22:13:45) scroogie: :P
(22:13:45) IslandUsurper left the room (quit: "Konversation terminated!").
(22:13:58) ***calebg poor #drupal-support. We need #drupal-skype-support don't we?
(22:14:17) sgrover: brb
(22:14:17) sgrover left the room (quit: "Konversation terminated!").
(22:14:37) webavant: seems like everyon is up to par
(22:14:39) AndyOfLinux: ack - what mod added "object struct" tab?
(22:14:39) designguru: scroogie: yes, it looks good
(22:14:42) webavant: anyone need a hand?
(22:14:50) Bindu: devel mod
(22:14:50) dww: AndyDev: devel.module
(22:14:51) jdami: is it started already? can't hear a word
(22:14:56) Hory: yes it has
(22:15:01) webavant: jdami: are you logged in?  http://groups.drupal.org/node/2256
(22:15:03) scroogie: jdami: logged in into skype?
(22:15:15) zacker: webavant: cant seem to get the screencast to work.... is it working for other people?
(22:15:16) bot_module: http://groups.drupal.org/node/2256 => First Lesson Plan => 12 IRC mentions
(22:15:21) webavant: zacker: yes
(22:15:25) Squidster: (query: object structure is referred to as devel_load or devel_render in 5.0? is there a distinction?)
(22:15:30) mikey_p left the room (quit: Remote closed the connection).
(22:15:32) zacker: (Firefox says 'applet fails' safari hangs' for me..)
(22:15:33) zacker: weird
(22:15:34) dww: devel_load
(22:15:39) jdami: scroogie: i was there, now re-joining
(22:15:58) webavant: zacker: try another browser... or restarting browser
(22:15:59) scroogie: jdami: thats why you cant hear anything atm ;)
(22:16:02) chx [n=chx@pdpc/supporter/professional/chx] entered the room.
(22:16:04) zacker: ok
(22:16:04) sgrover [n=sgrover@68.144.188.211] entered the room.
(22:16:08) Bdragon: (Both are different ways of looking at object structure.. Has to do with the new form stuff)
(22:16:14) webavant: anyone else having a problem with the screen or skype?
(22:16:21) Ogredude: 
(22:16:21) WimLeers: dww: indeed, in D5 it's Devel Load, not object structure...
(22:16:29) sgrover: webhuddle not loading for me... :(
(22:16:44) webavant: sgrover: have you tried another browser or computer?
(22:16:47) IslandUsurper [n=lyle@74-130-194-239.dhcp.insightbb.com] entered the room.
(22:16:49) sepeck: in Drupal 5.0 that has been changed from   to 
(22:16:52) Squidster: (note: Timestamp looks like ten-digit random numbers, but is actually based on the unix timestamp.)
(22:17:11) Squidster: (from January 1st, 1970 on, 1 second at a time. So a boatload of seconds.)
(22:17:27) sgrover: webavant: yes, I'll boot up my laptop in a moment
(22:18:00) chx: sepeck: in RC1. It might be changed back or changed to a variable. It is a hot topic ATM.
(22:18:02) Squidster: (read: metatags.)
(22:18:10) jdami: I am in skype now, still can't hear anything :(
(22:18:28) webavant: jdami: did you join the skypecast?
(22:18:33) calebg: A lot of people may have missed since they're in here. 4.7.5 is official now.
(22:18:36) calebg: :)
(22:18:42) ajwwong: webavant:  having problem with screen:  https://www.webavant.com:8443/
(22:18:59) webavant: ajwwong: what is the problem?
(22:19:05) jdami: webavant: yes i did and I could hear josh talking and all of a sudden no sound at all
(22:19:09) zacker: got it work webavant
(22:19:15) webavant: zacker: sweet
(22:19:18) dasil003 [n=dasil003@c-68-35-45-156.hsd1.nm.comcast.net] entered the room.
(22:19:18) keithsmith left the room (quit: ).
(22:19:23) shaal: jdami: can u try call again?
(22:19:50) scroogie: fancy transparent shell
(22:19:52) glendac left the room (quit: Connection timed out).
(22:19:57) mikey_p [n=sararhod@cpe-76-168-113-232.socal.res.rr.com] entered the room.
(22:19:58) webavant: ajwwong: can you login and see the list of people in WebHuddle?
(22:20:11) Squidster: (think as in groups of families, like a taxonomy of 'animals', with sub-terms like cat and dog.)
(22:20:13) ***IslandUsurper sighs.
(22:20:14) jdami: shaal: tried a couple times, no use...
(22:20:41) andyl: will the audio and screencast be archived?
(22:20:44) ajwwong: webavant: just a sec... i am in but I see "web huddle"
(22:20:46) sepeck: make sure you have the latest version of skpe
(22:20:50) webavant: andyl: yes
(22:20:50) shaal: what's your skype alias?
(22:20:58) eretico_scumunic: audio is being recorded
(22:21:00) ajwwong: webavant:  and no people
(22:21:08) dgrantwork left the room.
(22:21:18) webavant: ajwwong: did you log in?]
(22:21:18) dfletcher left the room (quit: "Leaving").
(22:21:21) andyl: this is a sweet conferencing mash-up - working very well.
(22:21:22) ajwwong: webavant:  it's with the username:  webhuddle@webavant.com psswrd test, right?
(22:21:26) josh_k: http://api.drupal.org/api/4.7/group/hooks
(22:21:28) josh_k: talking hooks
(22:21:31) ajwwong: webavant:  yes
(22:21:31) webavant: ajwwong: yes
(22:21:57) webavant: ajwwong: try a different browser or restarting your browser
(22:22:15) webavant: ajwwong: seems to work best on windows... there have been some problems on mac/linux
(22:22:16) Squidster: dude with teh cough, mute your mic. =D
(22:22:17) ajwwong: webavant:  ok, thx
(22:23:08) scroogie: hehe
(22:23:11) Squidster: that fiend :P
(22:23:15) andy_laken [n=alaken@h-68-164-254-138.mclnva23.covad.net] entered the room.
(22:23:22) Squidster: like your_module_hook_access or your_module_access ?
(22:23:28) Squidster: whoops
(22:23:33) Ogredude: like mymodule_access
(22:23:37) Squidster: YourModule_access
(22:24:28) dasil003 left the room (quit: ).
(22:24:30) Ogredude: I think I grok hooks better this time around, now that I know OO concepts
(22:24:42) josh_k: http://api.drupal.org/api/4.7/function/theme
(22:24:43) jaydub [n=jaydub@222.129.98.241] entered the room.
(22:24:43) scroogie: thats like the zen of development: as long as people code well
(22:24:45) scroogie: :p
(22:24:55) turoati [i=turoati@ip72-200-139-227.ri.ri.cox.net] entered the room.
(22:25:07) dasil003 [n=dasil003@68.35.45.156] entered the room.
(22:25:25) Ogredude: PHP's OO stuff is rather weak anyway.
(22:25:25) dgrantwork [n=david@216.13.217.231] entered the room.
(22:25:29) sgrover: is it me or are those of us without skype missing a whole lot?
(22:25:38) webavant: sgrover: yes
(22:25:41) WimLeers: skype does miss some parts from time to time...
(22:25:41) Squidster: sgrover: unfortunately, yes...
(22:25:43) webavant: sgrover: you are missing a lot
(22:25:50) scroogie: actually your missing quite everything
(22:26:06) webavant: sgrover: might as well download it
(22:26:09) Ogredude: he's recording it, and presumably will release it afterwards to us
(22:26:18) IslandUsurper left the room ("Konversation terminated!").
(22:26:18) sgrover: then the attending the lesson page should have marked skype as required, not recommended.. :(  (d/l'ing it now)
(22:26:18) trainer____: this is really good stuff
(22:26:25) us421: yeah I wondered if it was going to start sometime.
(22:26:29) dgrantwork: what is the number to call?
(22:26:33) shaal: +99001110027570020
(22:26:38) scroogie: josh_k: mind to wait for another second?
(22:26:43) webavant: sgrover: I think he did that because he wasn't sure how this was going to work...
(22:26:46) sepeck: http://api.drupal.org/api/HEAD/file/developer/topics/oop.html
(22:26:57) scroogie: people didnt recognize that skypes required
(22:26:58) eretico_scumunic: no
(22:27:03) AndyDev: why dont we chat on webhuddle
(22:27:04) Alliax: yes a little bit
(22:27:09) Ogredude: josh_k: no, we're waiting for a couple people on skype
(22:27:13) kdebaas: josh_k: and yes, slow down...
(22:27:19) AndyDev: then we'll see the same screen
(22:27:30) samtresler: defnitely slow down - not just talking speed but the pace you are covering this all in
(22:27:34) samtresler: if you don't mind
(22:27:55) samtresler: k
(22:27:55) mikey_p left the room (quit: ).
(22:27:59) Squidster: can we talk about some uses of theme? I'm just not quite sure how it's used. Maybe after you've run through the rest of your stuff or somewhere
(22:28:03) scroogie: yeah lets just wait a second for the people downloading skype just now
(22:28:03) Ogredude: sepeck: good link
(22:28:09) designguru: this is great - keep going!!! :)
(22:28:10) Squidster: excellent
(22:28:19) Nick_Schoonens: can skypecasts be recorded and posted as an mp3?
(22:28:27) Bindu: jeff, major lag...
(22:28:28) scroogie: Nick_Schoonens: it gets recorded
(22:28:29) Squidster: Nick_Schoonens: it is being recorded.
(22:28:31) webavant: scroogie: pretty much everyone is already in... it will be arcchived for later use
(22:28:36) Ogredude: sepeck: especially since I learned OO by reading "Design Patterns Explained"
(22:28:51) Nick_Schoonens: awesome, thanks
(22:29:08) Bindu: josh, looks like the page is not synced
(22:29:16) scroogie: us421, sgrover got it working?
(22:29:21) josh_k: I am looking at
(22:29:22) josh_k: http://api.drupal.org/api/4.7/function/theme_username
(22:29:26) webavant: Bindu: there is lag... just try to live with it
(22:29:27) josh_k: as an examples
(22:29:39) us421: never mind me, catch it later.
(22:29:40) WimLeers: webhuddle crashed? I don't see anything happening...
(22:29:48) AndyDev: me neither
(22:29:52) webavant: yeah you're right
(22:29:54) Bindu: josh, webhuddle may be broken
(22:29:55) mcarbone: webhuddle not working here either
(22:29:56) webavant: josh
(22:29:56) StumpDevil: same..
(22:29:59) sgrover: scroogie - no, kubuntu doesn't like the .db package.. grabbing the tar.gz now
(22:30:02) WimLeers: restart it?
(22:30:03) eretico_scumunic: sam
(22:30:04) josh_k: yo
(22:30:06) josh_k: hm
(22:30:10) mikey_p [n=sararhod@cpe-76-168-113-232.socal.res.rr.com] entered the room.
(22:30:19) andyl: webhuddle broke here also
(22:30:24) josh_k: most of what I want to show is links
(22:30:25) eretico_scumunic: still at theme_page
(22:30:30) Ogredude: josh_k: now hooks *add on* to functionality provided by the core and the other modules.  Is it the same with theme functions or do theme functions *override* instead?
(22:30:34) josh_k: yes
(22:30:36) designguru: incase its taxing the system he's on - next time perhaps skype and the screencast should be on different computers?
(22:30:37) Ogredude: *blink*
(22:30:38) josh_k: themes override
(22:30:43) josh_k: hooks hook
(22:30:45) Ogredude: wait a minute.  Hooks use the Decorator pattern.
(22:30:46) davidstrauss [i=davidstr@otto.dreamhost.com] entered the room.
(22:30:48) josh_k: like think of a meat-hook
(22:30:52) josh_k: they latch onto things
(22:31:02) Bindu: josh, I think skype is working :)
(22:31:09) Bindu: you can talk, we just can't see what you are doing :D
(22:31:13) WimLeers: hehe :)
(22:31:20) victorkane: post pages
(22:31:24) katrina: just give us links
(22:31:25) Squidster: links
(22:31:31) mcarbone: webhuddle was working great before
(22:31:37) mcarbone: n/m
(22:31:40) Ogredude: links is great.
(22:31:45) josh_k: http://api.drupal.org/api/4.7/function/theme_username
(22:31:46) victorkane: links is great
(22:31:47) josh_k: that page
(22:31:47) jwouters [n=chatzill@cable-87-244-184-234.upc.chello.be] entered the room.
(22:31:50) josh_k: was an example
(22:31:53) dgrantwork left the room.
(22:32:10) frando left the room (quit: "goodbye.").
(22:32:43) samtresler: So things that are in the module downloads labeled as 'Api' that say 'You only need this if..." they are sets of hooks other modules can then use?
(22:32:49) turoati left the room (quit: ).
(22:32:54) Ogredude: "You don't want to force any other admin to use /your/ HTML" <-- Yeah, because plenty of people can't do HTML worth a darn.  :)
(22:33:02) shanebee: hahaha
(22:33:25) mcarbone: (You might want to read the irc questions you answer for those who listen to the mp3 later.)
(22:33:39) blakehall [n=blakehal@mdsnwikwbas08-pool4-a144.mdsnwikw.tds.net] entered the room.
(22:33:46) Ruharen left the room (quit: "Ph34r 7h3 14cK 0f b33r").
(22:33:50) WimLeers: (good point, mcarbone)
(22:34:22) Bindu: josh, webhuddle back
(22:34:24) mattkoglin: (the visual is helpful for ADD types like me)
(22:34:26) jwolf: hook_nodeapi > http://api.drupal.org/api/4.7/function/hook_nodeapi
(22:34:38) Ogredude: link us to the webhuddle so we don't have to backscroll a bunch?
(22:34:40) WimLeers: Bindu: not here...
(22:34:46) dgrantwork [n=david@216.13.217.231] entered the room.
(22:34:50) AndyDev: webhuddle is back on
(22:34:53) Bindu: https://www.webavant.com:8443
(22:34:59) Bindu: host email: webhuddle@webavant.com
(22:35:04) Bindu: # key: test
(22:35:09) Ogredude: Bindu: thank you
(22:35:15) designguru: someone's going to post the links (or even this transcript) to the group afterwards right?
(22:35:36) Squidster: ooh, mention teh forms api.
(22:35:44) trainer____: forms api++
(22:35:45) Squidster: saucy
(22:35:50) Hory: designguru: yes
(22:35:51) canen left the room (quit: Connection reset by peer).
(22:35:55) designguru: nice
(22:35:59) samtresler: For crossreferencing purposes you might want to read aloud any questions you answer josh_k
(22:36:20) josh_k: any other lingo questions?
(22:36:20) designguru: webhuddle's still stopped on my side?
(22:36:23) jwolf: Forms API Quickstart Guide > http://api.drupal.org/api/4.7/file/developer/topics/forms_api.html
(22:36:27) kdebaas: sorry to be repetitive: but hooks:
(22:36:33) zacker: josh_k probably has to restart his share
(22:36:35) AndyDev: designguru, restart it
(22:36:47) designguru: AndyDev: ahhh
(22:36:54) sqlwiz [n=chatzill@static-host-24-149-176-75.patmedia.net] entered the room.
(22:36:59) samtresler: white screen on re-login to webhuddle
(22:37:08) AndyDev: josh_k restart your webhuddle
(22:37:11) webavant: waiting for josh to come back into josh
(22:37:12) kdebaas: hooks are the communication between drupal and modules only
(22:37:15) WimLeers: drupal_form_get
(22:37:15) Squidster: form_render?
(22:37:15) webavant: i mean to webhuddle
(22:37:16) Druplicon: form_render is usage form_render(&$elements) - see http://api.drupal.org/api/head/function/form_render
(22:37:24) josh_k: I will restaer
(22:37:35) ajwwong: webavant:  i'm in  :-) thnx
(22:37:42) webavant: ajwwong: awesome
(22:38:42) Stumpdevil_ [n=dave@204-14-63-204.adsl.delhitel.net] entered the room.
(22:39:14) josh_k: I'm in huddle
(22:39:24) Bindu: josh, not seeing your screen...
(22:39:26) ***Squidster is slightly baffled, but hopefully we'll have a separate forms api seminar some other week
(22:39:26) Bindu: are other folks?
(22:39:28) kdebaas: josh_k: what is a callback again? (lingo)
(22:39:38) eretico_scumunic: blank for me too
(22:39:41) sepeck: https://www.webavant.com:8443
(22:39:47) Bindu: josh, you have control
(22:39:47) sgrover: I agree with squidster - the forms api messed me up
(22:39:48) webavant: there
(22:39:54) Rik42 left the room (quit: ).
(22:40:01) josh_k: should be able to see me
(22:40:03) webavant: yes
(22:40:03) Bindu: yup
(22:40:04) savejonas: yay!
(22:40:04) WimLeers: back up! ;)
(22:40:06) AndyDev: we see
(22:40:06) ajwwong: awesome
(22:40:12) trainer____: http://en.wikipedia.org/wiki/Callback_%28computer_science%29
(22:40:14) shanebee: cool
(22:40:16) scroogie: kdebaas: a function which gets called by a different function actually
(22:40:18) Ogredude: sepeck: OK that http://api.drupal.org/api/HEAD/file/developer/topics/oop.html you posted is beautiful.  Basically, while Drupal is implimented entirely as a procedural thing, it's got a whole lot of OO underlying it.
(22:40:20) dgrantwork: http://en.wikipedia.org/wiki/Callback_(computer_science)
(22:40:33) kdebaas: thanks
(22:40:35) Ogredude: And now that I know OO and am starting to explore under the hood of Drupal, it's quite elegant.
(22:40:36) gusaus [n=gusaus@adsl-67-127-233-216.dsl.irvnca.pacbell.net] entered the room.
(22:40:54) Sea1 [n=sorourke@user-12hc5mn.cable.mindspring.com] entered the room.
(22:40:59) andyl: anybody getting "Misc error #10403" on skype for mac? working fine on my windows desktop...
(22:41:12) Bindu: josh, new best practice...
(22:41:16) webavant: andyl: have you updated to new version?
(22:41:17) Bindu: use sites/all/modules
(22:41:17) designguru: yikes, I gotta jet - anyone know when the recordings/archive of this session will be online?
(22:41:18) Bindu: :)
(22:41:20) dgrantwork: [OT] psst, you have 2380 unread messages
(22:41:31) webavant: designguru: I'm going to post it a bit later
(22:41:54) Bindu: advantage of not using modules directory is that you don't have core modules with contrib modules
(22:41:57) Bindu: and custom modules
(22:42:02) samtresler: blog is CCK in 5.0
(22:42:05) designguru: webavant: thnx 1milion!!!  later people, enjoy!
(22:42:09) Bindu: that was the reasoning on drupal.org :)
(22:42:41) jwolf: is there a url to best practices where files, modules, themes go?
(22:42:49) dgrantwork: Bindu: um, but can't you just make a contrib directory within the modules directory to keep them separate?
(22:42:54) shanebee: no it is good to view the process
(22:42:58) sepeck: jwolf, it needs to be updated for 5.0
(22:43:00) andyl: webavant: yes - just now.
(22:43:11) Bindu: docs also suggest that version=$VERSION$
(22:43:22) Squidster: can you post your code occaisionally to pastebin for those of us who can't get the screencast to work?
(22:43:23) webavant: andyl: works now?
(22:43:29) dgrantwork: shanebee: agree, good to see someone else doing it
(22:43:29) Bdragon: Hmm, thought it was $Name$
(22:43:42) sepeck: it is visible
(22:43:42) ajwwong: good
(22:43:43) shanebee: i can see it
(22:43:44) Bindu: josh, we can see it
(22:43:44) mcarbone: i can see it
(22:43:45) WimLeers: fullscreen, so it's fine
(22:43:46) webavant: we can see
(22:43:47) dgrantwork: josh_k: can see it
(22:43:47) AndyOfLinux: can see it
(22:43:48) Ogredude: josh_k: it's fine
(22:43:48) Bindu: fun
(22:43:54) andyl: webavant: no, getting that error with new version
(22:44:00) dasil003 left the room (quit: ).
(22:44:00) dgrantwork: less laggy now too
(22:44:20) webavant: andyl: hmm... don't know what else to suggest
(22:44:26) dasil003 [n=dasil003@c-68-35-45-156.hsd1.nm.comcast.net] entered the room.
(22:44:30) andyl: ok, thx anyway!
(22:44:50) josh_k: http://api.drupal.org/api/4.7/function/hook_form_alter
(22:44:57) josh_k: andyl:  we're talking about that
(22:44:58) Bindu: josh, do you have a firefox quick search setup for dojo api?
(22:45:01) josh_k: hi by the way
(22:45:01) Bindu: care to post that :)
(22:45:18) pjay_dml [n=pjay_dml@203.122.76.38] entered the room.
(22:45:25) josh_k: http://www.chapterthreellc.com/blog/josh_koenig/howto_creating_a_url_sho...
(22:45:32) gusaus: i'm so confused
(22:45:37) andyl: josh: working fine on my win box, but I'm getting ready to go home so setting everything up on my powerbook. Skype ain't wokring!
(22:45:39) robbiethegeek [n=RobbieTh@ool-4353b2d5.dyn.optonline.net] entered the room.
(22:45:44) josh_k: doh
(22:45:45) josh_k: sorry
(22:45:46) josh_k: next time
(22:45:47) Bindu: thnx
(22:45:52) Alliax left the room (quit: Read error: 104 (Connection reset by peer)).
(22:45:54) webavant: gusaus: don't worry... its the first time
(22:46:02) Ogredude: it's all a learning experience.
(22:46:04) gusaus: sorry - just trying to figure this all out
(22:46:35) Ogredude: I'll talk more about the whole "improving as we go along" after the session, if anyone is interested, and if someone reminds me about it.
(22:46:58) Alliax [n=chatzill@tdv83-1-82-241-64-180.fbx.proxad.net] entered the room.
(22:47:12) Bindu: josh, devel module will also display keys inline
(22:47:16) mikey_p left the room.
(22:47:27) Stumpdevil_: where was that printr ?
(22:47:32) Stumpdevil_: ah
(22:47:43) andyl: skype prob solved: can't be in skypecast on 2 separate machines simultaneously. doh.
(22:47:58) AndyDev: josh_k: I lost how you show the array
(22:48:05) sgrover_ [n=sgrover@68.144.188.211] entered the room.
(22:48:11) Bindu: AndyDev, print_r($form)
(22:48:13) zacker: AndyDev: he did a print_r($form) inside his form_alter function
(22:48:14) scroogie: print_r($form)
(22:48:15) sgrover left the room ("Konversation terminated!").
(22:48:19) zacker: nice team
(22:48:26) add1sun: then viewed source to see it pretty
(22:48:37) AndyDev: thanks
(22:48:47) sgrover_: finally have webhuddle going
(22:49:20) AndyDev: this is WAY too fast
(22:49:35) Stumpdevil_: can you cut and paste that code into irc?
(22:49:35) zacker: way to fast in terms of what he is explainign AndyDev ?
(22:49:46) webavant: AndyDev: I was just starting to feel like the pace was good
(22:49:53) AndyDev: I'm trying to reproduce some staff here
(22:50:03) zacker: ah yah.
(22:50:07) AndyDev: stuff
(22:50:11) fractal left the room (quit: " Like VS.net's GUI?  Then try HydraIRC -> http://www.hydrairc.com <-").
(22:50:19) webavant: for those of you that can't get the screen to work, have you tried a different browser or updating the JRE?
(22:51:20) add1sun: heh, is that sirens comin for josh?
(22:51:20) StumpDevil left the room (quit: Connection timed out).
(22:51:21) samtresler: So once you do the $form['#theme'] = 'dojo'  You can access this specific form for theming through template.php?
(22:51:23) Ogredude: josh_k: So this way, the theme_dojo() in the module is the default behavior, and if a theme developer wanted to change the way it looked, they'd put a _phptemplate_theme_dojo() in their theme's template.php ?  (Have I got it?)
(22:51:31) josh_k: yeah
(22:51:36) jwouters left the room (quit: "Chatzilla 0.9.77 [Firefox 1.5.0.9/2007010223]").
(22:51:54) andy_laken left the room (quit: ).
(22:52:09) samtresler: oh - got it - ... ... mostly
(22:52:22) Bindu: drupal_render
(22:52:30) Bindu: josh, drupal_render()
(22:52:31) Bindu: I think :)
(22:52:35) dww: indeed
(22:52:38) Ogredude: Gotcha.  Leading _ on _phptemplate_function() means you're overriding an existing phptemplate function.  So you'd just define a phptemplate_theme_dojo() in your template.php (The preceeding posted for the benefit of those without skype)
(22:52:51) Stumpdevil_: josh: tile your browser next to the editor
(22:53:11) phoenix911 [n=Bruce@arial.blast.com] entered the room.
(22:53:19) scroogie: i think this is it at the moment: http://pastebin.ca/306094
(22:53:36) Bindu: josh, can you close your file list in your editor?
(22:53:54) Stumpdevil_: thx
(22:53:56) Bindu: yup
(22:54:01) phoenix911: class moved from irc to skype?
(22:54:02) AndyDev: josh_k: so you're creating a module to change the theme? why not use php_template?
(22:54:42) sgrover_: phoenix911 - pretty much
(22:55:30) AndyDev: oh ok!, including showing different content for different access levels
(22:55:38) AndyDev: for example
(22:55:46) scroogie: http://pastebin.ca/306098
(22:56:10) Alliax: i don't even see the dojo module in the /admin/build/modules
(22:56:10) zacker: Allax: he created it
(22:56:15) Alliax: i say even because I have difficulty following everything..
(22:56:16) zacker: you can too! ;0
(22:56:20) scroogie: Alliax: which version do you use?
(22:56:20) phoenix911: i dont have skype, so i guess i will wait for the logs/static versions
(22:56:28) Andrew_Stillman [n=chatzill@user-12ld7dv.cable.mindspring.com] entered the room.
(22:56:46) Alliax: I know I'm creating it too and uploaded it on /modules/dojo but I thought in drupal 5 you now need also dojo.info
(22:56:52) eretico_scumunic: Alliax : need to change the .info as well
(22:56:54) zacker: yes
(22:56:54) Alliax: oops, I missed that part I guess
(22:56:57) zacker: you need a .info file Allax
(22:57:21) kdebaas: is it ok to have an empty .info?
(22:57:29) jdami: what does unset do? Is form['title'] still there but only hidden, or it's totally removed from this form?
(22:57:32) eretico_scumunic: need to edit it too
(22:57:34) Bindu: kdebaas, no
(22:57:41) Bindu: you must have a couple entries in the .info file
(22:57:48) Bindu: or the module won't show up in the add module screen
(22:57:48) zacker: jdami- it removes it from the forms array
(22:57:51) blakehall left the room (quit: ).
(22:57:53) zacker: so then it doesn't show on the form
(22:57:59) scroogie: info file: http://pastebin.ca/306100
(22:57:59) jdami: zacker: thanks
(22:58:01) zacker: ...there is a problem with that though: the title field was required
(22:58:03) Bindu: at least in 5x :)
(22:58:07) kdebaas: what is the minimum that need to go in?
(22:58:10) zacker: so if someone tried to submit that node it would complain
(22:58:31) eretico_scumunic: need a line : name = Dojo
(22:58:32) zacker: what you can do though -0 if you wanted  toh ide the title field
(22:58:46) Bindu: joshr, why print_r()? for a string?
(22:58:54) mcarbone: josh_k: what you're doing right now is affecting every form on the system, right?
(22:58:54) scroogie: kdebaas see my link
(22:58:56) zacker: is set it to a hidden field by changing the #type variable in the form element to 'hidden' and then setting the #value to some default value
(22:59:10) mcarbone: every page
(22:59:27) zacker: Bindu: print_r is php debug proint statement... you can stick about anything in it (string, array, etc.)
(22:59:39) AndyDev: josh_k: you set $form(#theme) = 'dojo' that points to theme_dojo, and $form(#validate) = 'dojo_validate that points to dojo_validate, how so??
(22:59:55) AndyDev: how does he know the names>
(22:59:57) dsiew [n=dsiew@cm197.omega37.maxonline.com.sg] entered the room.
(22:59:57) AndyDev: ?
(23:00:11) Bindu: zacler, thanks :)
(23:00:14) josh_k: http://api.drupal.org/api/HEAD/function/theme
(23:00:15) scroogie: actual code: http://pastebin.ca/306104
(23:00:16) zacker: np
(23:00:18) phoenix911 left the room.
(23:00:20) Craketech left the room.
(23:00:20) sepeck: http://drupal.org/node/62304
(23:00:22) Bindu: zacker, can you choose a darker color for your text?
(23:00:33) zacker: um... i don't know if irc lets you do that?
(23:00:34) dfletcher [n=fletch@c-71-198-74-188.hsd1.ca.comcast.net] entered the room.
(23:00:40) Bindu: your text is yellow
(23:00:44) Bindu: noone elses is :)
(23:00:48) bot_module: http://drupal.org/node/62304 => Writing secure code => 1 IRC mention
(23:00:48) sepeck: its black for me
(23:00:55) mcarbone: that darn unset
(23:00:57) zacker: weird.... erm....  i didnt know that was possible?
(23:01:02) AndyDev: josh_k: how does he knows $form(#theme) = 'dojo' should go to them_dojo ?
(23:01:13) zacker: drupal magic AndyDev
(23:01:15) add1sun: zacker is plain black for me too
(23:01:21) josh_k: zacker:  not magic
(23:01:24) zacker: :(
(23:01:29) scroogie: Bindu: just disable colors ;)
(23:01:32) WimLeers: you've unset thte title form field, so the validation of the page isn't positive
(23:01:32) Ogredude: huh
(23:01:35) josh_k: whatever $form['theme'] is
(23:01:41) josh_k: is passed to theme()
(23:01:41) Bindu: heh, will try and find that :)
(23:01:42) Ogredude: I'm glad I have colors filtered.
(23:01:58) Andrew_Stillman: Just joined.  Throw me a bone?  Where are you in the lesson outline?
(23:02:03) mtndan [n=dkatz@69.39.6.225] entered the room.
(23:02:12) mcarbone: forms API
(23:02:12) Bindu: switched to dark background seem better
(23:02:27) victorkane: writing a module showing forms API
(23:02:28) WimLeers: josh_k: you've unset thte title form field, so the validation of the page isn't positive
(23:02:35) josh_k: right
(23:02:37) victorkane: writing code for theme
(23:02:47) sgrover_ left the room ("Konversation terminated!").
(23:02:48) zacker: Andrew_Stillman: 3.Setting a theme function
(23:02:59) Andrew_Stillman: Thanks.
(23:03:02) chx: josh_k: $form['#theme'] I believe.
(23:03:20) josh_k: chx:  I'm looking for the right syntax for adding an additional validation callback
(23:03:22) scroogie: how do you set the validation function chx?
(23:03:37) josh_k: $form['#validate'] = ???
(23:03:40) chx: $form['#validate']['callback'] = array('arg1', 'arg2', 'foo');
(23:03:46) josh_k: ahh
(23:03:48) josh_k: callback
(23:03:49) chx: where callback is hte name of the callback
(23:03:53) josh_k: ok
(23:03:55) scroogie: were having http://pastebin.ca/306108 just now
(23:03:57) josh_k: that's changed for 5.0, right?
(23:04:04) chx: $form['#validate']['mymodule_function'] = array('arg1', 'arg2', 'foo');
(23:04:06) chx: josh_k: nope
(23:04:17) chx: josh_k: both #validate and #submit were like this in 4.7
(23:04:24) josh_k: huh
(23:04:37) josh_k: I guess my memory is bad
(23:04:45) josh_k: I seem to recall it being more like #theme
(23:04:49) josh_k: but you know better than I
(23:04:59) trainer____: http://api.drupal.org/api/HEAD/file/developer/topics/forms_api.html
(23:05:00) scroogie: any default args that need to get in?
(23:05:01) chx:  #process has the same syntax
(23:05:08) trainer____: "The form API has general form validation which it performs on all submitted forms. If there is additional validation you wish to perform on a submitted form, you can create a validation function."
(23:05:13) chx: scroogie: no. form API will add defaults automatically
(23:05:58) chx: scroogie: as you can see in the source , form API adds default handlers with empty args:
(23:05:59) chx: $form['#validate'] = array($form_id .'_validate' => array());
(23:06:04) davidstrauss left the room (quit: Remote closed the connection).
(23:06:13) toddatfk [n=toddatfk@cpe-66-68-99-243.austin.res.rr.com] entered the room.
(23:06:15) chx: this is the same as I have used
(23:06:20) chx: just a bit different notation
(23:06:31) Alliax: the chat window popping up eveytime is something that needs to be changed next lesson
(23:06:32) Alliax: maybe with a bigger screen resolution or a second screen
(23:08:58) Ogredude: I love how things always work *perfectly* up to the point where you try to show them off to another person.
(23:09:03) coreb [n=coreb@ip68-229-140-188.lf.br.cox.net] entered the room.
(23:09:24) zacker: Ogredude: this is pretty typical drupal development :) not any pre-canned demo
(23:09:34) Ogredude: hehe
(23:09:36) zacker: a bunch of trying, looking at errors, and googling around
(23:10:07) scroogie: i think this is what we have now ;) http://pastebin.ca/306112
(23:10:15) victorkane: thnxs scroogie!
(23:10:38) jaydub left the room (quit: Remote closed the connection).
(23:10:41) katrina is now known as ambereyes
(23:10:42) scroogie: ive an additional ) there i just see
(23:10:53) Ogredude: huh.
(23:11:23) Ogredude: once he figured out how to use the functions he used, adding form validations is very nearly as easy to do as it is in Rails.
(23:11:28) shishira left the room (quit: Read error: 145 (Connection timed out)).
(23:11:50) samtresler: So can you have a lot of functions like this you need for a site - but arent really full modules in themeselves, in a 'module' bythemselves, just to keep organized?
(23:11:56) dasil003: it's not as easy, but it's more powerful
(23:11:57) Squidster: can we talk a brief washroom break?
(23:12:00) coreb: So I've come late to the party, but will there be a recording of skype cast available?
(23:12:06) Squidster: coreb: yep
(23:12:07) IslandUsurper [n=lyle@74-130-194-239.dhcp.insightbb.com] entered the room.
(23:12:15) coreb: great. thanks.
(23:12:22) dfletcher: oh fine I just get skype working and then you take a break :P
(23:12:23) IslandUsurper left the room (quit: Remote closed the connection).
(23:12:26) mcarbone: josh_k: so your example was modifying a preexisting form, not adding a new one.
(23:12:32) ambereyes: is there a screen cast recording?
(23:12:34) scroogie: corrected  version: http://pastebin.ca/306115
(23:12:40) webavant: ambereyes: yes
(23:12:57) savejonas: is api.drupal.org a good place to go for complete beginners?
(23:13:05) webavant: ambereyes: well.... not yet, but there will be
(23:13:05) chx: no
(23:13:11) scroogie: savejonas: its the function reference
(23:13:14) chx: savejonas: that's not a beginner place
(23:13:17) mcarbone: so form_alter is not necessary for a new form?
(23:13:24) chx: savejonas: I would advise the hadnbook
(23:13:27) chx: mcarbone: right
(23:13:36) savejonas: chx: thx
(23:13:38) chx: mcarbone: as the name suggests , it alters stuff
(23:13:45) Squidster: what if we wanted to move your <h1> somewhere else in the page? Say, after the body field?
(23:13:45) josh_k: ehhe
(23:13:47) mfer [n=chatzill@c-71-227-23-29.hsd1.mi.comcast.net] entered the room.
(23:14:15) noneck left the room (quit: ).
(23:14:36) samtresler: so in our previous thought... if I was creating myclient.module for a whole bunch of different _form_alter functions I would need to call myclient_form_alter ()  - could I do that as many times as I needed...
(23:14:37) chx: Squidster: $form['foo'] = array('#value' => '<h1>', '#weight' => something);
(23:14:40) ambereyes: webavant: assuming you will post link at some point
(23:14:46) chx: Squidster: you need to check what's the weight of body
(23:15:03) chx: Squidster: this is a markup form element -- that's why it has no #type because markup is the default
(23:15:39) AndyDev: josh_k: do they have to be in the correct order? can you render body then title for example?
(23:15:43) zacker: samtresler:  no, you want to have a switch statement in your form alter function on form_id for all the different forms
(23:16:07) andy_laken [n=alaken@pool-70-108-48-187.res.east.verizon.net] entered the room.
(23:16:09) samtresler: zacker: so only call _form_alter once.    Got it.  Thanks
(23:16:12) zacker: yes
(23:16:23) zacker: if you try to redfine the same function twice php will not be happy
(23:16:45) samtresler: zacker: I know that, but my brain exploded about ten minutes ago.
(23:16:49) zacker: haha :)
(23:17:01) Squidster: awesome - thanks, that's a big help.
(23:17:24) scroogie: new version: http://pastebin.ca/306122
(23:17:38) Ogredude: at least I sort of understand now how to theme input forms.
(23:17:54) Bindu: don't you get cck with 5.x?
(23:17:54) samtresler: cck is in 5.0 , no?
(23:17:57) Bindu: josh...
(23:17:59) mcarbone: lucky installing drupal modules is easy :)
(23:18:02) scroogie: Bindu: no
(23:18:11) scroogie: cck is still a module
(23:18:14) eretico_scumunic: need to install it (cck and devel) separately
(23:18:15) WimLeers: will be in D6, so I've heard :)
(23:18:30) chx: note that if you alter the form with a markup element instead of using the theme for this then it will work for every theme
(23:18:35) scroogie: WimLeers: well lets see about that ;)
(23:18:59) WimLeers: chx: good to know, thanks
(23:18:59) chx: as a rule of the thumb I would suggest that if something can be solved without changing the theme then solve it without theme
(23:19:39) add1sun left the room (quit: "Leaving").
(23:19:39) josh_k: chx:  on the other hand, editing theme is more intuative for the less experienced
(23:19:55) chx: josh_k: and yet it's wrong :)
(23:20:14) mactoph [n=mactoph@c-71-199-56-127.hsd1.ut.comcast.net] entered the room.
(23:20:18) sepeck: depends on your site needs and use case :P
(23:21:18) josh_k: chx:  there really is no "wrong"
(23:21:22) scroogie: it works, its just more down the page
(23:21:23) josh_k: there's only less right
(23:21:23) scroogie: in the middle
(23:21:35) chx: josh_k: you can say that
(23:21:42) josh_k: heh
(23:21:46) Bindu: gotta, run, has been a blast
(23:21:49) Bindu: josh, thanks so much!
(23:21:50) Bindu: l8
(23:22:02) scroogie: code: http://pastebin.ca/306126
(23:22:05) Squidster: interesting
(23:22:15) chx: have fun -- I am off to bed.
(23:22:20) scroogie: bye chx
(23:22:27) zacker: night chx!
(23:22:28) WimLeers: chx: good night ;)
(23:22:31) savejonas: Thanks for your time Josh! Goodnight
(23:22:37) victorkane: josh_k: this is fascinating, keep it coming!
(23:22:43) mcarbone: what would happen if two enabled modules altered the same form?  or is that a no-no?
(23:22:44) webavant: mmmm.... htmly
(23:22:54) samtresler: I thought it was better to do all markup through the theme layer so it could all be changed without touching the modules.   THis is incorrect?
(23:22:57) savejonas left the room (quit: ).
(23:22:58) zacker: mcarbone - no its perfectly fine
(23:23:00) eretico_scumunic: great stuff :)
(23:23:04) Squidster: ding! http://www.squidgystudios.com/drupal/drupa_levelup.jpg
(23:23:09) samtresler: night chx.... thanks!
(23:23:10) zacker: the module_weight field will determine which one gets called first though
(23:23:15) mcarbone: but which theme would override?
(23:23:17) Bdragon: mcarbone: Would go in order of weight, then name of module
(23:23:21) pjay_dml left the room (quit: Read error: 145 (Connection timed out)).
(23:23:21) WimLeers: Squidster: haha :D
(23:23:29) AndyDev: lol Squidster
(23:23:38) mcarbone: thx
(23:23:42) zacker: so - there can only be one theme_ implementation ofr a form
(23:23:44) Squidster: :P
(23:23:45) Bdragon: :)
(23:23:46) webavant: squidster: you're an mmo guy, aren't you?
(23:23:48) zacker: and i believe that would have the final say
(23:24:01) Squidster: hehe, nah, I'm an oldskool D&D'er.
(23:24:05) Ogredude: josh_k: they're real belt colors in the Drupal Dojo now.
(23:24:06) zacker: but any module can hook into the same form through form_alter
(23:24:08) victorkane: josh: might be cool to announce where we are at in the lesson plan
(23:24:12) webavant: squidster: but you know 'ding'
(23:25:13) bot_module left the room (quit: Remote closed the connection).
(23:25:15) zacker: samtresler: this is kind of grey area .... it really depends what kind of code you are making and how portable you want to make it.  the advantage of sticking it in your module is it is easier for others to deploy
(23:25:15) nicklewisatx [n=nick@adsl-68-92-148-172.dsl.austtx.swbell.net] entered the room.
(23:25:39) scroogie: victorkane: Use CCK + FormAPI + node.tpl.php to create a rich new content type!
(23:25:46) scroogie: i guess :)
(23:26:02) scroogie: or somewhere inbetween this and the theme functions
(23:26:34) samtresler: The sensei is unprepared - and probably hungover
(23:26:48) dfletcher: fastest module installation ever!
(23:27:03) scroogie: hehe
(23:27:04) samtresler: true that
(23:27:14) bot_module [n=bot_modu@c-24-62-151-47.hsd1.nh.comcast.net] entered the room.
(23:27:47) Ogredude: it's -
(23:27:49) shaal: u called it nodo
(23:27:53) dfletcher: does that say "nodo?
(23:27:55) dfletcher: hehe
(23:27:57) scroogie: i have to correct, were in chapter 2: learning by doing
(23:27:58) scroogie: hehe
(23:28:13) victorkane: doing by learning
(23:28:26) Squidster: todays lesson is that programmers can code a rocket to the moon, but can't spell dojo. =D
(23:28:41) Bdragon: For really fast module installations, I have this shell function that I keep in my profile: http://drupal.pastebin.us/11016
(23:29:33) scroogie: you could also use contemplate which might be a bit easier to start with
(23:29:39) Ogredude: josh_k: what if there is crap in $content that you want to theme or otherwise mangle?
(23:29:48) dasil003: lucky there's no midget porn in his history
(23:29:57) samtresler: yet
(23:29:59) dfletcher: ^^contemplate Ogredude
(23:30:25) dfletcher: aha yes
(23:30:39) nicklewisatx: 0gredude, what context do you mean $content?
(23:30:44) nicklewisatx: or rather, what file?
(23:32:23) zacker: node is object
(23:33:05) nicklewisatx: 0gredude, my guess is your looking for this function (which is called in phptemplate.engine, and passed to page.tpl.php) : http://api.drupal.org/api/HEAD/function/drupal_get_content . Beyond that function, mangling the inards of the $content variable usually ends up being more trouble than its worth.
(23:33:28) bot_module left the room (quit: Remote closed the connection).
(23:34:28) nlindley [n=nlindley@h75-100-78-139.75-100.unk.tds.net] entered the room.
(23:34:39) bot_module [n=bot_modu@c-24-62-151-47.hsd1.nh.comcast.net] entered the room.
(23:35:05) urbits_sime [n=urbits_s@203-214-47-184.dyn.iinet.net.au] entered the room.
(23:35:14) mcarbone: yeah
(23:35:16) blakehall [n=blakehal@mdsnwikwbas08-pool4-a144.mdsnwikw.tds.net] entered the room.
(23:35:19) Ogredude: josh_k: that's exactly what I wanted to know.  Thanks
(23:35:24) andy_laken: can we get this code posted?
(23:35:30) mactoph left the room (quit: ).
(23:35:35) ***zacker summons scroogie
(23:36:21) AndyOfLinux left the room (quit: "Leaving").
(23:36:33) josh_k: http://pastebin.ca/306138
(23:36:45) scroogie: ah, ok ive been to slow ;)
(23:36:48) ambereyes: great... I get webhuddle to work at the end of the session
(23:37:02) scroogie: no problem dont worry
(23:37:10) webavant: ambereyes: what did you have to do to get it to work?
(23:37:26) sepeck: this is a learning experience for all.  put together a suggestions list for next time prep material or some such
(23:37:27) robbiethegeek: hi looking over your shoulder is a nice insight into method and troubleshooting
(23:37:33) ambereyes: I had to look all over for the j2se for mac os x
(23:37:49) ambereyes: I will post a url in a minute
(23:37:53) AndyDev: (until when is the class)
(23:37:55) ***urbits_sime curses himself for not subscribing to the event in g.d.o
(23:38:04) webavant: http://www.sun.com/java isn't it?
(23:38:41) urbits_sime: wait this is being logged?
(23:38:44) josh_k: urbits_sime:  there will be others for sure
(23:38:45) josh_k: and yes
(23:38:52) ambereyes: webavant: http://plugindoc.mozdev.org/OSX.html
(23:39:16) webavant: yeah there will be a screen capture for later
(23:39:24) gusaus: i think i need a bigger monitor!
(23:39:49) ambereyes: the sun link [to apple] is for intel machines only
(23:40:03) Squidster: Weapons of choice!
(23:40:15) josh_k: I'm running out of steam on #5
(23:40:21) josh_k: didn't plan good enough to have a solid example
(23:40:23) samtresler: Displaying the drop down taxonomy box as a radio button list?
(23:40:45) samtresler: true
(23:41:24) victorkane: have a taxonomy of belts
(23:41:26) victorkane: with colors
(23:41:33) victorkane: and theme to match
(23:42:19) kdebaas: quit
(23:42:25) scroogie: webavant hangs again?
(23:42:28) kdebaas left the room.
(23:42:28) shaal: yep
(23:42:29) samtresler: lag or crash?
(23:42:31) webavant: oh
(23:42:33) scroogie: josh_k *ring*
(23:42:37) shaal: webhuddle stuck
(23:42:39) victorkane: lag, it's ok
(23:42:45) victorkane: webhuddle is ok
(23:42:47) scroogie: yeah
(23:42:48) WimLeers: yes....
(23:42:49) jdami: lag
(23:42:50) Stumpdevil_: looks like
(23:42:54) samtresler: errr
(23:42:58) ajwwong: yes
(23:43:01) andy_laken: stuck for me
(23:43:03) scroogie: still doesnt work for me
(23:43:06) AndyDev: stuck
(23:43:07) ambereyes: webhuddle is stuck
(23:43:09) AndyDev: josh_k
(23:43:11) victorkane: working in buenos aires
(23:43:15) mcarbone is now known as marcocarbone
(23:43:19) robbiethegeek: still stuck here also
(23:43:28) AndyDev: josh_k web is stuck
(23:43:32) ajwwong: stuck
(23:43:34) Stumpdevil_: lets all go to buenos aires
(23:43:35) scroogie: its only working in buenos aires apparently, hehe
(23:43:36) WimLeers: josh_k: webhuddle restart?
(23:44:28) josh_k: webavant:  should we kick the huddle?
(23:44:41) sepeck: ping webavant
(23:44:42) scroogie: its down for me
(23:44:47) webavant: sorry... hey
(23:44:53) sepeck: restart please ;)
(23:44:56) webavant: not sure why you can't hear me in skype
(23:44:58) webavant: log in again
(23:45:00) marcocarbone: anyone else getting skype echoes?
(23:45:05) samtresler: yup
(23:45:06) Andrew_Stillman: yes...yes
(23:45:06) ambereyes: echoes
(23:45:11) Ping [n=Ping@209-204-144-35.dsl.static.sonic.net] entered the room.
(23:45:17) andy_laken: yes echoes
(23:45:23) marcocarbone: yup they're gone
(23:45:29) zacker: ping  - kaping yee?
(23:45:35) mfer left the room (quit: Read error: 60 (Operation timed out)).
(23:45:36) Ogredude: my poor computer is freaking out, I'm asking too much of it :/
(23:45:40) andy_laken: thought you had a stutter for a second
(23:45:41) gusaus: skype seems ok now
(23:45:42) victorkane: skype ok in buenos aires
(23:45:46) Squidster: ...isn't Drupal free?
(23:45:48) Squidster: =P
(23:45:50) scroogie: hehehe victor
(23:45:56) scroogie: next time we meet in buenos aires
(23:45:57) Ping: hi zack!
(23:45:57) andy_laken: everything's ok in buenos aires!
(23:46:00) zacker: omfg
(23:46:02) webavant: it is going again
(23:46:02) zacker: !
(23:46:04) zacker: hi ping
(23:46:07) webavant: login to webhuddle
(23:46:07) samtresler: THEY are traking a major bandwidth drain somewhere on the internet
(23:46:08) zacker: what are you doing here? ;0
(23:46:11) Ping: saw josh's away status, so i was curious :)
(23:46:14) sepeck: the source code is free.  implemenation is not
(23:46:14) josh_k: Ping:  PING!
(23:46:15) zacker: haha
(23:46:18) designguru left the room.
(23:46:21) josh_k: how's berkeley?
(23:46:26) zacker: welcome to the dojo
(23:46:38) Ping: so, uh, what is this drupal thing everyone's talking about these days? ;)
(23:46:41) victorkane: scroogie:  http://groups.drupal.org/node/2212
(23:46:42) Squidster: can sort of hear you
(23:46:43) bot_module: http://groups.drupal.org/node/2212 => Second MEETUP BADUG (Buenos Aires DUG) => 1 IRC mention
(23:46:45) sepeck: I can hear you, very faint
(23:47:08) zacker: Ping - go download drupal 5 and find out :) you may not recognize it
(23:47:09) urbits_sime left the room.
(23:47:11) oadaeh left the room (quit: Remote closed the connection).
(23:47:13) dfletcher: I'll show a neat example of theming a CCK field: http://momandpopgames.com/reviews/real_time_strategy_games/star_wars_emp... .. all the ratings feilds are integer fields themed as josh_k has suggested, the gallery is nodereference field to acidfree node which I load in the theme
(23:47:25) sepeck: webavant, if there are alternatives those interested can scheudle some testing :)
(23:47:26) Ping: life's okay over here.  i'm still working on voting research, though feeling behind on everything.
(23:47:33) josh_k: dfletcher:  nice!
(23:47:47) incrn8 [i=42833455@gateway/web/cgi-irc/ircatwork.com/x-a7861dee76a9d9f5] entered the room.
(23:47:48) WimLeers: back in now
(23:47:50) scroogie: ah huddle is back on
(23:47:51) Stumpdevil_: bingo
(23:47:52) andy_laken: yes
(23:47:52) zacker: ahh... going to graduate soon ping?
(23:47:53) josh_k: collecting hot examples++
(23:47:55) zacker: :)
(23:48:00) robbiethegeek: this is an amazingly ambitious undertaking all that are involved thanks so much for all your efforts to help us learn more about Drupal goodness
(23:48:21) andy_laken: yes, many many thanks
(23:48:29) gusaus: yeah - thanks all!
(23:48:32) zacker: thanks Josh_k!
(23:48:34) scroogie: dfletcher: awesome, can you show the template code?
(23:48:34) sepeck: the europeans were grumpy at the 2am time s :)
(23:48:40) Squidster: yeah, definitely helpful.
(23:48:42) ajwwong: yes thanks!!
(23:49:09) WimLeers: 3:48 am now :P...... and that's after getting back from a party... having a hard time keeping my eyes open
(23:49:09) scroogie: sepeck: well its nearly 4 am here now :p
(23:49:22) andy_laken: - dumb question - who is presenting?
(23:49:33) dfletcher: scroogie: http://rafb.net/p/2nwFqc66.html
(23:49:36) scroogie: we cant say without beeping him ;)
(23:49:39) zacker: josh_k is andy_laken
(23:49:44) Alliax: thank you for doing this lesson, but honestly, I stopped following really after a while, but I'm still looking, and maybe I'll rewatch it when I'm feeling more in the work mood it's nearly 4AM here :-)
(23:49:44) dasil003: is it just me or does webhuddle have more colors now?
(23:49:57) josh_k: andy_laken:  was at that first lullabot training in sf
(23:50:01) sepeck: it seems clearer yes
(23:50:03) webavant: it is in JPG mode now it appears
(23:50:07) scroogie: no its true dasil
(23:50:08) dfletcher: I actually stole the theme_review_rating function from the review module
(23:50:11) andy_laken: zacker, josh_k - yes it's me
(23:50:17) Ping: (checking it out)
(23:50:18) andy_laken: flattered you remembered
(23:50:26) zacker: ;0
(23:50:29) zacker: yah right
(23:50:30) WimLeers: sharper image now, yes
(23:50:49) Hory: yeah thanks for the lesson
(23:51:20) andy_laken: zacker: need to catch up soon - heard on podcast you started new company
(23:51:37) zacker: yeah - http://chapterthreellc.com
(23:52:08) scroogie: dfletcher: nice
(23:52:31) Ping: zacker: you folks have been busy! :)
(23:52:43) scroogie: dfletcher: how do you choose the image when submitting the node?
(23:52:45) zacker: :)
(23:52:57) zacker: i can't take the blame for that
(23:53:04) dfletcher: scroogie, which image? the box cover?
(23:53:07) zacker: thank the 200+ devs who got code in 5.0
(23:53:28) scroogie: the one referenced by nodereference
(23:53:35) scroogie: do you enter the id?
(23:53:51) dfletcher: I that - I use acidfree to upload or mass upload; it's a node reference field in CCK
(23:53:58) dfletcher: so I get a list of all the acidfree nodes
(23:54:04) dfletcher: and pick from there during node/add
(23:54:18) AndyDev: can anyone make a archive of the code?
(23:54:24) ambereyes: thanks
(23:54:32) robbiethegeek: thanks again :-)
(23:54:41) Andrew_Stillman: thanks!
(23:54:41) zacker: ...anyone want to volunteer for lesson clean up duty?
(23:54:42) marcocarbone: thanks, josh
(23:54:42) efolia: thanks. ill be there next time too.
(23:54:44) scroogie: josh_k: Thanks a lot!
(23:54:44) victorkane: thanks, josh, very illuminating
(23:54:44) shanebee: session was awesome!  thanks!  i hope to do one in the future for ... something.
(23:54:45) AndyDev: thanks Josh!
(23:54:47) zacker: thanks josh_k!
(23:54:47) Squidster: Thanks again for starting this, Josh.
(23:54:48) ajwwong: thnx!
(23:54:51) josh_k: heh
(23:54:52) josh_k: ok
(23:54:52) Stumpdevil_: Thankyousir
(23:54:52) dasil003: definitely the right idea at the right time
(23:54:52) dsiew: thanks josh!
(23:54:53) victorkane: awesome, yes
(23:54:53) webavant: good job... very inspiring
(23:54:53) bear7: thanks josh really appreciate it.
(23:54:55) jwolf: thnx hosh!!
(23:54:56) jdami: thanks josh_k!
(23:54:58) WimLeers: josh_k: thank you very much ;)
(23:54:59) andy_laken: applause!!
(23:54:59) shanebee: send that man some beer.
(23:55:03) victorkane: snap
(23:55:03) Drunkguy: thanks josh_k!!!
(23:55:05) jyama: thanks
(23:55:07) WaltE: My contribution to this is...THANK YOU!  ; )
(23:55:25) sepeck: josh_k, can you give me the mike for a sec?
(23:55:26) josh_k: I'lgreat
(23:55:29) dasil003: One idea for future format would be pre-scripted lessons with q&a after each section.
(23:55:32) trainer____: josh_k, that was impressive, especially for a first go around
(23:55:36) josh_k: shaal:
(23:55:38) andy_laken: will someone attempt to sync the audio with the screencast?
(23:55:41) dfletcher: josh_k, you have validated many of the techniques I've been using... thanks :)
(23:55:41) josh_k: shaal:  can you open up the skuype?
(23:55:43) AndyDev: can we get a copy of the source?
(23:55:49) shaal: sure, just click on 'ask'
(23:55:52) shaal: inside 'skype'
(23:55:53) mikey_p [n=mdp@cpe-76-168-113-232.socal.res.rr.com] entered the room.
(23:55:59) josh_k: AndyDev:  the pastebin should have it
(23:56:03) josh_k: but I can post the last bit
(23:56:09) AndyDev: please do
(23:56:20) Andrew_Stillman: How does one access the pastbin.  That's new to me.
(23:56:24) jyama: sepeck: very faint
(23:56:32) AndyDev: http://pastebin.ca/306138
(23:56:33) josh_k: http://pastebin.ca/306158
(23:56:38) AndyDev: ooh
(23:56:38) gusaus: yeah - great learning experience - never had prev set any of this irc - skypecast stuff up
(23:56:39) AndyDev:  new one
(23:56:42) josh_k: that's updated with my taxonomy-grabber
(23:56:43) Andrew_Stillman: thanks
(23:57:00) josh_k: sepeck:  talk louder if you can
(23:57:08) jwolf: again... thnx josh for all your hard work on this lesson - catch you next time
(23:57:17) jwolf left the room (quit: "Leaving").
(23:57:21) josh_k: hehe
(23:57:28) samtresler: Thanks Joshman
(23:57:32) josh_k: channel will say open for drop ins as alweays
(23:57:44) zacker: sepeck - can you ask for a volunteer to take charge documenting this lesson?
(23:57:53) josh_k: all: sepeck is the documentation lead
(23:58:00) efolia: ok
(23:58:04) josh_k: in case you couldn't hear
(23:58:06) mikey_p: thanks to josh and steven
(23:58:08) samtresler: Did we want to Wiki this lesson?
(23:58:12) josh_k: yes
(23:58:12) samtresler: sorry I missed a bit
(23:58:14) josh_k: ideally we wiki this
(23:58:16) zacker: yeah - i think we should wiki this lesson
(23:58:21) josh_k: and make it a part of "official" handbook
(23:58:26) shaal: josh_k: thank u so much for your time and effort
(23:58:26) zacker: and clean up chat transcript etc.
(23:58:27) josh_k: feel free to havck up my lesson plan
(23:58:29) samtresler: Ok - wiki it, let it sit a few days, and then I'll type up a handbook page
(23:58:33) Ping is now known as zestyping
(23:58:36) Andrew_Stillman left the room (quit: "Chatzilla 0.9.77 [Firefox 2.0.0.1/2006120418]").
(23:58:36) shaal: we'll talk tomorrow about next time improvements
(23:58:36) scroogie: the different stages of the code are all on pastebin
(23:58:38) scroogie: somewhere...
(23:58:41) marcocarbone: is there already a drupal wiki place?
(23:58:42) mikey_p: about the screencast/audio
(23:58:47) nlindley left the room (quit: "Download Gaim: http://gaim.sourceforge.net/").
(23:58:47) andy_laken: zacker: did the video and more extensive notes ever get posted from drupalcampSF?
(23:58:51) sepeck: there is some sort of groups wiki
(23:58:55) bear7 left the room.
(23:58:58) NotANinja left the room.
(23:59:05) victorkane: josh_k: I think people should do "projects" based on this lesson
(23:59:10) victorkane: like a workshop
(23:59:16) zacker: andy_laken - no :( civicactions still has the money in their coffers to pay for that work but haven't gotten them to release it
(23:59:17) victorkane: rather than try to summarize only
(23:59:20) gusaus: so y'all will use the new wiki feature that moshe created?
(23:59:21) efolia left the room (quit: ).
(23:59:23) zacker: after about a half dozen requests
(23:59:24) zacker: :(
(23:59:27) mtndan: thank you all
(23:59:34) AndyDev: thanks, and bye all
(23:59:34) josh_k left the room (quit: "Leaving").
(23:59:42) Stumpdevil_ left the room.
(23:59:48) mikey_p: does anyone have plans to edit the video/audio from tonight?
(23:59:48) shanebee left the room (quit: "Chatzilla 0.9.77 [Firefox 2.0.0.1/2006120418]").
(23:59:54) scroogie: ahhhh
(23:59:54) Squidster: LOL
(23:59:55) AndyDev: lol
(23:59:57) andy_laken: z: really disappointing - I really needed to go over that material again to get it, and couldn't afford the trainings when lullabot did them in DC
(23:59:57) scroogie: maybe close it again!!
(00:00:04) jyama: woah
(00:00:07) andy_laken: cool - techno!
(00:00:09) sepeck: all the unmuted mics :)
(00:00:09) pat37 [n=chatzill@pool-71-117-215-9.ptldor.fios.verizon.net] entered the room.
(00:00:21) ambereyes: omigod thenoise
(00:00:22) jdami left the room (quit: "Chatzilla 0.9.77 [Firefox 1.5.0.9/2006120612]").
(00:00:22) dasil003: chaos!
(00:00:23) jyama: mute your mics!
(00:00:24) gusaus: is everyone going to sing?
(00:00:24) robbiethegeek: hahaha wow it got loud :)
(00:00:28) coreb: it's funny listening to the unmuted mics.
(00:00:30) zacker: i know andy_Laken - im sorry :(
(00:00:37) Squidster: reminds me of Lain...
(00:00:39) scroogie: do we have a drupal song? ;)
(00:00:41) andy_laken: zacker: we're currently doing a project with civicactions, maybe I can mention it to Dan...
(00:00:42) toddatfk left the room (quit: ).
(00:00:47) zacker: yeah.... would be good
(00:00:51) zacker: i have the videos unedited
(00:00:55) zacker: if you want them - happy to mail them ;()
(00:01:01) shaal: videos?
(00:01:02) Druplicon: videos are cheap to reproduce, but a lot of work to create the original.
(00:01:14) scroogie: hahaha
(00:01:17) WimLeers: haha :D
(00:01:18) andy_laken: good to know - hold off until I know we have time and talent to deal with them ;-)
(00:01:22) victorkane: ok, I think people should do "project" examples as homework
(00:01:24) zacker: :)
(00:01:29) victorkane: to exemplify the points made
(00:01:31) victorkane: in the lesson
(00:01:33) victorkane: what 
(00:01:33) scroogie: theres a submarine somewhere
(00:01:34) Squidster: stop that, you.
(00:01:35) victorkane: do you guys 
(00:01:36) victorkane: think?
(00:01:45) mikey_p: i'd be interested in editing them into a downloadable screencast if others think thats a good idea?
(00:01:46) zacker: thats a good idea victorkane - want to post it to the group?
(00:01:49) andy_laken: goodnight all - gotta give my GF a shoulder-rub - great first session!!!
(00:01:53) zacker: mikey_p - Definmately
(00:01:55) WimLeers: I'm gonna run now too... 4 am plus 1 minute now!
(00:01:58) zacker: i bet it would get a lot of interest
(00:01:59) shaal: zacker: what videos...?
(00:02:00) victorkane: I will do one and post it
(00:02:01) WimLeers: good night and see you all soon
(00:02:02) robbiethegeek: see everyone next time :)
(00:02:04) sepeck: I can also answer general Drupal community questions if people are intested
(00:02:10) zacker: shaal - previous face2face training
(00:02:11) scroogie: yeah me too, see you guys
(00:02:11) victorkane: but I think others should do their own and post theirs too
(00:02:14) ambereyes: mikey_p: please
(00:02:19) victorkane: nighty night all
(00:02:21) victorkane: buenas noches
(00:02:24) andy_laken left the room (quit: ).
(00:02:27) ekes left the room (quit: Read error: 54 (Connection reset by peer)).
(00:02:30) victorkane: dulces sueños
(00:02:33) mikey_p: i'll talk to josh and get the files and see what i can come up with

Comments

Whoops! Looks like my msg at

Squidgy's picture

Whoops! Looks like my msg at (23:13:45) jumbosized everything. That was where I asked about the placement of the <h1> tag...

fixed it

Thanks Victor!

joshk's picture

Thanks for logging and posting this, man. I'm making an mp3 of my vox log which I'll post a link to. Hopefully some inspired soul will want to edit these down.

http://www.chapterthreellc.com | http://www.outlandishjosh.com