Sep 09 14:06:55 I LOVE THIS! Sep 09 14:06:58 cool.. a celebrity Sep 09 14:07:04 * Bentley (n=Bentley@S010600195bb1a3a2.cg.shawcable.net) has joined #drupal-dojo Sep 09 14:07:31 * thecoolone19-2 has quit () Sep 09 14:07:33 about the book, is there a 2nd edition planned covering D6 ? Sep 09 14:07:40 AND VIDEO TOO! Sep 09 14:07:40 i can SEE Sep 09 14:07:43 * walt (n=walt@user-387ocr8.cable.mindspring.com) has joined #drupal-dojo Sep 09 14:07:45 * yumminy (n=yumminy@adsl-072-148-236-096.sip.asm.bellsouth.net) has joined #drupal-dojo Sep 09 14:07:48 wow. slides Sep 09 14:07:52 Drupaldojo.com still sais: No screencast yet :-/ Sep 09 14:07:53 ys Sep 09 14:07:55 perfectlyu Sep 09 14:07:56 yes Sep 09 14:07:57 metta: yep! :) Sep 09 14:07:58 yes Sep 09 14:07:58 * Linulo hears matt Sep 09 14:07:58 yes Sep 09 14:07:59 I can hear ya. :) Sep 09 14:08:01 sounds good Sep 09 14:08:01 * cmbehr (n=cmbehr@c-68-43-124-5.hsd1.mi.comcast.net) has joined #drupal-dojo Sep 09 14:08:04 unfortunately, I was going to show off this dojo session to the masses at DrupalCampLA, but AOL has all ports blocked except 80 and 43 Sep 09 14:08:14 what is the link to just the screencast? Sep 09 14:08:14 *443 Sep 09 14:08:16 * maureentheisen has quit ("PJIRC forever!") Sep 09 14:08:24 lol Sep 09 14:08:24 Senpai|lappy: ssh tunnel for the win Sep 09 14:08:29 * maureentheisen (n=maureent@75-93-201-215.ral.clearwire-dns.net) has joined #drupal-dojo Sep 09 14:08:34 * thecoolone19-2 (i=thecoolo@89-139-13-36.bb.netvision.net.il) has joined #drupal-dojo Sep 09 14:08:34 * Bentley_ (n=rcourtna@S010600195bb1a3a2.cg.shawcable.net) has joined #drupal-dojo Sep 09 14:08:35 * AndrewGearhart laughs silently. Sep 09 14:08:38 i'm taking them off right now! Sep 09 14:08:40 the sound echoes Sep 09 14:08:43 * Bentley has quit (Client Quit) Sep 09 14:08:44 http://webavant.com/dojo1 Sep 09 14:09:13 thecoolone19-2: do you have TS open and the browser open both? Sep 09 14:09:15 thecoolone19-2: cut your microphone, I had the same problem Sep 09 14:09:36 echo Sep 09 14:09:43 there's no echo Sep 09 14:09:45 it's your configuration Sep 09 14:09:53 * mpare has quit ("Peace!") Sep 09 14:09:58 close teamspeak if you have an echo Sep 09 14:10:04 http://webavant.com/dojo1/vnc.htm is what I was looking for .. Sep 09 14:10:09 * fwalch (n=fwalch@194.208.89.234) has joined #drupal-dojo Sep 09 14:10:11 i dnt have teenspeek Sep 09 14:10:13 * kmillecam (n=kmilleca@66.7.127.163) has joined #drupal-dojo Sep 09 14:10:25 hmm.. I'm not getting an echo Sep 09 14:10:27 how long is this session? Sep 09 14:10:34 * Gustav726 (n=Gustav@pD9531DE6.dip0.t-ipconnect.de) has joined #drupal-dojo Sep 09 14:10:36 i have the sound, but black screen, is it normal ? Sep 09 14:10:37 thanks, close teamspeak Sep 09 14:10:40 no echo here. Sep 09 14:10:44 raf841: you should see Matt's screen Sep 09 14:10:48 could it be because im recording using camtasia ? Sep 09 14:10:52 raf841: the screen you can see at http://webavant.com/dojo1/vnc.htm Sep 09 14:10:54 should now have a bulleted list. Sep 09 14:11:04 * lcannell has quit ("PJIRC forever!") Sep 09 14:11:08 thecoolone19-2: yes Sep 09 14:11:25 webavant: so what shld i do ? Sep 09 14:11:32 no goofing! we are totally serious 100% of the time :p Sep 09 14:11:36 please, someone has the direct link to the design chapter? Sep 09 14:11:37 * xulu025 has quit ("PJIRC forever!") Sep 09 14:11:42 add1sun: Sam the Eagle serious. Sep 09 14:11:43 thecoolone19-2: mute your microphone? I don't know... Sep 09 14:11:54 * thecoolone19-2 is now known as thecoolone19 Sep 09 14:11:55 Matt's book rocks soooo much! Sep 09 14:11:57 floown, http://www.apress.com/book/downloadfile/3519 Sep 09 14:12:02 webchick, totally Sep 09 14:12:05 thx add1sun Sep 09 14:12:10 i can see a bulleted list, should I be hearing anything? thanks! Sep 09 14:12:14 we don't giggle on podcasts either Sep 09 14:12:23 lullabot shameless ad ;) Sep 09 14:12:46 maureentheisen, yes there is sound Sep 09 14:12:52 you mean you edit the giggles add1sun? Sep 09 14:12:53 * ericelbow has quit ("PJIRC forever!") Sep 09 14:12:57 is there no sounds now ?? Sep 09 14:13:04 yes there is sound Sep 09 14:13:09 i hear sound Sep 09 14:13:11 hi! is anyone recording the audio/video? Sep 09 14:13:26 metta: can't see your screen.. refresh VNC if yo ucan Sep 09 14:13:28 Hm, typo3 out of the box looks like... well, an empty box. Sep 09 14:13:36 oh wait Sep 09 14:13:38 sorry I see it Sep 09 14:13:40 webavant: refreshing Sep 09 14:13:41 yup Sep 09 14:13:43 I'm recording Video *only* Sep 09 14:13:44 refreshed Sep 09 14:13:44 are we good? Sep 09 14:13:47 yeah good Sep 09 14:13:49 metta yes Sep 09 14:13:49 looks good to me Sep 09 14:13:50 rock Sep 09 14:13:57 Which site did he say? lifetime.com? Sep 09 14:13:58 looks good to me Sep 09 14:14:07 dvessel: i guess my recording isint working. Sep 09 14:14:19 i mite give it up now Sep 09 14:14:28 thecoolone19: Okay, we should be fine. Others are recording too. Sep 09 14:14:34 * mpare (n=mpare@adsl-70-238-196-50.dsl.lbcktx.sbcglobal.net) has joined #drupal-dojo Sep 09 14:14:41 sweet, thanks you all :) Sep 09 14:14:41 umm. Sep 09 14:14:42 If Matt is switching screens, I'm not seeing it, still on Lifetime Sep 09 14:14:43 thx Sep 09 14:14:53 hmm... eah Sep 09 14:14:55 still on lifetime Sep 09 14:14:57 still on Lifetime Sep 09 14:14:59 webavant, is it having troublw refreshing? Sep 09 14:15:00 me too Sep 09 14:15:02 still on Lifetime Sep 09 14:15:02 still of Lifetime too Sep 09 14:15:03 Looks like VNC not updating automatically? Sep 09 14:15:08 not sure why... Sep 09 14:15:12 * vordude860 (i=vordude@c-75-70-70-243.hsd1.co.comcast.net) has joined #drupal-dojo Sep 09 14:15:15 usually works fine Sep 09 14:15:18 add1sun: if you could tell him Sep 09 14:15:21 * vordude860 has quit (Client Quit) Sep 09 14:15:27 * sepeck has no mic Sep 09 14:15:30 correct.... /me is trying to get the viewer and view using standalone client Sep 09 14:15:42 there Sep 09 14:15:44 updating now Sep 09 14:15:47 ah Sep 09 14:15:53 Yes, refreshing problems Sep 09 14:16:13 * chx (n=knegyesi@drupal.org/user/9446/view) has joined #drupal-dojo Sep 09 14:16:16 looks good now Sep 09 14:16:16 that's working! Sep 09 14:16:19 Interestingly, when I went to http://www.webavant.com/dojo1/ with Firefox...it frozed on me. Sep 09 14:16:30 teamspeak? Sep 09 14:16:31 Download teamspeak at http://teamspeak.com/index.php?page=downloads | To connect, use "webavant.com:8768" as the servername, and your preferred nickname with no password. | If you are on Mac watch this screencast: http://dmitrizone.com/dump/teamspeak_for_mac.mov | More info at http://groups.drupal.org/node/4944 Sep 09 14:16:32 But usint IE7 it works. Sep 09 14:16:35 I dont mind a keynote frame around the slides Sep 09 14:16:36 yeah, it does seem to be the full-screen that's throwing things off. Sep 09 14:16:38 full screen maybe. this works as well withthe indesx just fine Sep 09 14:16:43 metta: I think you're right... fs borking it Sep 09 14:17:07 oh man it froze again Sep 09 14:17:10 works fine Sep 09 14:17:15 ok cool Sep 09 14:17:28 * sutha has quit (Read error: 104 (Connection reset by peer)) Sep 09 14:17:29 Ozzi! w00t! Sep 09 14:17:42 niceeee Sep 09 14:17:46 this by them!! <3 Sep 09 14:17:47 yay mystery meat on the pete droge site :) Sep 09 14:17:51 * maureentheisen has quit ("PJIRC forever!") Sep 09 14:18:08 lol Sep 09 14:18:16 I hear voices in my head. (maybe outside my head :P ) Sep 09 14:18:34 crap gotta go. Sep 09 14:18:35 haha Sep 09 14:18:35 bbiab Sep 09 14:18:36 * webchick has quit () Sep 09 14:18:38 brb, tea refresh Sep 09 14:18:39 Thats ok until they tell you to use yoomla Sep 09 14:19:19 themers can wears many hats Sep 09 14:19:38 * sutha (n=sutha@ip5456f841.speed.planet.nl) has joined #drupal-dojo Sep 09 14:20:42 I sure hope you guys get this recorded, cause I can't see it. Sep 09 14:20:49 I'm recording Sep 09 14:20:50 * jgirlygirl (i=jgirlygi@ool-45790257.dyn.optonline.net) has joined #drupal-dojo Sep 09 14:20:58 wonderful Sep 09 14:20:59 Screenshot or HTML/CSS: catastrophic starting point, bluemarine: bad starting point, Zen: a little better (sorry Jeff), Empty text file and Matt's book: Perfect starting point. Sep 09 14:21:00 I'm gonna get back to the seions here, but I'l try to check in again soon Sep 09 14:21:05 *sessions Sep 09 14:21:09 See you all later! Sep 09 14:21:13 doing fine Sep 09 14:21:15 yeah Sep 09 14:21:22 * Senpai has quit (Connection timed out) Sep 09 14:21:28 * newms (n=newms@72.252.192.146) has joined #drupal-dojo Sep 09 14:21:29 I started a bit late, but it looks like I'm recording now. Sep 09 14:21:46 * mortendk has quit () Sep 09 14:21:51 . . . at least, the video. Sep 09 14:21:54 * JuliaKM (n=JuliaKM@pool-71-111-251-229.rlghnc.dsl-w.verizon.net) has joined #drupal-dojo Sep 09 14:22:05 * maureentheisen (n=maureent@75-93-201-215.ral.clearwire-dns.net) has joined #drupal-dojo Sep 09 14:22:10 I am recording Teamspeak and no video :) Sep 09 14:22:12 i've got recoding going as well Sep 09 14:22:12 I'm making a recording to as backup - just in case Sep 09 14:22:49 * mortendk (n=mortendk@0x5552c12c.adsl.cybercity.dk) has joined #drupal-dojo Sep 09 14:23:01 * juliakm_ (n=Julia@pool-71-111-251-229.rlghnc.dsl-w.verizon.net) has joined #drupal-dojo Sep 09 14:23:24 * mortendk (n=mortendk@0x5552c12c.adsl.cybercity.dk) has left #drupal-dojo Sep 09 14:23:45 Im not recording :D Sep 09 14:23:55 * crooked_number (n=dmoore@146-115-59-38.c3-0.wtr-ubr1.sbo-wtr.ma.cable.rcn.com) has joined #drupal-dojo Sep 09 14:24:18 Is phpTal the flavor of the month theming engine? Sep 09 14:24:27 no Sep 09 14:24:33 Linulo, phptemplate Sep 09 14:24:36 is the default Sep 09 14:24:37 definitely not Sep 09 14:24:40 Just plone converts I guess Sep 09 14:24:40 * Bdragon|afk (n=Bdragon@dpc6746139138.direcpc.com) has joined #drupal-dojo Sep 09 14:25:22 * BryanS1 (n=Bryan@host-91-169-2-96.midco.net) has left #drupal-dojo Sep 09 14:25:44 * Gustav726 has quit ("PJIRC forever!") Sep 09 14:26:38 :-) Sep 09 14:26:41 * ericelbow (n=ericelbo@ip72-213-40-137.om.om.cox.net) has joined #drupal-dojo Sep 09 14:26:45 * anantagati (n=anantaga@151.174-243-81.adsl-dyn.isp.belgacom.be) has joined #drupal-dojo Sep 09 14:26:58 ugh, smarty Sep 09 14:27:07 Not that Dreamweaver will break it consistantly Sep 09 14:27:10 +e Sep 09 14:27:18 the amount of people using alternatives to phptemplate is oh so very very very small Sep 09 14:27:23 so, is phptemplate already with the core drupal 5.0 that i downloaded? Sep 09 14:27:29 yes Sep 09 14:27:30 yes Sep 09 14:27:34 that is the defualt one Sep 09 14:27:34 thanks, Sep 09 14:27:34 core since 4.7 Sep 09 14:27:50 * orson has quit ("PJIRC forever!") Sep 09 14:28:00 why phptemplate better if it's the only one requiring explicit for loop? Sep 09 14:28:15 is phptemplate specific to drupal? Sep 09 14:28:20 cuuuuuute! Sep 09 14:28:24 Linulo: yes Sep 09 14:28:25 btw, .theme == no theme engine Sep 09 14:28:28 hehe Sep 09 14:28:30 hah hah.. random cuteness Sep 09 14:28:33 liu, yes Sep 09 14:28:37 thanks Sep 09 14:28:48 gwideman: because it is supported by the vast horde of Drupal users and you can do it without a look Sep 09 14:28:52 look == loop Sep 09 14:29:02 ooooh everyone's favorite ferrets :) Sep 09 14:29:04 Thx Sep 09 14:29:38 Does Drupal 7 have full ferret support or do I need contrib modules for that? Sep 09 14:29:44 D7 ? Sep 09 14:29:50 D6 is not released yet Sep 09 14:29:53 lol Sep 09 14:30:00 i think it was a joke Sep 09 14:30:05 * blakehall (n=blakehal@68-190-117-55.dhcp.mdsn.wi.charter.com) has joined #drupal-dojo Sep 09 14:30:13 * Linulo stops trying to be funny Sep 09 14:30:47 but guardian no new features in 6 at this point Sep 09 14:31:03 * Senpai|lappy has quit ("The computer fell asleep") Sep 09 14:31:05 and we need quadraped support before we can have ferret support Sep 09 14:31:14 Linulo: I laughed Sep 09 14:31:15 great book by the way - a bit over my head - but I'm determined to understand Sep 09 14:31:24 http://drupal.org/node/11812 Sep 09 14:31:27 http://drupal.org/node/11812 => Page.tpl.php => 15 IRC mentions Sep 09 14:31:31 In case variables may change in the future, a print_r($GLOBALS) in your node.tpl.php can show you everything that's there. Sep 09 14:31:41 * noname1 (n=noname1@ool-4353b2d5.dyn.optonline.net) has joined #drupal-dojo Sep 09 14:31:42 * blakehall766 (n=blakehal@68-190-117-55.dhcp.mdsn.wi.charter.com) has joined #drupal-dojo Sep 09 14:31:47 are folks having to scroll up and down to view the full screen, or is it just me? Sep 09 14:31:49 I already call Drupal 6 the Performing Polecat as an inside joke so there is some support for ferrets :) Sep 09 14:31:50 Linulo: incorrect Sep 09 14:31:57 screen is good for me Sep 09 14:32:05 chx, you're right Sep 09 14:32:20 we have ferret performance in 6 Sep 09 14:32:20 print_r($variables) Sep 09 14:32:30 and ferret cuteness theming will be 7 ;) Sep 09 14:32:32 * noname1 has quit (Client Quit) Sep 09 14:32:37 walt: me too but I can centre the text so I see everything Sep 09 14:32:43 dvessel, Uhm, sorry, right. Sep 09 14:33:28 would this load only on the users' profile page, or all pages for that user? Sep 09 14:34:03 newms, define "this" pls Sep 09 14:34:05 * incrn8 (n=incrn8@modemcable031.2-200-24.mc.videotron.ca) has joined #drupal-dojo Sep 09 14:34:24 it won't look for page-node-edit-1 ? Sep 09 14:34:25 * ferran587 (n=ferran@253.Red-83-57-191.dynamicIP.rima-tde.net) has joined #drupal-dojo Sep 09 14:34:25 * orson (n=orson@c-75-68-247-121.hsd1.vt.comcast.net) has joined #drupal-dojo Sep 09 14:34:29 I believe he meant that URL structure Sep 09 14:34:31 newms: depends on the naming. Goes from generic to specific... page-user.tpl.php == general, page-user-1.tpl.php specific. Sep 09 14:34:32 * ferran587 has quit (Client Quit) Sep 09 14:34:34 as in the specific page-node.tpl.php Sep 09 14:34:40 * Guest939 (n=Guest939@253.Red-83-57-191.dynamicIP.rima-tde.net) has joined #drupal-dojo Sep 09 14:34:40 * ChanServ removes channel operator status from add1sun Sep 09 14:34:43 * Guest939 has quit (Client Quit) Sep 09 14:34:56 Can you do page-view.tpl.php? Sep 09 14:35:01 * ferran245 (n=ferran@253.Red-83-57-191.dynamicIP.rima-tde.net) has joined #drupal-dojo Sep 09 14:35:08 ah Sep 09 14:35:09 newms: page-node.tpl would be pretty generic Sep 09 14:35:13 hi metta :) Sep 09 14:35:19 chx denies theming involvement :) Sep 09 14:35:54 chx propably can not be disturbed by theming anyway Sep 09 14:35:57 * orson has quit (Client Quit) Sep 09 14:36:09 * orson (n=orson@c-75-68-247-121.hsd1.vt.comcast.net) has joined #drupal-dojo Sep 09 14:36:20 Linulo: chx is beyond being disturbed Sep 09 14:36:26 i did not hear what was said, does page-front.tpl.php works for any node specified in the admin settigns for front page ? Sep 09 14:36:27 [[ Sep 09 14:36:29 // Build a list of suggested template files in order of specificity. One Sep 09 14:36:29 // suggestion is made for every element of the current path, though Sep 09 14:36:29 // numeric elements are not carried to subsequent suggestions. For example, Sep 09 14:36:32 // http://www.example.com/node/1/edit would result in the following Sep 09 14:36:35 // suggestions: Sep 09 14:36:37 // Sep 09 14:36:40 // page-node-edit.tpl.php Sep 09 14:36:42 // page-node-1.tpl.php Sep 09 14:36:42 guardian, page-front Sep 09 14:36:43 guardian: for the frontpage Sep 09 14:36:45 // page-node.tpl.php Sep 09 14:36:47 // page.tpl.php Sep 09 14:36:50 ]] Sep 09 14:36:53 is for the front page not a node Sep 09 14:37:05 even if i set front page to be node/xxx ? Sep 09 14:37:08 * mortendk (n=mortendk@0x5552c12c.adsl.cybercity.dk) has joined #drupal-dojo Sep 09 14:37:10 * ferran245 has quit (Client Quit) Sep 09 14:37:14 oh i see what you are saying Sep 09 14:37:26 blue marine! Garland more complex Sep 09 14:37:27 yes it doesn't matter what is set Sep 09 14:37:28 guardian: yes Sep 09 14:37:36 so, the basis of the theme concept is a concatenating a string variable $content correct? Sep 09 14:37:38 it will use that page template Sep 09 14:38:01 thank you Sep 09 14:38:55 AndrewGearhart: theming concept would be better understood by understanding theming hooks and how/where it's called. Sep 09 14:39:03 Node.tpl.php variables: http://drupal.org/node/11816 Sep 09 14:39:03 * ximo (n=ximo@4.80-202-136.nextgentel.com) has joined #drupal-dojo Sep 09 14:39:08 http://drupal.org/node/11816 => Node.tpl.php => 13 IRC mentions Sep 09 14:39:16 does path auto affect the template name parsing? Sep 09 14:39:20 * drupal (n=drupal@253.Red-83-57-191.dynamicIP.rima-tde.net) has joined #drupal-dojo Sep 09 14:39:33 nice3z, no Sep 09 14:39:34 * t-kamen (n=t-kamen@d38-194-34.home1.cgocable.net) has joined #drupal-dojo Sep 09 14:39:49 dvessel: right... I didn't explain my question correctly... but metta 's last slide confirmed my suspicion... very cool. :) thanks Sep 09 14:39:59 could i have template based on path auto name? Sep 09 14:39:59 drupal uses its internal naming and paths, not the aliased stuff Sep 09 14:40:10 then i guess that's a no Sep 09 14:40:16 thx Sep 09 14:40:28 nice3z, you can create Sep 09 14:40:33 your own "suggestions" Sep 09 14:40:45 so you can tell drupal Sep 09 14:40:49 sorry for this question but, i own the book, does the screencast feature something that's not in the book appart from interactive questionts ? does anyone happen to know ? Sep 09 14:41:06 yes!! d6 has expanded on that big time. Sep 09 14:41:09 that a templat file called x is to be used in this particlaur place that you can define Sep 09 14:41:10 nice3z: Drupal very , very early un-aliases the path so most of the system has no idea of the alias set by pathauto Sep 09 14:41:14 Does the delta depend on the module only, or also on the order in which content is added? Sep 09 14:41:19 * Senpai (n=Joel@m0b0e36d0.tmodns.net) has joined #drupal-dojo Sep 09 14:41:27 http://drupal.org/node/132442#template-suggestions Sep 09 14:41:28 http://drupal.org/node/132442 => Converting 5.x themes to 6.x => 10 IRC mentions Sep 09 14:41:43 Matt said something about "ninja" theming. I could not find that in the book. Plus we have ferrets here! Sep 09 14:41:54 guardian, well after the slides Sep 09 14:41:57 * yoroy (n=yoroy@h41084.upc-h.chello.nl) has joined #drupal-dojo Sep 09 14:41:58 there will be like coding Sep 09 14:42:04 like = live Sep 09 14:42:10 @add1sun: any possible doc over that? Sep 09 14:42:11 ok Sep 09 14:42:50 * walt has quit ("PJIRC forever!") Sep 09 14:42:52 please can someone recall me how the delta value is assigned to the block ? it's when you code the block ? Sep 09 14:43:01 * rcj_ (n=rcj@p5087DE10.dip.t-dialin.net) has joined #drupal-dojo Sep 09 14:43:01 yes Sep 09 14:43:05 does print_r($variables) work here too Sep 09 14:43:19 is the video lagging behind the audio ?? Sep 09 14:43:29 what if they are module provided blocks ? they can potentially share the delta ? Sep 09 14:43:29 shouldn't be Sep 09 14:43:32 a block developer assigns it as an index of a block within the module Sep 09 14:43:35 not for me Sep 09 14:43:47 vanvemden: inside any .tpl file, yes. Sep 09 14:43:49 Linulo: Ninjas on page 111 + 122 Sep 09 14:43:49 im seeing comment.tpl.php rite now is that right ? Sep 09 14:43:51 ah my bad, delta depends on module Sep 09 14:43:51 comments are comments... not nodes Sep 09 14:44:08 thanks dvessel Sep 09 14:44:23 * ferran299 (n=ferran@253.Red-83-57-191.dynamicIP.rima-tde.net) has joined #drupal-dojo Sep 09 14:44:23 comment-nodetype.tpl.php is available in 6 Sep 09 14:44:27 * ferran299 has quit (Client Quit) Sep 09 14:44:33 chx: say I have a front page that changes often (pointing to different node), instead of page-node-X.tpl.php, how to have a page-frontpage.tpl.php? Sep 09 14:44:37 metta: you can change the file to be used in phptemplate_variables so if you want comment-nodetype it's easy Sep 09 14:44:57 nice3z: see my note to metta just here Sep 09 14:45:05 * drupal has quit (Read error: 104 (Connection reset by peer)) Sep 09 14:45:36 * test346 (i=test@c-76-27-193-53.hsd1.or.comcast.net) has joined #drupal-dojo Sep 09 14:46:12 The naming hierarchy can be totally different in other theming engines? Sep 09 14:46:33 chx: i c.. using callback for a custom template file Sep 09 14:46:44 * zacker2 has quit (Read error: 113 (No route to host)) Sep 09 14:46:47 Linulo: It follows the same convention but the naming is based on engines. Sep 09 14:47:01 * test346 has quit (Client Quit) Sep 09 14:47:05 Linulo: that's my understanding.... but themes are usually built for a given theme engine Sep 09 14:47:25 template.php files are theme specific Sep 09 14:47:30 nice3z: no, using phptemplate_variables() to add one suggestion with $variables['template_file'] or add more with $variables['template_files'] Sep 09 14:47:40 But I guess, phpTal will have the specific-to-general priority thingy Sep 09 14:47:42 as well Sep 09 14:47:52 Linulo: yes, the file hierarchy is defined in phptemplate.engie so it's totally up to another engie Sep 09 14:48:29 chx: have not drill into that yet, will search later Sep 09 14:48:33 I never understood what jeff said about Zen becoming an engine and then back again in D6. Sep 09 14:48:54 Linulo: we can cover that afterwords Sep 09 14:49:47 k, thx, sry, did not mean to add static to a crowded chan. Sep 09 14:49:58 is there a list of overridable theming functions? Sep 09 14:50:14 * colinsagan (n=Colin@adsl-69-228-94-25.dsl.pltn13.pacbell.net) has joined #drupal-dojo Sep 09 14:50:24 liu: yes Sep 09 14:50:38 * mike_bucks has quit ("PJIRC forever!") Sep 09 14:50:46 http://api.drupal.org/api/group/themeable/5 Sep 09 14:50:52 thanks Sep 09 14:50:58 http://api.drupal.org/api/group/themeable/5 Sep 09 14:51:02 You can also do phptemplate_user_picture to abstract from module name Sep 09 14:51:02 too slow. Sep 09 14:51:20 :) Sep 09 14:51:43 * maureentheisen has quit ("PJIRC forever!") Sep 09 14:52:20 yeah.. just like that. Sep 09 14:52:52 chx: why too slow? Sep 09 14:53:04 dvessel linked first Sep 09 14:53:45 right Sep 09 14:54:10 web designers cannot be trusted ;-) Sep 09 14:54:29 heh.. true. Sep 09 14:54:33 and its not just safer but cleaner and easier to maintain for yourself aas well Sep 09 14:55:08 not necessarily faster though. And my designs stink :( Sep 09 14:55:27 often, more work up front equals less work later Sep 09 14:55:49 (note: I would call this function phptemplate_breadcrumb so that more than one theme can work off it) Sep 09 14:55:54 by work up front you mean teaching web designers php basics? ;-) Sep 09 14:56:06 chx - thats wat I said too. Sep 09 14:56:31 Linulo: how teaching Smarty vs. PHP basics differ? It's just syntax to have conditions, loops, prints. Sep 09 14:56:37 i thought chx said too slow to windstalkers question Sep 09 14:56:57 nah. Sep 09 14:57:01 cool Sep 09 14:59:03 $is_front, $zebra, $id.. etc Sep 09 14:59:25 _phptemplate_default_variables generates those. Sep 09 14:59:51 http://drupal.org/node/16383 Sep 09 14:59:58 http://drupal.org/node/16383 => Making additional variables available to your templates => 9 IRC mentions Sep 09 15:00:32 * orson has quit ("PJIRC forever!") Sep 09 15:00:40 * orson (n=orson@c-75-68-247-121.hsd1.vt.comcast.net) has joined #drupal-dojo Sep 09 15:00:43 does anybody know how many users are watching this? Sep 09 15:01:06 Haha.. i like that. Sep 09 15:01:38 wow Sep 09 15:01:44 * zacker2 (n=zacker@189.172.125.141) has joined #drupal-dojo Sep 09 15:01:51 about 98 Sep 09 15:01:57 I think Sep 09 15:01:59 Yannick: how do you know? Sep 09 15:02:00 smart variable, that $logged_in Sep 09 15:02:02 Yannick: lol Sep 09 15:02:06 nice3z, from ealier and related to this now: http://drupal.org/node/139766 Sep 09 15:02:08 http://drupal.org/node/139766 => Different page templates depending on URL aliases => 1 IRC mention Sep 09 15:02:17 I could be wrong? hehe Sep 09 15:02:28 Yannick: yeah I think so heh heh... let me check Sep 09 15:02:35 add1sun: thx! Sep 09 15:02:41 How's it going? Good lesson? Sep 09 15:02:42 Note, _phptemplate_HOOK() can also be used to intercept variables. It's not commonly used though. Sep 09 15:02:55 Is changing these variables best practice or considered "hacky"? Sep 09 15:03:15 Michelle: very good... you can't tune in? Sep 09 15:03:19 is by design Sep 09 15:03:29 Michelle: excellent lesson Sep 09 15:03:34 Linulo, it is the way to do it if you need it Sep 09 15:03:36 I just got here. I'll watch the recording sometime Sep 09 15:03:39 * ferran964 (n=ferran@253.Red-83-57-191.dynamicIP.rima-tde.net) has joined #drupal-dojo Sep 09 15:03:50 Michelle: highly recommended Sep 09 15:03:59 I just noticed that there was a number beside #drupal-dojo at the top and saw that it increased when someone joined the chat Sep 09 15:04:02 What are those regions for? I never use them in my themes. Sep 09 15:04:10 VVindstalker, regions Sep 09 15:04:14 are where you placve blocks Sep 09 15:04:24 Yannick: oh yeah... there are a lot more in the chat than viewing the lesson Sep 09 15:04:25 so when you put a block in the right sidebar Sep 09 15:04:27 Well, so I did not necessarily overlook many better options if I resort to changing the $variables? Sep 09 15:04:27 that is a region Sep 09 15:04:28 I don't need them. I just dump div's all around. Sep 09 15:04:32 I'm guessing that is the number of persons in the chat, which I kind of assumed were also viewing the lesson Sep 09 15:04:41 oh okay Sep 09 15:04:43 :) Sep 09 15:04:50 * zacker2_ (n=zacker@189.172.125.141) has joined #drupal-dojo Sep 09 15:04:55 http://drupal.org/node/29139 Sep 09 15:04:57 http://drupal.org/node/29139 => Regions in PHPTemplate => 30 IRC mentions Sep 09 15:05:11 * zacker2_ has quit (Client Quit) Sep 09 15:05:12 cell phone too near to microphone Sep 09 15:05:13 VVindstalker, you can do that as well - depends on the needs of your site and theme Sep 09 15:05:16 sepeck - "regions?" for that Sep 09 15:05:25 It was a good attempt :P Sep 09 15:05:27 hmm... my audio is off? Sep 09 15:05:46 damn i missed the regions! :( Sep 09 15:05:51 ah alright now.. reenable the audio Sep 09 15:06:09 Linulo.. I just can't think what you might need them for. Unless you have some kind of dynamic "blocks" ... Sep 09 15:06:14 * zacker2 has quit (Read error: 113 (No route to host)) Sep 09 15:06:15 Michelle, link was for Windstalker Sep 09 15:06:16 hehe Sep 09 15:06:22 Thank you very much indeed, Matt, great presentation! Sep 09 15:06:26 there are 78 unique IPs viewing the VNC right now... Sep 09 15:06:37 cck buffet! Sep 09 15:06:41 Antwerp Sep 09 15:06:47 sepeck - I know. I was just telling you that it's in the bot so you dont' need to look it up :) Sep 09 15:06:58 ah Sep 09 15:07:01 sepeck - can i get the link again? Sep 09 15:07:02 cool webavant Sep 09 15:07:06 Question - themeing a cck page like taxonomy/term/4 Sep 09 15:07:10 how? Sep 09 15:07:13 lol Sep 09 15:07:21 * daggi (n=chrisada@82-45-160-216.cable.ubr05.hari.blueyonder.co.uk) has joined #drupal-dojo Sep 09 15:07:25 regions? Sep 09 15:07:25 regions is http://drupal.org/node/29139 Sep 09 15:07:34 so do folks have questions at this point? Sep 09 15:07:39 sorry mant taxonomy page not cck page Sep 09 15:07:58 how to theme a page like taxonomy/term/4 Sep 09 15:08:07 Yes, I have some q uesitons. Sep 09 15:08:11 yes, very good question Sep 09 15:08:14 LET'S GET READY TO DRRRRRUPALLLLLLL! Sep 09 15:08:23 metta: taxonomy/term/4 theming? Sep 09 15:08:27 metta: ghankstef asked Sep 09 15:08:32 ghankstef: rename page.tpl.php to page-taxonomy-term-4.tpl.php Sep 09 15:08:45 metta, dvessel's got it Sep 09 15:08:57 * ferran964 has quit ("PJIRC forever!") Sep 09 15:08:58 cool - thaks Sep 09 15:08:59 me? that page is not themeable, only the node teasers are Sep 09 15:09:10 No questions here...thanks for the presentation Matt. Sep 09 15:09:54 I'd like to mention this link as well that does that http://www.blkmtn.org/Quick-and-dirty-OSWD-theme-to-Drupal Sep 09 15:09:59 not andreas 7 Sep 09 15:10:03 sweet - good idea matt Sep 09 15:10:06 http://www.oswd.org/design/preview/id/2426 Sep 09 15:10:22 but oswd.org themes are not that great Sep 09 15:10:33 is example, you can do this with anything Sep 09 15:10:38 sure Sep 09 15:10:42 well its an easy source for an exercise... ;) Sep 09 15:10:52 sure Sep 09 15:11:08 It's OpenSource. Go contrib great themes there. ;-) Sep 09 15:11:56 that's the excuse of open source projects when something's lacking ;) Sep 09 15:12:13 Cant wait to see the adminpanel lockout in about 1 min. Sep 09 15:12:14 isn't it supposed to be in themes dir? Sep 09 15:12:21 right website? /sites/all/themes Sep 09 15:12:34 metta: style.css Sep 09 15:12:45 shouldn't car about style.css Sep 09 15:12:47 yeah, strange Sep 09 15:12:51 sites/all/themes Sep 09 15:12:51 sepeck: it does Sep 09 15:12:51 just means not styled Sep 09 15:12:56 * Linulo scratches head. Should work. Sep 09 15:13:02 yes, but not for showing up Sep 09 15:13:06 themes ddirectory Sep 09 15:13:19 template.php? Sep 09 15:13:19 template.php is generally *only* PHP code. Sep 09 15:13:33 ah, okay. Sep 09 15:13:38 * sepeck for the WIN!!!!!!!!!!!!!!!!! Sep 09 15:13:45 lol Sep 09 15:13:47 yay Sep 09 15:13:51 :) Sep 09 15:13:53 good now Sep 09 15:14:02 is vnc working? Sep 09 15:14:09 sepeck: Okay, it's page.tpl.php or style.css. :) Sep 09 15:14:12 vmc works for me Sep 09 15:14:14 anantagati, yup, port 6001 Sep 09 15:14:20 hah Sep 09 15:14:24 lol Sep 09 15:14:25 :) Sep 09 15:14:36 ok, it is working Sep 09 15:15:25 I find having a copy of blue marine printed out next to me works best Sep 09 15:16:52 4 years of working on core do this to a coder Sep 09 15:17:03 hehe Sep 09 15:17:06 looks good on the screencaST Sep 09 15:17:06 sepeck: good suggestion. do you only have the source, or a annotated rendered view? Sep 09 15:17:09 * t-kamen has quit (Read error: 110 (Connection timed out)) Sep 09 15:17:45 AndrewGearhart: I just open the Blue Marine that comes with core Sep 09 15:18:12 Do the many jumps from HTML into PHP and back cost performance? Would it be faster if I echo'ed all the HTML instead? Sep 09 15:18:48 the difference is not measurable Sep 09 15:18:56 and it is much messier to read Sep 09 15:19:00 especially for non-coders Sep 09 15:19:01 chx, k, thank you Sep 09 15:19:15 * danielphin has quit ("PJIRC forever!") Sep 09 15:19:56 * Ruharen (n=171ByFbB@203.Red-81-37-228.dynamicIP.rima-tde.net) has joined #drupal-dojo Sep 09 15:20:13 * Senpai has quit (Connection timed out) Sep 09 15:21:22 * nice3z290 has quit ("PJIRC forever!") Sep 09 15:22:41 This is another nice tool. http://westciv.com/xray/ Sep 09 15:22:44 note from computer: shouldn't you be reviewing core patches? Sep 09 15:22:53 lol Sep 09 15:23:08 now it just needs to actually begin reviewing for me ;) Sep 09 15:23:27 I have a question about MENU theming. Sep 09 15:23:28 return true; // reviewing done Sep 09 15:23:30 adding another region would be good Sep 09 15:23:41 Matt: what is your most useful 'cheap trick' for theming a web site? Sep 09 15:23:44 yes! regions! Sep 09 15:23:47 yeah go with that Sep 09 15:23:48 * BryanSD has quit ("PJIRC forever!") Sep 09 15:23:51 147789 Sep 09 15:23:54 http://drupal.org/node/147789 => Development tools => 5 IRC mentions Sep 09 15:23:57 regions? Sep 09 15:23:57 regions is http://drupal.org/node/29139 Sep 09 15:24:31 code? Sep 09 15:24:31 Code (or any contribution, really) is the currency of open source projects. Before making demands, check your own contribution bank account. Sep 09 15:24:35 grr Sep 09 15:24:41 lol Sep 09 15:25:05 http://drupal.org/coding-standards Sep 09 15:25:15 hah hah Sep 09 15:25:34 sepeck, that one is standards? Sep 09 15:25:46 How do we keep the active menu Highlighted when we click on the node it links to? Sep 09 15:26:01 * samtresler (n=stresler@ool-4572333f.dyn.optonline.net) has joined #drupal-dojo Sep 09 15:26:35 is there a way that we can apply a different theme for a different user ?? example a different theme for admin and then different theme for editor and another for designers ?? Sep 09 15:26:49 Yes, there is an admin-theme module Sep 09 15:27:04 keeps it separate from user theme Sep 09 15:27:07 thecoolone19, that's in out of the box, isn't it? Sep 09 15:27:34 maybe its in default install.. dont remm Sep 09 15:27:36 well you can have a different page theme for the admin out of the box Sep 09 15:27:40 VVindstalker: but that works only if you go to the admin section and then browse from there Sep 09 15:27:50 and you can have an admin section have a different theme Sep 09 15:27:54 an = the Sep 09 15:27:55 Well.. each user can selec their own them. Sep 09 15:28:03 in their profile. Sep 09 15:28:07 oh right! ha true dat too Sep 09 15:28:17 ..or the admin can choose them and disable user theme selection Sep 09 15:28:40 * dmitrig01 (n=dmitri@c-67-169-161-36.hsd1.ca.comcast.net) has joined #drupal-dojo Sep 09 15:28:42 but for some reason the admin theme doesn't seem to apply to the "create content" and "add block" pages. any idea why? Sep 09 15:28:43 * voidengine has quit ("PJIRC forever!") Sep 09 15:28:50 What is matt doing now??? Sep 09 15:28:52 metta: phptemplate variables - can you give an demo of creating your own variable which you can use in page.tpl.php ? Sep 09 15:29:08 yumminy: there's a module that can handle that but not per user. Sep 09 15:29:13 VVindstalker, he was adding the extra stylesheet for ie Sep 09 15:29:16 it's per taxonomy or path. Sep 09 15:29:21 yumminy: i don't know...i have the sample problem, but i don't care - i just use it for temporary development Sep 09 15:29:25 * cmbehr has quit ("PJIRC forever!") Sep 09 15:29:30 hey all Sep 09 15:29:32 oh. tx dvessel Sep 09 15:29:35 taxonomy_theme Sep 09 15:29:49 add1sun: even when i apply different theme for admin and anon users, when i log in as admin the admin theme doesnt apply by default. i have to go to the admin section and only then the admin theme kicks in... could this be a bug ? Sep 09 15:30:20 thecoolone- thats the idea. So that you won't have to theme admin area urself. Sep 09 15:30:47 thecoolone19, when you set "deafult" admin theme Sep 09 15:30:55 that is only for the admin area. period Sep 09 15:31:03 * colinsagan has quit () Sep 09 15:31:04 if you want the admin *user* to have atheme Sep 09 15:31:08 * yoroy has quit () Sep 09 15:31:14 that is in the profile for the admin user Sep 09 15:31:41 if you allow selecting themes for users Sep 09 15:31:53 ok Sep 09 15:31:55 What's the best way of testing with an anonymous user? Another browser? Sep 09 15:32:08 Linulo, there is also a module Sep 09 15:32:11 masquerade Sep 09 15:32:17 cool, thx, add1sun Sep 09 15:32:40 very useful, thanks add1sun Sep 09 15:32:41 metta: it's only shown to the user who created it Sep 09 15:33:05 yeah but i also alwasy check in a separate browser during final testing just ot be sure Sep 09 15:33:28 dmitrig01: doesn't mean it won't be safe. :) Sep 09 15:33:39 * dmitrig01 has quit (Read error: 104 (Connection reset by peer)) Sep 09 15:33:58 This is a bizarre conversation to someone who isn't listening in ;) Sep 09 15:34:04 * dmitrig01 (n=dmitri@c-67-169-161-36.hsd1.ca.comcast.net) has joined #drupal-dojo Sep 09 15:34:20 hehe Sep 09 15:34:26 * MattKelly has quit (Connection timed out) Sep 09 15:34:27 %^) Sep 09 15:34:28 what does the t() function do? Sep 09 15:34:32 who are these angry germans? Sep 09 15:34:37 translation Sep 09 15:34:40 ooh okay Sep 09 15:34:41 t? Sep 09 15:34:41 t: Translate strings to the current locale. => t($string, $args = 0) => http://api.drupal.org/api/5/function/t Sep 09 15:34:41 Please be very careful about using !... if you don't want italics, use @ instead! Sep 09 15:34:44 and take out the

