Start learning with our library of video tutorials taught by experts. Get started

Drupal Gardens Essential Training
Illustration by

Creating dynamic pages with simple views


From:

Drupal Gardens Essential Training

with Tom Geller

Video: Creating dynamic pages with simple views

Now we come to one of the best parts of Drupal Gardens: views. Put simply, a view is a way to collect a bunch of information on your site into one page. You saw views like pages at the beginning of this course when we clicked on the Blog link up here in the News link. That would show blog post from everybody on your site, or all things that were news items. But you can create your own views that collect nodes according to all kinds of criteria, by using something that's built into Drupal Gardens called simple views. As its name implies, simple views is a streamlined version of a much more complicated Drupal module called Views that's available for core Drupal.
Expand all | Collapse all
  1. 29m 56s
    1. Welcome
      1m 39s
    2. Previewing the finished project
      1m 29s
    3. What's new in the late 2011 update?
      5m 28s
    4. What is Drupal?
      5m 8s
    5. What is Drupal Gardens?
      5m 57s
    6. Getting started with Drupal Gardens
      5m 35s
    7. Getting help
      4m 1s
    8. Using the exercise files
      39s
  2. 17m 40s
    1. Using the administrative overlay
      2m 54s
    2. Using the dashboard, toolbar, and shortcut bar
      5m 36s
    3. Touring the newly created site
      3m 55s
    4. Configuring the site
      5m 15s
  3. 59m 47s
    1. Creating and managing content
      11m 11s
    2. Creating and managing content types
      10m 35s
    3. Embedding YouTube videos and other media
      4m 5s
    4. Subscribing to RSS feeds
      4m 49s
    5. Categorizing RSS feeds
      5m 1s
    6. Managing tags and taxonomies
      5m 50s
    7. Creating dynamic pages with simple views
      4m 29s
    8. Creating complex information collections with Views
      8m 59s
    9. Creating image galleries
      4m 48s
  4. 37m 50s
    1. Working with blocks
      10m 26s
    2. Setting up rotating banners
      7m 45s
    3. Understanding menus
      7m 27s
    4. Setting up contact forms
      7m 7s
    5. Adding and removing functionality
      5m 5s
  5. 54m 54s
    1. Managing users
      6m 28s
    2. Adjusting user permissions
      6m 35s
    3. Managing comments
      7m 7s
    4. Slowing spam
      5m 20s
    5. Starting discussion forums
      9m 3s
    6. Creating blogs
      4m 41s
    7. Setting up mailing lists
      4m 50s
    8. Allowing users to rate content
      4m 21s
    9. Using best practices for online clubs
      6m 29s
  6. 44m 35s
    1. Getting feedback with webforms
      6m 14s
    2. Publishing RSS feeds
      6m 40s
    3. Taking advantage of social media
      9m 33s
    4. Emphasizing external links
      2m 44s
    5. Improving search engine optimization (SEO)
      7m 30s
    6. Internationalizing sites
      8m 6s
    7. Tracking site usage with Google Analytics
      3m 48s
  7. 34m 40s
    1. Understanding Drupal themes
      5m 44s
    2. Understanding the Theme Builder
      5m 25s
    3. Switching, saving, and copying themes
      7m 13s
    4. Introducing custom CSS
      6m 51s
    5. Refining selections in the Theme Builder
      5m 48s
    6. Exporting themes
      3m 39s
  8. 48m 31s
    1. Changing the site's color palette
      2m 32s
    2. Changing the site's main logo and favicon
      5m 22s
    3. Changing the column number and arrangement
      5m 7s
    4. Adding background colors and images
      6m 29s
    5. Changing element spacing and borders
      6m 11s
    6. Adjusting typography
      4m 24s
    7. Using fonts from outside sources
      5m 7s
    8. Inserting raw CSS code into themes
      6m 57s
    9. Adding visual effects with JavaScript libraries
      6m 22s
  9. 14m 18s
    1. Finessing theme design
      7m 51s
    2. Eight ideas for modifying themes
      6m 27s
  10. 23m 38s
    1. Monitoring sites
      4m 11s
    2. Duplicating and deleting sites
      4m 23s
    3. Adding custom domains
      3m 48s
    4. Using exported sites outside of Drupal Gardens
      3m 46s
    5. Hosting exported Drupal Gardens sites
      7m 30s
  11. 51s
    1. Goodbye
      51s

Watch this entire course now—plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
please wait ...
Drupal Gardens Essential Training
6h 6m Appropriate for all Jan 05, 2011 Updated Nov 10, 2011

Viewers: in countries Watching now:

