drupal 7
If you have a Drupal 7 site and you want to change the output of a content-type you can do it via the UI or you can create a so called node template and copy it to your theme.
The name of the template has to be node--[name of content-type].tpl.php (Watch the two hyphens ... In Drupal 6 it was one :) ). If your content-type is called house the name of the template file has to be node--house.tpl.php.
In Drupal 6 days I often used the content template module to figure out how to access the value of a field. That doesn't work anymore.
In Drupal 7 the access is (on one hand) much easier. You can use the render function like this
$yourfieldname = render($content['field_yourfieldname']);
You get the fields value as configured in structure -> content-type -> manage display. Very cool!
When you use node references (like me) things seem to get more complicate:
1. Introduction
As video is the media getting more and more important this chapter will show and describes the basic things how video could be integrated into drupal.
- Introduction
- The Video-Workflow: the steps necessary to get a video to a website.
- Basics, Videoformats & Codecs: some facts you should I keep in mind.
- Display-Methods: depending on the target device you need to keep aware to use the right code & content
- Methods to deliver your video: Streaming, Progressive Download or just Download ?
- File & Play - the Video Player-Modules: video player modules for displaying your video-content
- Most Wanted Modules: the most important Modules for embedding 3rd party content from portals like vimeo, youtube etc.
- Integration-Example: display a video in a thickbox with views & colorbox
- Video Distributions: a short overview on the current drupal distributions focused on video
- Conclusion & Resources
2. The Video-Workflow
The figure above shows the typical steps which you need to go through to bring a video to your website. Depending on your needs and your chosen technology-environment some steps can be grouped together or skipped, e.g. if you select a 3rd party video-hosting service, they should offer the upload-, endcoding & storage-service.
Read more
Introduction – What is Display Suite?
It's a module, of course, and it gives you full control over how your content will be displayed. Ever wondered how to get around
print render($page['content']);
in your page.tpl.php, and you are not into php coding and you don't like to mess around with the devel module? Well then Display Suite is for you and even better it comes with a drag and drop interface and a predefined list of layouts!
...
...
We're going to take a look under the hood of Drupal and take a look at the inner workings of the Theming API. This will give you the tools to even better do your theming. So, no chit-chat about what is beautiful, but getting dirty with PHP. No worries if you're not a PHP Hero, I'll be your PHP Hero this time and show you what you need to know.
The Prairie Initiative is a social architecture project for Drupal.org with two main goals: to improve the collaboration tools on Drupal.org so that we can do more and better work together, and to grow the pool of contributors to Drupal by making it an easier place to become a contributor.
...

