drupal

It's complicatedIf 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:

Drupal Doing Video

Submitted by mori on 23. August 2011 - 7:28
Thank you for your contribution: 
Mori
Thank you for your contribution: 
Propeople

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.

  1. Introduction
     
  2. 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 ?
       
  3. File & Play - the Video Player-Modules: video player modules for displaying your video-content
     
  4. Most Wanted Modules: the most important Modules for embedding 3rd party content from portals like vimeo, youtube etc.
     
  5. Integration-Example: display a video in a thickbox with views & colorbox
     
  6. Video Distributions: a short overview on the current drupal distributions focused on video
     
  7. 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

Content Make-Up | Display Suite for Drupal 7

Submitted by Tino Urbiks on 30. July 2011 - 7:37
Thank you for your contribution: 
Deeson
Thank you for your contribution: 
Tino Urbiks

Introduction – What is Display Suite?

vortrag-ds.029It'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!

Code Less - Configure More

Submitted by Hagen Graf on 16. July 2011 - 11:35
Thank you for your contribution: 
Hagen Graf
Thank you for your contribution: 
Hydrant

Ready for ModdingBefore I go into details I want to mention a few things about participation in open source software projects. When you start using the outcome of an open source project you are a part of the community. You can get something from the project and you can contribute to the project too.

PUT and GET (Give and Take)

As a member of the community you have to think about two things (let's compare it with the Hypertext Transfer Protocol methods GET and PUT)

  • What do you want to GET out of it (money?, fame?, friends?, free beer?, [... other ...])
  • What do you want to PUT into it ( code?, ideas?, logistics?, money? [... whatever ...]

What's your Job?

Open source project are mostly software projects and it's good to know your own job description. Are you a site builder, a developer, a designer, an architect, a "rockstar" or something totally different?

About the Book

Submitted by Hagen Graf on 28. June 2011 - 16:20

This book covers the sessions of the Drupal Design Camp, held in Berlin, Germany 25+26 June 2011.
Each speaker will write a chapter.
To clarify any confusions I want to provide a few answers to questions I got during the past few days.

How will this book be distributed?

We will distribute the book as:

When will it be ready?

We asked the authors to get ready until July 15th (that's hard).
You can follow the progress by looking at the HTML version.
A few days later, the downloads will be available.

What is a hapter?

A chapter is one page on the website and usually 10-30 pages in a book.
It consists of text and screenshots. The screenshots will be uploaded to Flickr and embedded in the page

License

All the content of the book will be under Creative Commons Attribution 2.0 Generic (CC BY 2.0).

Author

The author of a chapter provides the content and is mentioned:

Publisher

cocoate is the publisher of the book and provides the following services:

  • project management
  • hosting and delivering of the pdf file and HTML version
  • adding and managing the files at Amazon, Lulu and Apple
  • make sponsors and authors visible on the website

Sponsors

Thanks to a lot of companies and individual people who support the creation of the book we are able to realize this idea.
The sponsoring is chapter-based and one chapter costs 99 €.
The sponsors are mentioned by a:

  • full banner in the sponsored chapter
  • full page in the book at the beginning of the sponsored chapter
  • list of all sponsors

Who gets the money?

The money we collect from sponsors is hopefully to cover the costs of the whole publishing process.
The money which comes in through selling books will be donated to "Front End United" for the next meeting.

Please comment if you have any questions concerning any aspect of this project.
 

Drupal Frontend United - to do

Submitted by morten on 28. June 2011 - 10:55
Thank you for your contribution: 
Four Kitchens
Thank you for your contribution: 
geekroyale

...

Drupal Gardens

Submitted by Robert Douglass on 26. June 2011 - 10:41
Thank you for your contribution: 
BROCKE.DE
Thank you for your contribution: 
Robert Douglass

...

Theme Key - to do

Submitted by mkalkbrenner on 25. June 2011 - 12:58
Thank you for your contribution: 
Fidibiko
Thank you for your contribution: 
Markus Kalkbrenner

...

Syndicate content