Author Tom Geller demonstrates how to create and publish a complete web site with the powerful tools in Acquia's hosted service, Drupal Gardens. The course shows how to leverage the pre-built page layouts and add custom styling using the ThemeBuilder tool; integrate rich site features, such as surveys, user ratings, and media galleries; and push content to Twitter and Facebook. The course also covers transitioning from a Drupal Gardens site to a self-hosted Drupal site. Exercise files are included with the course.

Topics include:
  • Creating and managing content and content types
  • Embedding videos and other media
  • Publishing and subscribing to RSS feeds
  • Setting up blocks, banners, menus, and forms
  • Allowing users to rate content
  • Managing comments and spam
  • Tracking site usage
  • Collecting feedback with web forms
  • Duplicating and deleting sites
  • Adding custom domains
  • Changing the site's main logo and favicon
  • Adding visual effects with JavaScript libraries
Subjects:
Web CMS
Software:
Drupal Gardens
Author:
Tom Geller

Creating dynamic pages with simple views

Now we come to one of the best parts of Drupal Gardens: views. Put simply, a view is a way to collect a bunch of information on your site into one page. You saw views like pages at the beginning of this course when we clicked on the Blog link up here in the News link. That would show blog post from everybody on your site, or all things that were news items. But you can create your own views that collect nodes according to all kinds of criteria, by using something that's built into Drupal Gardens called simple views. As its name implies, simple views is a streamlined version of a much more complicated Drupal module called Views that's available for core Drupal.

Views is so useful that it is the number one most popular module for Drupal, and in fact, I presented it in entire lynda.com course based heavily on views, called "Drupal 6: Online Presentation of Data." Now, simple views has maybe a tenth of the power of the full Views module, maybe a 50th. But still, it's surprisingly useful. So we're going to create our own view to list all of the tours on our site, with the most recently added ones at the top. In previous videos, we added three nodes at the Tour content type, and you can see that by going to Content and then filtering on the type Tour, and there they are.

Now, it's time to group them. To do that, we go up to Structure and then down to simple views. Now you'll notice one view is already there, as I mentioned--the News view, which is linked from that menu on the front page. We're going to ignore that and add our own view. The title will be called Newest Tours. The path will be new-tours. Now, that describes the page that you'll go to in order to see this information. It'll be your domain/new-tours. We'll display only the tour posts, sorted so that the newest ones are first, and we'll show that simply as a list of titles, where clicking reveals the full post.

We could also limit that to tags so that if, for example, we wanted it to be only the Backpack California tours, it would show up in the view, but we're going to just leave it for all of them. It'll show ten items on the page. We won't talk too much about the RSS feed and expose as block. They are pretty big subjects on their own. And I'll show you how to use that RSS feed in the video later on about publishing RSS feeds. But right now, we'll just leave it as it is and know that they are available for us later when we want to take a look at them. Click Submit, and that's actually all we have to do.

Now if we go to that page, new-tours-- and I can do that simply by clicking here-- we see the Channel Islands Excursion, Death Valley Survivor's Trek. You remember these were the three tours that we added most recently. If we click on any of these titles, it then shows us more of the information. I want to muck a little bit with this view so that you can see some of the different options that are available when you create a simple view. To do that, go up to Structure and then down to simple views again, and there is our Newest tours view. Click on edit.

Let's change just exactly how that shows. List of titles (clicking reveals full post), which as you saw was a sort of neat animated JavaScript thing. Now I'm just going to make it a List of titles instead and submit. Now if I go to new-tours--and again, I could actually just type that up here, new-tours--there is our page. And if you click on any of these, it now goes to the full node, which includes the picture and the price and all that sort of thing. And from there, you can edit it if you want. This is the Nodes page.

Once again, I'll just go up to Structure, just to give you an idea of some of the different options, and edit it, and show a list of full posts, and submit. Now when we go to that new-tours page, we see the whole thing, all in one page-- great way to show a catalog of your different products, for example. Now when you make a view, chances are you'll want to add a link to a menu somewhere so that people can get to it quickly, and they don't have to type in "new-tours" or whatever the page address is.

You'll learn how to do that in the video about understanding menus. I hope this shows you how powerful simple views can be for displaying dynamic content. It's not always easy to see just how powerful it is, but I think once you start having lots and lots of nodes on your site, you'll start needing to organize them somehow. Then it'll become clear how simple views works together with taxonomy to keep your information grouped and easy to understand.

There are currently no FAQs about Drupal Gardens Essential Training.

 
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.
Upgrade now


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

join now Upgrade now

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Drupal Gardens Essential Training.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Notes cannot be added for locked videos.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.