Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

4. Media Management > Hands-On: Music Reviews

Hands-On: Music Reviews

To begin, we need to handle some basics: creating a form with which to create reviews, and a way to tag reviews of the same band.

Review Content Type

The first thing that we’ll need for our music review site is a new content type. This content type will let users enter reviews and add media assets to them. A file field will allow users to add a photo that is used as a thumbnail in teasers, and shown on the full node page in a cropped version. Later in this chapter, we will configure the content type’s Body field in a way that allows users to insert media assets directly into the text area.

To help you get started, this chapter’s source code provides a basic Review content type, with nothing but a Title and a Body field (if you’re not using the book’s source code, go ahead and create a new content type now, using the skills you learned in Chapter 3). In this section, we’ll enrich our basic Review type with a file field that allows you to upload and use several types of media files through the media browser.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint