From Pictures To Media

Status: 
Open
Question: 

i am stucked at this point:

From Pictures To Media
In section 5.1.4, we have created a “pictures page”, which gave
our users an overview of all available image galleries. We could
expand this page, to also include video galleries, and thus become
a “media” page (fig 5.12). Here is an example approach:
1. Add an extra field: Video, which you display as Image
Thumbnail.
2. Allow an extra content type: videos.
3. Add an exposed filter on content type: video/image, so users
can pick their category. Be sure to check “Limit list to selected
items”, an option only available from Views version 2
(and up)

i cant understand how to do this. Can anyone please explain this?

Responses

1. I'm a little confused too...

Picture page no problem....I go back in to the view:

1. Add an extra field: Video, which you display as Image
Thumbnail.

-----> Done

2. Allow an extra content type: videos.

------> Here is where I lose it. Are we going to add another content type to field? Need some clarification here.

2. Media Files in Drupal

Greetings.

Once you have your media player configured, such as the JW FLV Media Player, so your Drupal site can play media files, you can then add new media fields to your content types. You will need the CCK module and extra CCK media fields for this.

I use the Embedded Media Field module (http://drupal.org/project/emfield) which provides new media CCK fields. I then created a new content type called video and attached an embedded media field to it. This allows users submit a video link and create their own video galleries using embedded online media. If you prefer to allow your users upload their own videos directly, the embedded media field module is probable not what you need. I suggest the Video module (http://drupal.org/project/video) which includes CCK fields.

To add a new field to a content type, select the fields tab when viewing your content type. You can add new fields, just as we did when we added the new profile fields, like bio, date of birth, avatar, etc. Except this time we add a media field to our custom content type. After you have added the field, configure it as desired. When your users select create content, our new content type 'video' is now available. Remember, creating new content type fields adds new permissions, so you will need to set these up as well.

All the best,

Shane.

3. Figured it out....

On step two...go to your Filters area where you have selected - Node: Type in Photo Gallery. Here is where you select Video Gallery as the extra content type. You will then look to the right and you will see the expose button. Now step three, after you have clicked on the expose button you will find other options that are available. Step 2 & the first sentence of step 3 are action that are performing the same instruction. Continue on step 3 with selecting "Limit list to selected items," and you are done. Click update!

You can also change the way the Label: sections reads by changing the Node:Type to just Type so that you don't see the word "Node".

daMaddHacker