In today's podcast, Bob dives into the world of Drupal theming by showing how to create a node-custom.tpl.php file and how to use print_r($node). The alternative to this is to do all the same stuff but use contemplate.module. Hopefully it makes sense...Bob recorded this one pre-coffee.


Another helpful cast. The
Another helpful cast. The print_r node code is great. Going to jot that one down. Made me excited to get into this and at the same time made me realize all this php stuff is over my head. Im sure it will eventually become clear.
Excellent.
Bob,
An excellent explanation of how to theme a specific nodetype. Keep them coming!
/keith
Great!
I have always had a hard time understanding this until I saw you work though it in the video. Great stuff!
Quick Question
Bob -
Great videos!
What editor are you using in this video podcast?
Thanks!
Keep rockin' out for the Kingdom [I appreciate what you do].
Blessings,
.theWatts
Coda!
People keep asking what editor this is, I may just have to do a screencast on it....It's my new favorite editor Coda. I just love it.
please help
How can I make the title link back to the node?
" title="<?php print $title
" title="<?php print $title ?>"><?php print $title ?>
FANTASTIC
Rob, Thanks!!!
For the sake of curiosity I seemed to miss how does it know to use your tpl file instead of the one one in the module?
Thanks
Kent
It just knows :)
@kent
When drupal loads a page it looks through template files in a certain order. Basically, the answer of "how it knows" is because it tries to load a tpl.php file in your theme folder before one in the core drupal installation. If it finds one there, it loads it...if not, it moves onto the core (default) files.
Bob you are awesome. Great
Bob you are awesome.
Great stuff !
Keep floooding such great podcasts. :)
Can we expect something about Panels in next upcoming podcasts ?
Post new comment