in _phptemplate_variables Sep 09 15:35:05 I think it was jeff who said, phptemplated had "fundamental restictions" and Drupal would need an API like the Forms API for the future. Could somebody comment on that? Sep 09 15:35:28 * zacker2 (n=zacker@189.172.125.141) has joined #drupal-dojo Sep 09 15:35:39 metta: t() will check_plan for you Sep 09 15:35:46 *plain Sep 09 15:36:16 * ferran193 (n=ferran@253.Red-83-57-191.dynamicIP.rima-tde.net) has joined #drupal-dojo Sep 09 15:36:31 :P Sep 09 15:36:58 also, not in scope but just so people are aware. You can implement stuff from a template.php file into a drupal modules to be avilaable across multiple themes OR if it's a series of theme things you do for many themes Sep 09 15:37:13 FAPI on the theming layer? heh, no thanks. Sep 09 15:37:25 sweet Sep 09 15:37:26 THANK you. Great lesson! Sep 09 15:37:29 thanks metta! Sep 09 15:37:29 tks matt Sep 09 15:37:29 thank you! Sep 09 15:37:30 excellentr Sep 09 15:37:31 thanks for teaching! Sep 09 15:37:32 NO, THANK YOU! Sep 09 15:37:34 Thanks metta ! Sep 09 15:37:34 sepeck: something you would put inside a "mysite.module" instead of template.php ? Sep 09 15:37:36 Thanks al lot! Sep 09 15:37:39 Thanks Sep 09 15:37:40 *clap* Sep 09 15:37:42 NOW PUT YOUR PANTS BACK ON Sep 09 15:37:45 nice presentation Sep 09 15:37:46 thank you! Sep 09 15:37:50 Thank you! Sep 09 15:37:52 thanks matt Sep 09 15:37:53 theme-stuff.module Sep 09 15:37:56 Thank you Sep 09 15:37:59 Thank you! I really enjoyed it :) Sep 09 15:37:59 metta: very nice to see you in action. Sep 09 15:38:00 metta: seen you in a week or so here..? Sep 09 15:38:01 metta: is there a 2nd edition of the book planned ? coverin D6 ? Sep 09 15:38:02 thanks all Sep 09 15:38:07 Matt, great presentation. I'll look forward to the next lullabot podcast. Will the slides be made available? Sep 09 15:38:07 chx: you bet man! Sep 09 15:38:08 *clap* Sep 09 15:38:12 nice, thx Sep 09 15:38:14 thanks Sep 09 15:38:17 thak's nice, great Sep 09 15:38:19 guardian: metta said no for D6 but probably for d7 Sep 09 15:38:21 * metta high-fives the dojo peeps Sep 09 15:38:23 * Michelle444 has quit ("PJIRC forever!") Sep 09 15:38:25 *clap* Sep 09 15:38:26 metta thanks Sep 09 15:38:28 oh sorry Sep 09 15:38:29 thanks Sep 09 15:38:29 * liu has quit ("PJIRC forever!") Sep 09 15:38:30 Great presentation Matt, Thanks! Sep 09 15:38:31 * raf841 has quit (Read error: 104 (Connection reset by peer)) Sep 09 15:38:31 * demetan has quit (Read error: 104 (Connection reset by peer)) Sep 09 15:38:32 I've got a good recording... good lesson Matt Sep 09 15:38:34 This may be good reference for all you themers. http://drupal.org/files/theme_flow_5_0.pdf