Creating Variables

On this week's Mustardseed podcast, Bob returns from his holiday hiatus to show you how to make new variables available in your theme template files. This will help you clean up your theme templates and get used to doing all theme logic in the template.php file. Don't forget to check out the options for template_preprocess!

Go Bob! For a year+, I've known I'm supposed to be doing this. Now I know how. Thanks!
Just wanted to add my personal thanks for these great Drupal video tutorials. A unique resource for those coming to Drupal from the 'design' side. I don't know how much prep' you do on these, but you certainly have real aptitude for teaching. Clear and concise; you make Drupal seem simple!
What is the purpose of the line with "global user"? Thanks again for another great broadcast.
in this case, we wanted the $user variable to be the information for the user who is currently viewing the site (the person looking at the content)...the $user variable can mean different people depending on where/how it's used. By declaringglobal $user; it's telling Drupal that we want the person viewing the content, not other $user information.
Thank you Bob for doing these great podcasts! I really like your style, straight on, full speed and no nonsense! Rock on!
These podcasts are a tremendous service to the community. Thanks for all the great work!
Hey Bob, i'd like to create a variable for my node.tpl.php, that contains the imagefield of the node. Does this variable exists yet or do I have to create it? Thanks! Great podcast!
i just looked at that enginename_preprocess_hook and this is what they have there now... # engineName_preprocess_hook - NOT RECOMMENDED. Another preprocessor named after the engine but specific to a single hook. so I guess this is a new warning. just fyi.. but awsome video