navigate site menu

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

Drupal Gardens Essential Training
Mark Todd

Drupal Gardens Essential Training

with Tom Geller

 


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

show more

author
Tom Geller
subject
Web, CMS
software
Drupal Gardens
level
Appropriate for all
duration
6h 6m
released
Jan 05, 2011
updated
Nov 10, 2011

Share this course

Ready to join? get started


Keep up with news, tips, and latest courses.

submit Course details submit clicked more info

Please wait...

Search the closed captioning text for this course by entering the keyword you’d like to search, or browse the closed captioning text by selecting the chapter name below and choosing the video title you’d like to review.



Introduction
Welcome
00:04Hi! I am Tom Geller, and this is Drupal Gardens Essential Training.
00:08Drupal Gardens is a hosted version of the content management system Drupal,
00:12which runs about a quarter million sites on the web.
00:15Drupal Gardens simplifies Drupal by taking care of some of its more tedious
00:18tasks, such as installing and maintaining the software.
00:22Drupal Gardens also has some features you won't find in standard Drupal, such as
00:26the revolutionary Theme Builder, which lets you create gorgeous graphical
00:29interfaces for your Drupal sites with a simple point-and-click tool.
00:34Like other hosted content management services such as WordPress and LiveJournal,
00:38you can build sites on Drupal Gardens for free
00:41if you let them run ads on your sites. To get rid of the ads and have more
00:45storage space and bandwidth, you pay a monthly fee.
00:49This course takes you through the whole process of building a site.
00:52We'll focus especially hard on making the site look the way you want it with
00:55Drupal Gardens' Theme Builder.
00:57But we'll also show you how to fill it with writing, images, and media files,
01:01how to manage site members in case you decide to make it a membership-driven
01:04site, and how to take the site you created here, and move it to any web host you want.
01:10I've been excited about Drupal Gardens since it went into beta in February of 2010.
01:15I believe that Drupal Gardens makes Drupal's benefits accessible to a whole new
01:19group of people who don't want to deal with system administration.
01:23But it's also useful for experienced Drupal managers, both for its Theme Builder
01:27and as a prototyping tool.
01:29So if you're looking to get your hands on the professional-level tools that
01:32Drupal offers, this course will help you get there.
01:35Let's get started with Drupal Gardens Essential Training.
Collapse this transcript
Previewing the finished project
00:00Before we get started, I want to give you a sense of what we're going to finish up with.
00:05That will give you some inspiration to keep you going, and also point out some
00:08things that you can do with Drupal Gardens as you go along.
00:12Through this course, we're going to design a site that encourages people to
00:16visit California and go on some tour packages.
00:20We have our own custom design here, which has a graphic up here and a faded
00:23graphic down here, as well as our own custom logo here.
00:27As you might guess, these links go to different parts of the site, including
00:30some that are dynamic.
00:32So instead of being just a single page with one piece of information, it's a
00:35list of blog posts and a list of news items and so forth.
00:40This list down here shows a collection of all of the tours that we're
00:43offering, including those translations that we've done of tour descriptions
00:46such as this one in Esperanto.
00:48When we go to that, we can in fact switch between the English and the Esperanto
00:53version very easily just with a click.
00:55Again, this is all done with Drupal Gardens very easily.
00:59We allow people to provide feedback to us both through this little link here
01:03and through the Contact link here.
01:06Finally, we provide picture galleries, so people get an idea of what exactly
01:10they're going to be seeing.
01:12Those galleries not only have pictures, but also movies which come from YouTube.
01:16So, that's our site.
01:18We're going to be going through and putting in each one of these pieces as we
01:21go through the course.
01:23It may seem like a lot now, but as we take it piece by piece, you'll find it a
01:27very simple process.
Collapse this transcript
What's new in the late 2011 update?
00:00Acquia, the company that runs Drupal Gardens, is extremely active in the
00:04Drupal community, and it's always tweaking the Drupal Gardens software to make it better.
00:09That's good for you, but it also means that the interface and features change
00:12quite a bit over time.
00:14So some of the things you see in this course won't look quite the same as
00:17what's on your screen.
00:18We re-recorded the most important parts in late 2011, but we left alone those
00:23differences that are mostly just cosmetic, or where the difference wouldn't
00:27essentially change how you'd build your website.
00:29For example, what used to be called Articles is now called News Items;
00:33I thought you'd be able to figure such things out as they go by.
00:37This video mentions a few of those small changes that just might throw you if
00:41you're not expecting them.
00:42One of the first things you'll notice occurs when you create a piece of content.
00:46I'll do that by going up to Add content and adding a basic page.
00:51I'll put in a title of Test and a body of Test.
00:57We'll be deleting this page anyway.
01:00When I scroll down to the bottom, this button previously said Save, and there was
01:04a different arrangement of these other buttons.
01:07Now we can publish it or save it as a draft.
01:10The difference between the two is when I publish it it's actually going up as
01:14published, and saving as draft creates the node, but as an unpublished node.
01:19I'll click Publish so you can see the difference.
01:24Now if I go back and edit that node, I scroll to the bottom, and you'll see
01:29there's now an Unpublish button and a Save button.
01:32It reflects the fact that this is now a published node.
01:35For us though, I am just going to delete it.
01:42Another place you'll notice some differences is when you create your site's name and slogan.
01:47You can see that by going into Configuration and Site information.
01:54Here we have some instructions on how to hide the site name and also the site slogan.
02:00Previously there were check boxes here to do that,
02:03but there was an architectural change so that each of these pieces is now
02:06actually part of a block.
02:08I can show you that by going up to Structure and Blocks.
02:14As I go down all the way to the bottom, since I have these disabled, you see
02:18Main site logo, and around here there is also a Site slogan, right down there.
02:23You'll hear more about the function of blocks in the video "Working with blocks."
02:28Going on, the Theme Builder is still one of the most important parts of Drupal
02:32Gardens, and it has gotten even better since we first created this course.
02:36To see it, we close out our overlay and then click Appearance.
02:45The first change is quite obvious.
02:47It used to be that these Themes link was the first tab that you saw,
02:51but the folks at Acquia realized that usually when people used the Theme
02:54Builder, the first thing they did was they went around and styled different
02:57parts of their page, so they made that the first tab, and it's the default one
03:01you go to when you first open the Theme Builder.
03:04Another difference, which we don't see right now, occurs when you turn on the
03:07Font Management module.
03:09A new link shows up here, Configure Professional Fonts.
03:13If you want to learn more about that, see the video "Using fonts from outside sources."
03:18The Themes tab itself has also changed quite a bit.
03:21It used to be that you saw a list of pre-made themes here, but now you see the
03:25custom themes first.
03:26If you want to choose a pre-made theme, you click Choose a new theme, and there you go.
03:32To get back to the list, simply click Cancel.
03:34The way you select a theme is slightly different as well.
03:37When you hover over a theme, you have Publish, Duplicate, and Delete.
03:41These should be obvious, and I'm sure that as you work through Drupal Gardens
03:44sites, you'll figure out exactly how they work.
03:47The last thing in the Theme Builder is something really neat in this Advanced tab.
03:52It used to be that you simply had Custom CSS, you entered it in, and it
03:56worked, and that was great.
03:58Now you actually have a history of the CSS that you've changed, and if you want
04:02to, you can hide different parts of it and see how that affects your site.
04:06For example, we just turned off all of the header images--very cool and very
04:16useful for figuring out which CSS directives are changing which parts of your site.
04:21Finally, there have been some changes in subscription levels and the options
04:25that affect some overriding qualities of your site.
04:27You'll notice this most when you look at the list of all the sites you control.
04:31To demonstrate this, I am going to switch to another one of my accounts where I
04:35have sites under a variety of subscription levels.
04:39You see this list by clicking My sites.
04:43And as you can see, there are several different subscription plans.
04:47Depending on which subscription plan a particular site is on, that changes the
04:51options that are available here.
04:52For example, my Professional site, I can only duplicate or export it,
04:56whereas with my Gratis subscription, I can also delete it or transfer
05:00ownership to somebody else.
05:03That covers the high points, but as I said, there are a lot more little tiny
05:07changes that I didn't discuss.
05:09Some of them only change the interface by a little amount, but they actually
05:13represent quite a lot of work by the folks at Acquia.
05:16If you want to follow all of the changes, go to drupalgardens.com/blog.
05:21As you scroll through here, you'll see all of the things that they're constantly
05:25adding to make Drupal Gardens better and better.
Collapse this transcript
What is Drupal?
00:00So, before you start with Drupal Gardens, you might be wondering, why should I
00:04use it rather than WordPress or any of the other dozens of hosted CMS programs?
00:09This video will look at both Drupal's advantages and disadvantages to help you
00:13figure out whether Drupal Gardens is your best option.
00:17To start with, let's talk a bit about the software Drupal Gardens is based on.
00:21Drupal was created in 2000 by the Belgian Computer Science student Dries
00:24Buytaert to help him and his college buddies share information.
00:28People kept asking for more features, and he couldn't keep up with the demand by
00:31himself, so he released the software, renamed, Drupal as free software under the
00:36GNU Public License in 2001.
00:38A technology site named kerneltrap.org was the first site outside of Mr.
00:43Buytaert's university to use it.
00:45From there, the word spread.
00:47As a matter of fact, KernelTrap is still using Drupal to this day, ten years later.
00:51It now runs many high-profile sites, including the United States Government--
00:56for example, at commerce.gov--the Canadian Rail Service at viarail.ca and many
01:03others, including quite a few artists on Sony Music.
01:07A good place to see who is using Drupal is on Mr.
01:09Buytaert's own web site at buytaert.net/tag/drupal-sites.
01:15Here you see quite a few, and he keeps adding them.
01:18Every week there is a new one, pretty much.
01:21I want to reiterate that this software is completely free.
01:25You can download it from drupal.org, and install it as often as you like.
01:28And you want be alone; Drupal gets about 300,000 downloads every week.
01:34Well, that's the history.
01:36But how does Drupal work?
01:38Well, I'll show you.
01:39I'm using the original version, often called core Drupal, that I've already
01:43installed on my computer.
01:45This isn't exactly what's used in Drupal Gardens, as I'll explain in the video
01:49"What is Drupal Gardens?."
01:50But core Drupal and Drupal Gardens are very, very similar.
01:54Learning one will help you do what you want in the other.
01:57If you want to learn core Drupal better, watch my series from lynda.com,
02:01"Drupal Essential Training."
02:02I'll show you how to do something very simple in Drupal.
02:06This is core Drupal, once again.
02:08I'm going to add some front-page content.
02:10Right now, there is nothing.
02:11There is just this basic default page that comes when you first install the software.
02:16To do so, I'll click on Add content, and I'll also a Basic page.
02:21Just say "Hello, world!"
02:23In the body, "Hello again, world!"
02:28Go down to the bottom, publish it on the front page, and save.
02:33Now when we go to our front page, there it is.
02:37Besides being able to change content into Drupal, you can also change the way
02:40the site looks by going up to Appearance and scrolling down and taking a look
02:45at all of the other different ones that are available with Drupal.
02:48In addition, there are quite a few other appearances available on drupal.org.
02:52These are called Themes.
02:54In Drupal Gardens, you can change from one theme to another, but then you can
02:57also modify themes quite a lot.
02:59You'll see how to do that later on in the course.
03:02By the same token, you can download and extend Drupal by using modules, which
03:07you download from Drubal.org.
03:10That's one difference between core Drupal and Drupal Gardens.
03:13On Drupal Gardens, you have only the modules that they allow you to use.
03:17On Drupal, you can extend it quite a bit.
03:19A similarity between core Drupal and Drupal Gardens is that both excel at
03:23mixing up static content--
03:25that is, like that page we just created, which says the same thing no matter when
03:29you visit it--and dynamic content, which is things like latest content and who
03:35is online right now and so forth.
03:37I can show you that by going to Structure > Blocks, and then down toward the
03:42bottom we have quite a few choices here: Recent content, Recent comments, and we
03:46can make those appear on the page in a variety of locations.
03:49Finally, Drupal is a multi-user system, so you can build a true online community.
03:55In both core Drupal and Drupal Gardens, you do that by going up to People, and
04:00then you have a list of all the people who are available.
04:03It works a little bit differently in Drupal Gardens than it does in core Drupal,
04:06as I'll show you later in the course.
04:08Additionally, you can separate people according to their roles, so that some have
04:12more permission on your site than others.
04:15That's really useful, because let's say that you've built your site, and it's
04:18too big for you to handle by yourself. You could, for example, create a role
04:23that lets somebody else add content or manage users while you handle some of the
04:27more technical aspects of the site.
04:29If you go up to People and then click on Permissions and scroll down, you can
04:32see all of the different permissions that you can change.
04:35Again, we'll discuss this more later on in this course.
04:38I know that was a whirlwind tour,
04:40but I hope it gave you a sense of how vast your web-creation abilities become
04:44when you use Drupal--whether that's core Drupal or Drupal Gardens--and how
04:48different they are from other systems you might be used to.
04:52I didn't talk about how Drupal interacts with your web server or database
04:55server, any of those other system-level things, because you never have to mess
04:59with any of that with Drupal Gardens.
05:02The video "What is Drupal Gardens?" will tell you more about the differences
05:05between it and core Drupal.
Collapse this transcript
What is Drupal Gardens?
00:00The video "What is Drupal?" gave you a quick tour of core Drupal.
00:04That is the standard version that you can download for free from the
00:07drupal.org web site.
00:09You can learn how to use core Drupal by watching my course "Drupal Essential
00:12Training," which is also on lynda.com.
00:15This video tells you how Drupal Gardens differs from core Drupal.
00:19In some ways, it's an overview of the entire rest of this course, especially if
00:22you already know Drupal.
00:24Basically, Drupal Gardens is core Drupal, but with a few changes that make it
00:28easier to use and more flexible.
00:30Most importantly, it's completely hosted and maintained by the company that
00:34created it, which is named Acquia.
00:37As a result, you don't have to install or maintain any part of it, and I can
00:41tell you from tech support mail I get that hosting is a big part that stops a
00:45lot of people from having their Drupal sites.
00:48To sign up for Drupal Gardens, you go to drupalgardens.com.
00:52I'm already on Drupal Gardens and have signed in.
00:55You can poke around and see exactly what comes with Drupal Gardens, read some of
00:59their marketing material, and so forth. And then down at the bottom, it gives you a
01:04little bit more information about pricing and features and so forth.
01:08The most important thing to know about this is that their basic level, which is
01:11known as Super Drupal, is free.
01:13It's completely free.
01:14The only thing about this basic level is that it will show ads on your site.
01:19If you want to stop that from happening, you have to upgrade to Superer Drupal
01:23or Superest Drupal, and then they have another level if you want to have an even
01:26bigger site, called Most Superest Drupal.
01:29These prices, of course, will vary.
01:30So I recommend that you come back to this page when you're ready to get started
01:34and see what the current pricing is.
01:35I do want to mention before going on that Acquia isn't the only company that
01:41fully hosts and maintain Drupal.
01:43There is another one called Buzzr, which you can go to it Buzzr.com.
01:49That's their biggest competitor, and it's put together by another large Drupal
01:53company named Lullabot.
01:55If you're interested in hosting Drupal, I recommend you check out both Drupal
01:58Gardens and Buzzr. But we're just going to talk about Drupal Gardens.
02:02While it makes Drupal a lot easier, it has some limitations on what you can do.
02:07The biggest two are that you can't import an existing site.
02:12If you've already built a Drupal site somewhere else, you'll how to completely
02:15rebuild it again on Drupal Gardens.
02:18Drupal Gardens is best for those sites that you're just starting at with
02:21from the beginning.
02:22The second limitation is that you can't add any modules or custom programming
02:26or ready-made themes to your Drupal Gardens site.
02:29You have to use what they give you.
02:31Now having said that, what they give you is really quite impressive.
02:35I'll show you that by going to a site that I just created,
02:38lynda.drupalgardens.com, and again I'm logged in as the administrator,
02:42so I have certain abilities that an ordinary visitor to the site wouldn't have.
02:47We have here the Theme Builder, and of course you could change themes.
02:52This one is called Campaign.
02:53I'm switching it over to the Minima theme.
02:55Then once you're there, you can actually change the styles that you see in front of you.
02:59So let's change this, for example, and make it a much bigger headline at the top.
03:03There we go.
03:04You can create and modify themes within Drupal Gardens' own interface using
03:09what they called a Theme Builder, and that's what you see here. But the
03:12hundreds of themes that are available from drupal.org and private vendors,
03:16they're all off-limits.
03:17You will learn about the Theme Builder in several videos later in this course,
03:21starting with "Understanding the Theme Builder."
03:24Now this Theme Builder is really amazing.
03:26I should mention that if you are using core Drupal there is a module that's very
03:30similar to this. It's called Sweaver at drupal.org/project/sweaver.
03:37Another limitation of Drupal Gardens is, just as with themes, you can't bring any
03:41contributed modules or custom programming that you're using Drupal Gardens site.
03:46A list of such contributed modules is at drupal.org/project/modules.
03:51Again, you can use those on core Drupal, but not Drupal Gardens.
03:55The last big limitation of Drupal Gardens is that you don't have direct access
03:58to the server, except through Drupal Gardens' own interface.
04:02So you can't do such geeky things as increased PHP's memory allocation or set a
04:06custom HT access file.
04:08Well, some techies will decry this loss of control, Drupal Gardens isn't
04:12really intended for them.
04:14It's for people who'd rather never have to deal with such details.
04:18Now having said that, there are a few geeky things you can do through Drupal Gardens.
04:23First, you can host several sites from one Drupal Gardens account.
04:27It's set up as what they called a multisite system, and to see that you go up
04:31to My sites here, and it shows you a list of all the sites that you have control over.
04:37You'll learn more about this multisite system in the video "Getting Started
04:41with Drupal Gardens."
04:43The second geeky thing you can do is you can make the site accessible through a custom domain.
04:47You might have noticed that the domain up here is drupalgardens.com, and if you
04:51go to anyone of your sites, it's the site name .drupalgardens.com,
04:56lynda.drupalgardens.com, or whatever.
04:59You can change that into such-and-such.com, whatever your domain is, pretty easily,
05:03although that feature is only available for paid accounts on Drupal Gardens, and
05:07to do that, once again, you go back to My sites and click Manage Domains. That will
05:13give you instructions on how that works.
05:16I'll show you more about that in the video "Adding Custom Domains."
05:19Now I mentioned earlier that you can't import an existing Drupal site
05:24into Drupal Gardens.
05:25However, you can export sites that you created in Drupal Gardens and then host
05:30them anywhere you like.
05:32To do that you go back to My sites, and over here the More button next to
05:37whatever domain you want to handle tells you how to export it.
05:41I'll show you how to do that in the video "Exporting Your Sites."
05:46That covers Drupal Gardens' high points, but the best way to understand it
05:50is, well, to use it.
05:51The video about getting started with Drupal Gardens will help you sign up and
05:55create your first site.
Collapse this transcript
Getting started with Drupal Gardens
00:01One thing I love about Drupal Gardens is how easy it is to get started.
00:05If you went through my Drupal essential training course, you know how much
00:08trouble it can be to get core Drupal installed and running.
00:11In that course, I didn't talk much about how to work your Internet hosting
00:14provider because every one is different.
00:17It would have simply been impossible to cover all the variations among them.
00:20With Drupal Gardens, you simply don't have to worry about it.
00:25Let's walk through the process of getting signed up.
00:27I'm on the Drupal Gardens site here, at drupalgardens.com, and I'm not logged in.
00:32I am going to create a new account by clicking here at Create a free site.
00:36The site I'm going to create is called explorecalifornia.drupalgardens.com, and
00:45it checks to make sure that it is available.
00:47My username will also be explorecalifornia.
00:50Of course, you enter your password and your e-mail address.
00:59Down at the bottom, you have to type in the word that you see here. That's to
01:02prevent automated systems from signing up for account after account over and
01:06over again, and then sending spam through it or creating spam sites.
01:14If you've got it right, it will show a check, and then just click Continue.
01:19The next screen that you see is some of the options that you have to start your Drupal site.
01:25You can change several at once by using this dropdown menu.
01:28There is a Campaign template, Product, Blog, and then a custom template.
01:33In addition, once you've chosen one of these templates, you can turn on or off
01:37different features. And as you hover your pointer above any of these features,
01:40it tells you a little bit more about what the feature is.
01:43I'm going to leave it on exactly as it is, Campaign template.
01:48Scroll down to the bottom here and say Create site.
01:53This will take a few moments for Drupal Gardens to set up your site, and the
02:00site has been created.
02:02It's now real and live.
02:04Anyone on the Internet can access this site immediately by going to
02:07explorecalifornia.drupalgardens.com, as you see in the address bar up here.
02:13However, if you scroll down, you'll notice this text here:
02:15"Check your e-mail to complete registration."
02:20In short, if you create a site but then don't confirm your e-mail address
02:23within ten days, Drupal Gardens will delete your entire account, including all
02:28the sites you created.
02:29That sounds like a pain, but it's a necessary precaution to prevent spambots and
02:34malicious users from just signing up site after site with fake e-mail addresses.
02:39If I go to this e-mail account that I created, we could see the e-mails that I
02:44received as a result of setting up that account and that site.
02:47There are three e-mails here, and when you get yours, of course, you should look
02:50through them. Basically, they are to say that you've now signed up for Drupal
02:53Gardens, and you've now created this site.
02:56In order to verify, I have to go to this Please verify and click on the
02:59link that it sent me.
03:02Once I've done that, my site is up and running, and it's here in my Site manager list.
03:07I'm going to go back to my site now by clicking on that link,
03:12explorecalifornia.drupalgardens.com.
03:15You might notice a difference between the site now and a moment ago.
03:19I'll go back to the screen we were just on.
03:21We have this little tooltip up here when we first create the site, and you can
03:26go up to this Help button and get more help from the Drupal Gardens site.
03:29I'm just going to close it out, and in fact, I'll close out this window entirely
03:33and go back to this other screen.
03:37That's actually all you need to do to get started.
03:39You've now created a site, and since you confirmed your e-mail address, that site
03:43isn't going to go away.
03:44I know the site is full of fake information, like these fake blog posts and
03:48headlines and so forth, but I'll show you how to change that throughout the rest
03:52of the course, particularly in the videos about creating and managing content.
03:57But I do want to show you just one more thing.
03:59In another video in this course about what Drupal Gardens is, I mentioned that
04:03it's a multisite system, and that you can create as many sites as you want from one account.
04:08That's actually quite easy to do.
04:09What you do is you go up to My sites here, and that brings you to a list of sites.
04:15Then just click on Create a new site. Type in a name.
04:19I'm going to say this is explorecalifornia2 and click Continue.
04:27You then go back to the screen that you saw earlier where you can choose a
04:30template, turn features on and off, and so forth.
04:33While we're here, I just want to show you one or two other features.
04:35One is when you choose a different template, for example, Product template,
04:39some of these switches turn on and off.
04:42Go to Blog template. Many of them turn off because blogs are simpler than
04:45campaigns or product sites and so forth.
04:48It's sort of a set of themes and features and other bits of content that would
04:54be appropriate for that kind of site. But once again, once you're in there, you
04:57can customize it entirely to your own preferences.
05:01I think Drupal Gardens really underlines something about Drupal's maturity.
05:05One of the reasons that Drupal, in general, has lagged so far behind
05:08WordPress among casual site builders is that WordPress is so much easier to
05:13set up than core Drupal.
05:15Now, I've set up as a WordPress site or two, and it's really not easier than
05:19setting up a site on Drupal Gardens. Oh!
05:21You have a few more choices, such as for the template and features, but the
05:24sign-up procedure is basically the same, and after you get started, as you'll
05:30see, Drupal Gardens lets you do much, much more than WordPress ever could.
Collapse this transcript
Getting help
00:00As easy as Drupal Gardens is, sometimes you'll run into problems.
00:04There are essentially four ways to get help.
00:06The first is in Drupal Gardens itself, the second through Drupal Gardens
00:10documentation, the third in Drupal Gardens forums where people talk to each
00:15other directly, and finally, elsewhere on the Internet.
00:18This video tours each of these four venues briefly.
00:21First, let's talk about how to get help from within Drupal Gardens itself.
00:25I'm already logged in as explorecalifornia.
00:28I'll go to My sites, and then I click on the site I created.
00:34Once there, I'm just going to go to any administrative page,
00:37let's say Modules right up here.
00:40As you scroll down this page, you see a list of all of the different features
00:44that are turned on in this site, and next to many of them,
00:46you see this link, Help.
00:48If we click on that, we get more information about that specific feature of Drupal Gardens.
00:55These context-sensitive Help links are part of Drupal 7 generally, not
00:59just Drupal Gardens.
01:01And normally, there is a link next to this Reports link up here that reads Help.
01:06Acquia has taken that link away, but you can still get to it by going to /admin/help.
01:12What you do is you go to the end of your URL here at
01:15explorecalifornia.drupalgardens.com/ admin/help, and there is a directory of all
01:21of those help pages.
01:24The second way to get help from Drupal Gardens is from Drupal
01:26Gardens' documentation.
01:28You can get all of it when you're logged in and most of it when you're not logged in.
01:33Here is what it looks like when you're logged in.
01:36You go to this Help link at the top of the screen, and you see this menu of
01:39different ways that you can get help.
01:41There is a lot of stuff here.
01:43The Getting started guide is a great one when you're just starting to set up a site.
01:47There are also videos, some very short videos showing you how to do specific
01:50things, and then there are these other areas, which I'll talk about a little bit more later.
01:55To show you what this page looks like when you're not logged into Drupal
01:58Gardens, I'm going to switch to another browser that I've set up, Google Chrome.
02:03And here you notice it doesn't have the Help link up here at the top. But if you
02:07scroll down to the bottom of the page, there is this Help link down here, which
02:12gives you a lot of the same information.
02:15It does, however, lack a few things that you can only get when logged in, the
02:19most important of which is the Forums.
02:23And speaking of those forums, let's just take a quick look at what's there.
02:27Down here, you see quite a few Support areas, and you could also see how many
02:31posts there are in each one of them, and how long ago they have been tended.
02:34And as you can see, this one was tended just a second ago, this one about 25 minutes ago.
02:39The people at Drupal Gardens really do watch these, and they help out a lot.
02:43So let's go into How to questions, just click on any one, and you can see.
02:47It's quite an active conversation.
02:53Finally, there are several places where you can get general Drupal help online.
02:56Now, because this is Drupal Gardens and not core Drupal, not everything they
03:01suggest is going to be relevant, but some of it will.
03:04To get there, go to drupal.org and then click on Community & Support.
03:12Down here, there are a lot of ways of getting help.
03:15There are, of course, forums on the drupal.org site, very much like the
03:18Drupal Gardens site.
03:19There is also a way to chat live and get help that way.
03:22If you'd like more information about this, see my Drupal Essential Training course.
03:28In short, there is really a lot of help out there for Drupal Gardens.
03:31Partly that's because it was designed to help people with no previous
03:34web-building experience at all, get their site up and online quickly.
03:39Acquia managed to do that in two ways.
03:41First, they made the software simpler, but they also streamlined the Help
03:44documentation quite a bit and their forums are, to be quite honest, a lot easier
03:49to navigate than those on the drupal.org site.
03:52Drupal Gardens other users, in my experience, have been very quick to help out, and
03:56where they can't, Acquia's own staff will jump in and help you out.
Collapse this transcript
Using the exercise files
00:00If you are premium member of the lynda.com Online Training Library, or if you are
00:05watching this tutorial on a DVD-ROM, you have access to the exercise files used
00:09throughout this title.
00:11Once you have the folder of exercise files, open it, and you will see that
00:14it's arranged by video.
00:16In these individual folders are graphics and text files.
00:21In this course, unlike in some others, we only include the content that goes into the site;
00:25we don't include backups of the entire site, since you are working with a hosted solution.
00:31If you don't have access to the exercise files, you can follow along from
00:34scratch or use your own assets.
00:37Let's gets started.
Collapse this transcript
1. Getting Around Drupal Gardens
Using the administrative overlay
00:01I want to very briefly talk about something that was introduced recently to
00:04Drupal, called the Administrative overlay.
00:07If you use self-hosted core Drupal version 6 or earlier, it will throw you for a
00:12loop the first few times you see it in Drupal Gardens.
00:15Even if you haven't used an earlier version of Drupal, I can still give you some
00:18tips to make it work more the way that you want.
00:21It's very easy to see how it works.
00:23Just go to any administrative page--
00:25in this case, I will go to Configuration-- and you see it pops up this window in
00:29front of what was behind it.
00:32You can then move around this window and go from here to any other of the
00:35administrative pages, and again the page remains behind it.
00:39To get out of the Administrative overlay, you just click on this little X up
00:42here in the right corner.
00:44Inside anyone of these pages, besides having links, there could be
00:48additional controls.
00:49For example, if I go to Structure and menus, we see these tabs.
00:53So you see that the Administrative overlay is a complete page in and of itself,
00:58and it navigates just like any other window in your web browser.
01:03And that's really all there is to the Administrative overlay, but if you don't
01:06like it, I would like to show you two ways to turn it off.
01:09The first one is good for turning it off temporarily.
01:12If you look up at the URL, you see the way that the overlay works.
01:17The way this URL works is that we have the page that's underneath it here at the
01:21beginning followed by the number sign and then the overlay itself--
01:26the path to the overlay page, that is: admin/structure, et cetera.
01:30If you want to show that overlay page, just remove everything between your
01:34domain name--that is, explorecalifornia. drupalgardens.com in this case--and the
01:39beginning of that admin path, put a slash in it, and just hit Return.
01:44That gives you the page without anything behind it.
01:47There is one thing to notice when you do this, however, which is that as you go
01:51to other administrative pages, it will stay non-overlay;
01:56that is, the overlay won't pop back up.
01:58Now if you want to go from this mode back to the overlay mode, the best way I
02:02found to do that is to first go Home and then go back to any overlay page.
02:07Let's say you want to turn off this overlay page entirely.
02:12Well, in Drupal 7 core Drupal, you are able to do that by going to Modules, and
02:17scrolling down, and there is actually a module called Overlay.
02:20That's not in Drupal Garden, so you have to do something a little bit different.
02:23What you do is you go up to Configuration, scroll down to User Interface, and
02:29you see this link, Administration theme and overlay. Click on that, and then
02:33you can turn off the overlay both for creating content and for the
02:37administration pages.
02:38There is not really that much to say about the Administrative overlay.
02:41Most people like it; some people don't.
02:44Fortunately, there are a few ways to turn it off if you'd like to.
02:47You can either do that, once again, by manipulating the URLs or by changing the
02:51overlay settings, as I've just showed you.
Collapse this transcript
Using the dashboard, toolbar, and shortcut bar
00:00When you are logged in to a Drupal Gardens site as a user with certain
00:03privileges, you see two bars at the top of the screen with links to
00:07administrative and content-creation tools.
00:10These are the toolbar--
00:11that's the black area up here--and the shortcut bar, the gray area right here.
00:16The toolbar doesn't change.
00:18It's the main way that you access all of Drupal Gardens' administrative options.
00:22But you can change the shortcut bar for one click access to any page on your
00:26site, and I will show you how to do that.
00:28First, let's talk a little bit more about the toolbar.
00:30I don't really have to say much about it because we have been using it up until now.
00:34You click on links, it throws up the overlay, and then you go from there to do
00:38whatever administrative thing that you would want to do.
00:41One thing that's not obvious, if you are only working in your site as an
00:44administrator, is that not everybody can see that toolbar.
00:47I am going to switch over to Google Chrome where I have my site up but I am not logged in,
00:52and you can see there is no toolbar or shortcut bar up at the top.
00:55Well, let's go back and keep working with it.
00:58You learned how to adjust permissions to show or hide that toolbar to different
01:02users in the videos about managing users.
01:04Now let's talk about what's on the right-hand side of this toolbar, which we
01:08haven't touched yet.
01:09The first thing is your User account. I click that.
01:13I come to a page that shows my profile.
01:15We will talk more about that again in the section on managing users, but I do
01:19want to point out this shortcuts link right here.
01:22We will come back to that in just a minute after I talk about the shortcuts
01:25because you can assign different groups of shortcuts to different users so each
01:30user sees a different thing in this gray area up here.
01:34But let's talk about what's in that shortcut bar by default.
01:37Since we are logged in as the main administrator for this page, we see not only
01:41Add content and Find content, but also the Site manager.
01:45Clicking that is basically the same as clicking the My sites link up here in the toolbar.
01:51It takes you to a list of all of the sites that you manage.
01:54You can add or remove items to that shortcut bar in two different ways.
01:58The first method is quite simple.
02:00You go to any administrative page, such as Modules and you see this little
02:05plus next to the title.
02:07When you hover your cursor over it, you see Add to Default shortcuts.
02:10I will go ahead and do that, and a second later we see Modules right up there.
02:15And as you might guess, no matter where I am in the site now, when I click on
02:18Modules, it takes me back to that page.
02:20Once I am on that page, it's easy to remove that shortcut because the plus
02:25is turned to a minus.
02:26Just click it again, click Delete, yes I do want to do that, and it's gone.
02:33The other way to add shortcut bar items is by editing the list of
02:36shortcuts manually.
02:38That's actually the more flexible way since it works on any page, even those
02:42that don't have the little Plus sign on them.
02:44To demonstrate that, I am going to go to just a page on my site.
02:48Go back Home, and then let's scroll down and go to the sample article here.
02:53Now I notice my URL is the domain name followed by /content/sample-article.
02:59I am going to copy that and then go to Edit shortcuts.
03:04Then on that page, I see at the top is an Add shortcut link. I click that. Very simple.
03:11I can add name to that. I will say "Sample article," and then for the path, I will paste it in.
03:16Now you will notice that it ends with a slash here so I don't have to add it again here.
03:21Delete that so we don't have two slashes and click Save. And there it is.
03:26Now just as before, when we click on that, from anywhere in the site, we will go
03:30to that sample article.
03:33And just to keep things clean, I am going to go back to Edit shortcuts and delete it.
03:37And of course, I have to confirm my deletion, and as before, it's gone.
03:42So far so good.
03:43Now things get a little tricky.
03:45We have been editing a single shortcut bar.
03:48Every user with permission to see the toolbar will see the same one.
03:52You can actually create as many shortcuts bars as you want.
03:56Now you might be asking, why do I want to do that?
03:58Well, let's say that you have people on your team performing different tasks.
04:02You can give each group its own shortcut bar.
04:06So let's say you have a news editor.
04:07That person could have a shortcut bar that says post articles.
04:11Well a community manager's shortcut bar says edit members and other things that
04:15will help out with managing the community.
04:18To add additional shortcut bars, we go up to Configuration, then scroll down to
04:24User Interface and click Shortcuts.
04:26Now we can add other shortcut sets, just as I described.
04:30I won't go into the details here because I do in my course "Drupal 7 New Features,"
04:35which is also on lynda.com.
04:37Before going, I want to mention one big difference between Drupal Gardens and core Drupal 7.
04:41If we go up to Modules and scroll down, there is no toolbar module in Drupal
04:49Gardens as there is in core Drupal.
04:51Acquia probably took that out because they would get too many support
04:55messages from people who turned it off and then couldn't access any of there
04:58administration pages.
05:00However, you can turn off the shortcut bar.
05:02It has its own module right here, and you would turn that off, as usual, by
05:06un-checking it, scrolling to the bottom, and clicking Save configuration.
05:13I am going to leave it as it is.
05:14If you want to turn it off temporarily, that's very easy. Just click this little
05:18arrow up here, and that hides that shortcut bar.
05:22Finally, the toolbar is not the only way to display administrative links.
05:26You can also enable the management block, which contains all of those links.
05:31You will learn how to do that in a video later on in this course about
05:34understanding menus.
Collapse this transcript
Touring the newly created site
00:00So, you've created your first site by following the video about getting started
00:05with Drupal Gardens.
00:06Now we are going to take a look at what exactly you have.
00:10The site includes some menu links at the top, some sample content so you have a
00:14sense of how it all fits together, and some dynamic areas such as these blocks
00:18showing comments and blog posts that are automatically created.
00:22For now, we'll leave all the sample content in place because it'll be useful for
00:26later demonstrations. But don't worry; we will get rid of it all soon.
00:31If you're itching to just jump ahead and trash it all right away, watch the
00:34video about creating and managing content.
00:38What we see here right now though is the site's content as it appears when you
00:42create a site using the Campaign template, as we did.
00:45If you use the different template, you will see some very different options, but
00:49most of it is at least similar.
00:51One thing the Campaign template gives us is the seven links at the top of the
00:54page in what's called the Main Menu area.
00:57Only the About and Contact pages lead to static content.
01:02The other five are dynamic.
01:04The Blog is automatically created as a collection of all of your blog posts, much
01:08like what you see in WordPress and other blogging sites.
01:11You will learn more about how to control these in the video about creating blogs.
01:17The News section is actually something called a view.
01:20You will learn about views in the video about creating dynamic pages
01:24using simple views.
01:26A view is essentially a collection of nodes that you've created, a node being an
01:30essential content unit in Drupal.
01:33So here we have one node, sample article, First news item, and so forth as you go down the page.
01:40The next link is Forum.
01:42The Forum is a place for your sites' members to interact with each other.
01:46When we created this site, you had a choice of whether to include a forum or
01:49not, and you'll learn how to further configure it in the videos later on about
01:53starting discussion forums.
01:55The Contact link leads to this web form, which you'll learn how to control in
02:00the video about setting up Contact forms.
02:02Through this page, anybody visiting your site, if you give them permission,
02:06can send you e-mails.
02:08Finally, we have Galleries, which you'll learn how to set up in a video about
02:12creating image in YouTube video galleries.
02:14Well, that takes care of the main menu.
02:16Let's take a quick survey of the rest of the other content on the site's front page.
02:21We go back there by clicking on the Home, and we actually see two
02:25different kinds of content.
02:27I used the word "node" earlier.
02:29That's the basic unit of content in Drupal.
02:32You can see a node in its natural form by clicking on its title.
02:37Now we see not only the node, but also an Edit link.
02:40This is how you create content in Drupal, and again we'll talk about this more
02:44later on in the course.
02:46Going back to the front page, you will notice a different kind of content, which
02:51are these blocks on the side of the page.
02:53These are what is called dynamic content.
02:56You don't create them directly--that is, I didn't type in sample comment
02:59created one day and one hour ago; instead, I simply created the comment, or in
03:04this case Drupal Gardens created it, and this Comments block keeps track of
03:08what was last created.
03:09You'll learn more about those in the video about working with blocks.
03:14But let's get back to nodes.
03:15I've showed you how to see a node and then edit it.
03:18You can see a list of all nodes on your site by clicking on this Content link up
03:22here, and that brings you to this page.
03:26This is all of the stuff that came with your site automatically.
03:29It's what I would call "junk content" that you later replace with your own stuff.
03:33Well, that pretty much tells you what you have.
03:37The next step is to start configuring it the way that you want it.
03:40The two most important videos in this respect are about configuring the site,
03:44which shows you how to give it your own name and basic design, and creating and
03:48managing content, which lets you un- publish or delete all of the sample text and
03:52then replace it with your own.
Collapse this transcript
Configuring the site
00:00Now that you have seen what Drupal Gardens sets up for you by default, we can
00:04start to make it more like what you want.
00:07The three things that you have to change are
00:09the site's identification information-- for example, this explorecalifornia here--
00:14the information on the site that identifies you as the company or creator of the
00:18site, and then if you like, the site's design.
00:22We will only go through these steps very quickly and without much explanation;
00:26the rest of the course will give you more details.
00:28To start, we'll change the identification information.
00:31To do that, go up to Configuration and then to Site information.
00:37There are two areas here to change.
00:39The first one is the Site Name.
00:40I am going to just change it so that it has proper capitalization, "Explore
00:45California," and I will leave that showing.
00:48The second part is the site Slogan, which you might remember showed up just below
00:52the title on the front page.
00:53I am going to remove it by un-checking this box, but then I will also delete the text here.
00:59This is important to do if you really want to get rid of all semblance of the
01:02slogan, because it sometimes shows up in your browser's title bar if you don't
01:06remove it from both places.
01:08Press Delete, scroll to the bottom, and click Save configuration.
01:16There. Now when we go back to the front page, we see that the site looks as we
01:20want it, with Explore California up here.
01:22Now, I want to start changing the things that identify us as a company.
01:26There is a few things to change. First of all, on the About page, Drupal Gardens
01:32throws in the sample map and explains how you can change it. But right now, it's
01:37on a place in Belgium.
01:39So what we're going to do is change it according to their instructions.
01:42First, we will go to view it in Google maps.
01:45I am just right-clicking and opening it up in a new tab and then changing the address.
01:50I am going to change that to 6410 Via Real, Carpinteria, CA. There we are.
02:02Now we take a link off of this page by clicking the Link button over here, and
02:07copying the HTML here in the second area.
02:11Then go back to our site and click Edit.
02:14Now this section gets a little bit tricky because the instructions they give you
02:18are not quite complete.
02:20You can't simply delete this and paste in what you just copied.
02:23You have to go to HTML and then do it.
02:27So I highlight the whole thing and delete it.
02:30And then Ctrl+V to paste it in, leave it on Full HTML, scroll to the bottom, and save.
02:39Give the page a chance to reload, and there it is.
02:42We now have our map with the address that we want.
02:46We can further modify this by, for example, putting in our own address in plain
02:51text at the bottom of it, as it had before.
02:54So we could say "Contact us at:
02:576410 Via Real, Carpinteria, CA 93013," and go to the bottom and Save.
03:13There. Now our About page tells a little bit more about us instead of some
03:16company out in Belgium.
03:18I want to make another change to this page.
03:21If you scroll down to the bottom of the page, you'll see there are links for
03:24Facebook and Twitter, as well as this site in an RSS Feed.
03:29If you go to those Facebook and Twitter pages, right now those actually go to
03:32Drupal Gardens pages, and we want to change that.
03:35To do so go up to Configuration and scroll down to Web Services and Site follow links.
03:43Then I will replace the Facebook and Twitter accounts with my own.
03:47So, I'm going to go my own Twitter page.
03:49In this case, I'm actually going to use the lynda.com page.
03:52I copy it, go back to my site, and paste it in the appropriate place.
03:57And then do the same thing, of course, for Facebook.
04:04Scroll to the bottom of the page and Submit.
04:07So that's two of our three things.
04:09The third thing you remember is to change the site's appearance.
04:12Again, I will just show you this very quickly, but we won't actually change the
04:16sample site's look and feel until the video later in this course about switching
04:19and saving your themes.
04:21To do so, however, click the Appearance link at the top of the screen. That
04:29brings up the Theme Builder.
04:30This is a very powerful tool about which you learn a lot more in this course.
04:34But the simplest thing that you can do is by clicking on any other theme that
04:38you see here right in the opening screen.
04:40I clicked on Broadway, give it a moment, and you see the whole site in a
04:46completely different look.
04:48Now, if I actually wanted to use that, I would click Publish, but instead I
04:50am just going to say close out of this, and it will return me to the Campaign theme.
04:57Now we didn't make very many changes in this video, but you have quite a bit of
05:01knowledge at this point to make the site your own.
05:03Since most of what visitors see in your site is the content, however, the next
05:08video is also very important.
05:10That video is about creating and managing content on your site.
Collapse this transcript
2. Content
Creating and managing content
00:00We are still looking at our site as we first launched it, with just a few tweaks
00:04that we did in the video about configuring the site.
00:06There is still a lot of sample content.
00:09Now it's a time to get rid of all that and replace it with some of our own stuff.
00:12Along the way, I'll show you, also, how to add raw HTML code and put images into
00:17the content, and also how to make page summaries.
00:20Now we won't have time to look at all the different ways you can affect
00:23content in Drupal Gardens.
00:24I'll just show you the most important parts. But remember, Drupal Garden is built
00:29on Drupal, and this is one area that's almost exactly the same between the two.
00:34So if you want to learn more, just watch relevant selections from my lynda.com
00:37course, "Drupal Essential Training."
00:40First, let's go to a page that will be seeing a lot of once you get your site
00:43going, the Content page.
00:45To get there, just go up here, and click Content.
00:48Each line on this page is an individual piece of content, known as a node in Drupal jargon.
00:54Nodes are defined by their content type, which you see here in this column.
00:58We'll talk a more about content types in the video about content types, but for
01:01now, those don't matter.
01:03You will manage them all pretty much the same way, no matter what the content type is.
01:08Also in each line of this page is the author of that particular node, and if
01:12you click on that, you'll go that user's profile, whether or not the node is
01:16published, when it was last updated, and links to directly edit or delete the node.
01:21Although a particular node might appear in different ways throughout the site,
01:25they all have a basic form, which you can see by clicking on their names.
01:29I'll show you the node
01:30This is a sample article, which is a News item type.
01:35Once we are there, we can click on Edit to actually change what's in that node.
01:39There are few different things to see here.
01:42The Title and Body are common to all nodes.
01:45Some of them also have Tags, which you might know from, for example, WordPress
01:49and other web sites.
01:51We'll talk more about tags later on in this course.
01:55Part of the Body field is this little pop-up which tells you the different text
01:59formats that are available.
02:01Safe HTML prevents other people from changing the node in a way that could be
02:05damaging to your site.
02:07You could, however, allow for more HTML tags by changing it to Full HTML or
02:12forbid all HTML tags by changing it to Plain text.
02:15Down at the bottom of the page, we have what are called vertical tabs.
02:20Clicking on each one of these brings up a different set of controls.
02:23We will talk about these other tabs later on in the course, but for right now,
02:28I am just going to look at Publishing options, which is, generally speaking, the
02:31most important one.
02:32Here you can change whether or not a node is published--that is, whether it shows
02:36up on the site to anybody except for administrators.
02:39You can also make it either promoted to the front page, or remove it from the front page.
02:44Finally, you can make it sticky at top of lists.
02:47Now I know that doesn't make much sense for right now, but I'll give you an
02:49example of what that actually means.
02:52I'll do that by closing out this content- creation form and go into our front page.
02:57As we scroll down, we see this article here, This is a sample article.
03:02Now that's the one we were just editing.
03:03If we click to go back there and edit it again, we see that its both promoted to
03:10the front page and published, but it's not sticky at top of lists.
03:14If there had been multiple nodes there and this one was the only one sticky
03:18at the top of lists,
03:20it wouldn't matter how recent those other nodes were.
03:22This one would always show up at the top.
03:24I am going to close out this overlay because I want to show you one other thing
03:28about nodes, particularly that shows up when they are collected on a page with
03:32other nodes--for example, on the front page, or on the News or Blog pages.
03:39As I bring my cursor down over this news item, you'll notice this little widget pop up.
03:43That's a direct access widget, which lets you either edit or delete the node
03:47directly from that page. It's very handy.
03:51But let's get back to the Content page and start removing some of that extra
03:54stuff we don't want.
03:55I am going to remove everything from this site except for that About us page
03:59that we changed a little bit earlier in this course.
04:02To do so, I am going to select everything by checking this box, and then
04:07unselect that one. As you can guess,
04:09you can select these individually or unselect them.
04:12I'll then go up to Unpublish selected content.
04:15I just want to mention something:
04:17you have the options both to unpublish and delete content. Unless you are certain
04:22that you absolutely don't want that content back,
04:25I recommend you always unpublish.
04:27All that that does is it removes it from everybody else's view, but then if you
04:30want to bring it back later, you can.
04:32I'll then click Update, and it's done.
04:36You'll notice that this status has been changed to "not published" for all that we
04:40had checked earlier.
04:41Now if go to the front page, scroll down a little bit, we see that no front page
04:47content has been created yet.
04:49So let's go ahead and do that.
04:50I have created some text that you will find in your exercise files, which you
04:54received if you are a premium member of lynda.com or received this course on a disc.
04:59I have them right here on my Desktop,
05:00so I'll open up exercise files and createcontent, and then frontpage.
05:05I am going to copy all of this text and then return to my site. Click Add new content.
05:13You can either do that here, or more commonly, you'll do that up here in the shortcut bar.
05:18Now I am going to make that a basic page.
05:21These are all different content types, again, which we will describe later on in
05:25the course. But for now, we just want a basic page.
05:28I'll paste in the information that I copied.
05:31I'll put the title up here in the Title field, get rid of the little extra cruft
05:37here, scroll down to the bottom, and remember, we want it on the front page, so
05:41under Publishing options, it's go Promoted to front page, and Save.
05:46Now when we go back to our front page, scroll down a bit, there it is.
05:51We now have a homepage.
05:53I am going to create one more, just to show you a few features we didn't want to
05:57put on the homepage--which in Drupal, by the way, is called the front page.
06:00I'll do it on another page, which we will called mission.
06:04The text is from the example file called mission.text, and I am also going to
06:07add a graphic, which is mission.jpeg.
06:10Again, I go up to Add content and Basic page.
06:14I go back to my sample files, open up mission, copy it, and paste it, get rid of
06:27the extra bits here, put the title up here.
06:34We could publish this just the way it is, but I want to add that graphic,
06:38so I am going to click down here and click Add media.
06:40I will navigate back to that graphic file that I have,
06:44go up to the Desktop, go to Exercise Files, createcontent, and mission, and Upload.
06:54You then have a few options such as what the description should be, and how
06:58large you would like that graphic to be.
06:59I just change the Description, "Beautiful California beaches," and submit, and
07:09there is our graphic.
07:10I will put a little bit of space between the text and the graphic, and here, of
07:15course, you could style this however you like.
07:17We could add a little bit of italicization.
07:20All of this works very much like a word-processing program.
07:23You can bold the things, and so on.
07:27The last thing I am going to do is I am going to change one of these vertical
07:30tab's setting so that we have menu link that goes directly to this.
07:33We will do that in the menu setting tab and click Provide a menu link.
07:37The main menu item is just going to be called Mission, and the Description
07:41will be "What makes us different," and that goes into the Main menu.
07:46Then I'll just go down and save.
07:48Now, when we go around our site, you'll notice we have this extra button up here,
07:53Mission. Click on it, and it takes us directly to that page.
07:57You'll learn more about menus in the video about understanding menus.
08:01Now what I just showed you here only took a minute, but it's actually quite a
08:05big deal in core Drupal.
08:07Drupal Gardens, it's easy; core Drupal, it's hard.
08:10That's one more way that Drupal Gardens is easier then core Drupal.
08:13I want to go just a little bit further.
08:15What if you know HMTL and wanted to do that's not possible using the style text editor?
08:20Well, that's not so hard.
08:22We'll click Edit and change from WYSIWYG to HTML.
08:27Here, you can make any sorts of HTML changes you like.
08:30When you do so, however, you may need to change this from Safe HTML to Full HTML
08:35if you find that it's not showing up the way that you want.
08:37There is one other thing I want to show you which will save you from a lot of heartbreak.
08:42Down here this Revision information, right now when you change a node, you are
08:47not saving any old copies of the node, but you can, by simply clicking Revision
08:51information and Create new revision, and say "Added a bit of text" or any other
08:58sort of description that you would like to add.
09:00Then when you say Save, you can now revert to an old version if that's what you want to do.
09:06You see this Revisions tab right here.
09:08When you click it, you can go back to the old version before you made the change.
09:12There is one last thing that I want to mention, and that's summaries.
09:17To do that, I am going to go back to our Content page, and let's just
09:22republish a blog post,
09:23let's say the sample blog post.
09:25I am going to mess with this blog post a little bit, and then I'll
09:27unpublished it again.
09:28So first, I will publish it and then go back in and edit it.
09:33Now you'll notice at the beginning we have this Edit summary.
09:37In order to demonstrate that, I am first going to take this text, and I am going
09:41to copy it and paste it a whole bunch of times.
09:44Now, if we were to promote this to the front page, as I'll do down here, we
09:51really don't want to have that much information showing up on the front page,
09:55even though it's important information to have perhaps elsewhere in the site.
09:59As we scroll down, we see, this is the beginning of it.
10:02Drupal knows to show only a little bit of the text, but you can control how much
10:06of that text actually shows.
10:07Let's say we only want to have this first sentence showing.
10:10Let's go back and edit it, and we will edit the summary, and then only select
10:16that first sentence, like so, copy it, bring it up, and paste.
10:22Scroll down and again I make a revision and say "Changed summary," and Save.
10:31Now when we go back to our front page, we see it only shows that first paragraph.
10:36Once again, I am just going to go in and unpublish that again because we don't
10:40really need that garbage stuff on our site. Unpublish and Update.
10:44There. You have just learned an often a lot about creating and managing
10:48content in one video.
10:50Now that you know all this stuff, you could actually stop the series and just
10:53go ahead and create your site.
10:54You could fill your site with all of your pictures and text that you need.
10:58In fact, we are getting pretty close to the limits of simple competing CMSes like
11:02WordPress, but if your aims are more ambitious, keep watching;
11:07there is lot that Drupal Gardens can do.
Collapse this transcript
Creating and managing content types
00:00As we discussed in the video "Creating and Managing content," Drupal stores
00:04all content as nodes.
00:07News items and blog post are simply different kinds of nodes, and these are
00:11called content types.
00:14Three things set content types apart from each other.
00:17First and most obviously, is their identity--
00:20that is, all news items are categorized as news items.
00:24The shared identities that nodes have within a content type means that they can
00:27be gathered together using views.
00:29You will learn more about that in the video later in this course about creating
00:33dynamic pages with simple views.
00:36The second thing that sets one content type apart from another is how they
00:39collect and hold different bits of information, called fields.
00:43So a content type called customer might have a field for phone numbers, for
00:47example, and another field for contact preferences.
00:51Then when you create a node of that customer content type, you have place to put
00:55those little bites of information.
00:57Lastly, content types vary in how they display that information.
01:02This video will show you how to create a content type, add fields to it, and
01:06change the way they are displayed.
01:08The campaign template that we are using in this Drupal Gardens site comes
01:12with six of those content types already built in, and I'll show you how to
01:15create another one.
01:16But first, let's take a look at those six content types.
01:20To do so, we go to Structure and Content types.
01:24Each one of these lines is a different content type, and their name should look
01:28familiar to you from when you create content in a previous video.
01:31Next to each content type's name are four links to edit and delete the content
01:36types, and then manage the fields that are in them, and manage the display of those fields.
01:41Very quickly, I am just going to show you one of those content types, Basic page.
01:46If we click on manage fields, we see that it only has two: Title and Body.
01:51If we click Add content and then a node of that Basic page content type, you
01:57see Title and Body, and that's all, and that pretty much gives an overview of
02:01how content types relate to nodes.
02:05What we are going to do now is go back and create our own content type.
02:09Since this site is about exploring California, I am going to create one called "Tour."
02:14I do that by clicking Add content type then typing in the name, "Tour."
02:19You can also add a description.
02:21Now this only shows up when somebody creates a node of that content type.
02:25It doesn't actually appear before ordinary users of the site.
02:28I am going just to add something here so it's clear to somebody who wants
02:32to create a Tour node.
02:33I'll say, "A tour package we offer."
02:39Down at the bottom of the page, we have quite a few options underneath
02:42these vertical tabs.
02:43I am not going to go through all of them.
02:46The most important one is the Publishing options.
02:49In this case, I don't want each node of the Tour content type promoted to the front page,
02:54so I am going to turn that off.
02:56I do, however, want it to create a new revision each time we create a tour.
03:00That way if somebody edits it, I can go back and see what exactly they edited.
03:05Another thing I am going to change is I want to turn off comments.
03:08I don't want people actually commenting on our tours,
03:10so I'll change the Comment setting from Open to Hidden.
03:13If you would like to learn more about these vertical tabs, watch my course on
03:17lynda.com "Drupal Essential Training," where I go into them in greater detail.
03:22But for right now I am just going to go down to the bottom of the page and
03:25say Save content type.
03:27That brings us back to our page of content types, and if you scroll down, you'll
03:30see, there it is: Tour.
03:32We can actually add content to that Tour content type right now by just going up
03:36to the Add content and Tour, but I am going to add a few fields.
03:40I am going to add three of them, specifically.
03:42One will show how many days the tour is.
03:45The second will be how much the tour costs,
03:47its price. And the third will be an image, so the people can get a sense of
03:51exactly what they are paying for.
03:53To do that I'll go down to Tour and click manage fields.
03:57By default, content type have two fields in them, just like you saw on Basic page:
04:01Title and Body.
04:03I am going to add a new one, which will be called "Length."
04:08I add the label there, and then I add the name of the filed.
04:11Now this has to be all lowercase or numbers or underscores.
04:15This is what the computer itself understands.
04:18So it will be length,
04:19lowercase. And then I have choice of what type of field.
04:23In this case, I want people to say 1, 2 or 3 days, not 6.57.
04:29So I make it an integer.
04:30These other field types have different options attached to them.
04:33The best way to understand them is to just start playing around with them: add
04:37fields to content types, see what options you get, and learn how they work. But
04:41for now, we'll just stick with Integer.
04:43We only have one option for how to enter integers, which is text field, and so we
04:48add that, and just click Save.
04:50We now get two screens of settings.
04:53The first one is how that field will appear in every content type.
04:56Once you have added a field, you see, it doesn't only have to be in the Tour content type;
05:01we could then add the same kind of field to the basic page or blog post or whatever.
05:06In this case, there are no special fields settings to appear in all content
05:09types, so I'll just say Save, and that just bring us to our page for the Length
05:14field only in the Tour content type, and here you have a lot more options.
05:19I am going to make this required.
05:22I'll add a little Help text here, "How many days is this tour," and I'll add a suffix.
05:31Now I want to say it's 1 day or 2 days or 3 days.
05:34If I were to just type "days" here, it would always say 1 days instead of just 1 day.
05:39Fortunately, Drupal Gardens allows you to add a conditional to it.
05:44So day, pipe--that little vertical line-- days tells it if you want it to be 1,
05:50it's day and multiple is days.
05:53All of that just described here.
05:54Now I know this is getting into a little bit of detail, more detail than
05:58perhaps you would need for every one of the fields you enter, but this is just
06:01to show you some of the many options that Drupal Garden offers you when you create a field.
06:07If you have any problems, the first thing to do is look at the Help text
06:09directly underneath the field, and you will usually find that it takes care of
06:13whatever it is you need to figure out.
06:15Scroll down and click Save Settings.
06:18There is our Length field.
06:19I am going to quickly add the other two.
06:21The first one is Price.
06:22That will also be an integer, a number of dollars, and save it. Continue on.
06:31I'll also make that required. And as a prefix, I'll add a Dollar sign. Good.
06:38Finally, I'll add a different kind of field, a photo of what the tour is
06:42going to look like.
06:43So Photo is in Label, and photo is the name.
06:46Field type in this case is going to be Image.
06:49We only have the choice of Image, and save.
06:51Now here we get a setting that will apply to the Image field everywhere that it is used.
06:58It's a default image; what will appear if people don't add there own?
07:02I am going to use one of the files from our exercise files, which you received if
07:06you are a premium lynda.com subscriber, or you got this course on a disc.
07:10I click Browse, navigate to it, in this case its in our exercise files, and
07:15default-tour-pick, Open and Upload. Great!
07:19Once that little animation is done, that means that file is uploaded.
07:22So I Save field settings, continue on, and I am not going to change any of the
07:28options here, and say Save settings.
07:33We now have our Tour content type with these three custom fields.
07:37The last thing I'll do is I will put them into an order I want.
07:40I want the Length and Price to be above the Body and the photo to be below it.
07:44I will move those into there places by dragging on this little compass-like
07:48icon, scroll to the bottom of the page, and click Save. There we go.
07:53Now we are ready to start creating Tour content.
07:56To do that, you already know how: just go up to Add content and Tour.
08:01Now you can see that this is different from Basic page because you have this
08:05Length and Price, and down at the bottom, Photo, just as what you expected.
08:09I will fill this with a little bit of sample content.
08:12I call it "Big Sur Retreat," the Length will be 3 days, the Price will be $350,
08:20and for the Body I get that from the text that came with the exercise files.
08:24I have that here on my Desktop.
08:27Just copy it, paste it back into our site, and I'll add my photo, again from
08:34our exercise files. Upload, and save. There we go.
08:41We have created this node, and it has, just as we expected, a photo, a
08:45length, and a price.
08:46There are a few things that I want to change on this node, however.
08:50One is I don't think we need the "Photo" above the photo, since obviously that's what it is.
08:54The other thing is up toward the top here,
08:57we have the Submitted by and the person's name and date.
09:00We don't really need that information either.
09:03We can change both of those by editing the content type.
09:06To do so, once again, we go to Structure and then Content types and down to Tour.
09:12Now the Photo is a field, so we would change that by managing either the
09:16field or its display.
09:18As it happens, the way that you change a label is by managing its display.
09:22I click there and go to the Photo field right here.
09:25The Label instead of appearing above, will just be hidden. Scroll down and save.
09:31The other part to change, which is whether or not the author and date information
09:34appears, is part of the content type in general.
09:37So we go back and edit the content type as a whole.
09:40As we scroll down, we see this option here, Display settings.
09:44I'll just go into there and uncheck Display author and date information,
09:48and Save content type.
09:50One thing about changing a content type is it changes all of the existing
09:54nodes when you change, for example, how images are displayed or whether
09:57labels are displayed.
09:59That's actually a good thing because it makes your whole site stay consistent.
10:03Let's close out this overlay and see if it works. The page reloads.
10:07There. That author and date information is gone, and as we scroll down, the word "Photo" is gone.
10:13So everything is great.
10:14Now you saw how to modify a content type that you created, but you can also use
10:18these techniques to modify those built- in content types, such as Blog or Basic
10:23page, and there is lot more you can do with the display options.
10:26I didn't even show you half of it.
10:28If you are curious about that, check out my Drupal Essential Training course as
10:32well, which is also on lynda.com.
Collapse this transcript
Embedding YouTube videos and other media
00:00One of the greatest things that's happened on the web in the last ten years is
00:03the growth of the mashup, where information from two or more sites combines to
00:08make something that's bigger than the sum of all of them.
00:10The result of this movement has been a proliferation of sites that provide
00:13information in the format that's ready for you to use on your web site.
00:17YouTube videos and Google maps are pretty good examples of that.
00:21This video will show you how to add YouTube videos in a very simple way, and
00:25then Google maps and other information in a slightly more complex way. But don't worry;
00:29it is easy once you get the hang of it.
00:32First, we'll go for the easy one--that is, adding YouTube videos.
00:36To get started, click Add content and Basic page.
00:40I'm going to call this "Explore California video podcast #1."
00:47In the Body area, click Add media, and then go up to the top.
00:52Now you've seen this window before when we added some media that was already on
00:55your own computer. But there is this other link, Embed image/video.
00:59Click that and then paste the URL for the video that you want to add.
01:04Now, I've already chosen one here in YouTube.
01:07So I'll copy that, bring it back here, and paste it into my site, and click Submit.
01:14Scroll to the bottom and click Save. That's it.
01:18It's now part of your site, and you can watch it just as if you're watching it on YouTube.
01:21(Music playing.) Like so!
01:23All right, so that was the easy way to get YouTube videos into your site.
01:29Now for the Google maps. Once again, we'll go up to Add content and add a basic page.
01:35This one I'll call "Golden Gate Bridge."
01:40Now, I've chosen this map already on Google maps, and I think I'll make this a
01:44little bit fancier by actually showing the street view of what it looks like as
01:48you go across the bridge.
01:49That looks pretty good. Yeah, there we go.
01:52To get that map, you click Link and then this Paste HTML to embed in web site.
01:57Click it and copy it and then go back to your site.
02:01Now you might think that you'd able to just paste it in here, and it would show that.
02:05However, it won't actually work, and I'll show you why a couple of times.
02:10Go down and save and what you actually get is a lot of code.
02:14The reason for that, as you'll see when I click Edit, is that Drupal Gardens was
02:18accepting you to enter WYSIWYG code, so it takes everything that you put in, and
02:22it says okay, I'm going to split this out maybe with a little bit bold styling,
02:25and italic styling, but basically, it's going to spit everything back out.
02:29What you have to do instead is go to HTML and then paste it in there.
02:33Now, you might think that this would work if we just paste it in in HTML, but
02:38actually it doesn't.
02:40The reason is we have this Safe HTML filter up here.
02:44If we leave it on that, Drupal Gardens takes it and says okay, I don't think
02:47that I want all of these tags to be allowed on the site.
02:51What you have to do instead is go to Full HTML and paste it in, then scroll to
02:56the bottom, and click Save.
02:58Now, we see the map exactly as we had it before.
03:01So we made it work, but there is a bit of a problem with that.
03:05The Full HTML text format, which lets people insert whatever HTML they like,
03:10presents a big problem.
03:12The thing is that since they can add any tags they want, they might add some
03:16damaging tags if they have access to edit that node.
03:20I talk more about this problem in the video later on in this course about best
03:24practices for online clubs.
03:25So please do watch that video before you start allowing your sites' members to
03:29embed stuff in this way or use the Full HTML text format in any way.
03:34So we were able to get Google maps and YouTube videos in, but I want to mention
03:38that this technique doesn't end there.
03:41When I was making this video, I did a Google search for "online embeddable games"
03:45and was just amazed at the variety out there.
03:47In fact, you could create a site that does nothing but collect your favorite
03:51games and have a sort of personal time-waster site.
03:55But you know, I think embeddable content like this works best with a light touch.
03:59A Google map here, a video there-- these enhance your content without
04:03overwhelming your visitors.
Collapse this transcript
Subscribing to RSS feeds
00:00The easiest way to get interesting information on your site is, well, to get
00:04someone else to create it.
00:06Fortunately, that's pretty easy in the modern web world.
00:09If you find a blog or other collection of content you like, chances are you can
00:13subscribe to it through what's called an RSS feed.
00:16This video shows you how to take those feeds and put them on your site.
00:20The way that's done in Drupal is through the Aggregator module.
00:24To get there, click on the Modules button at the top, and then you actually have
00:28to turn on the module by clicking in this check box here.
00:31Scroll down to the bottom of the page and save configuration.
00:37So we've prepared our Drupal Gardens site to receive that RSS information.
00:41Now, we have to go out and find some to include.
00:43Then I'll open a new tab and search in Google for "California RSS," and I'll
00:50choose this second one right here.
00:53This actually went to a page which collects all kinds of California information,
00:57in this case travel information within California.
01:00I look around for something that looks this.
01:02This is the RSS icon.
01:04When I click it, it gives me the page in a format that Drupal Gardens can
01:08understand--what's called an RSS feed.
01:10Now from here, I'll copy the URL and then go back to my site.
01:15Now I have to get that into my Drupal Gardens site.
01:18The way you do that is under Configuration and Feed aggregator, which is down
01:23here under Web Services.
01:26There are two kinds of things that you can add to the Feed aggregator:
01:29a category and a feed.
01:31I'm going to start with feeds, and then later we'll categorize things that are
01:34coming in from our feeds.
01:36To add a feed, you either click this link here or this one down here;
01:39they both do the same thing.
01:42For the title, I'll call this "California news from Feedzilla," which is the name
01:48of the site I got it from.
01:50I'll then paste in the URL that I grabbed from that other site, and the other
01:54things I'll just leave alone for now, and click Save. Great!
01:58It's been added. Now you'll notice it comes back and asks if you want to add another feed, which
02:02we won't do right now.
02:04Now let's see what items were actually in that feed.
02:07To do so, click List. But what you'll notice is no items have been brought in yet.
02:11In order to update it, you either have to wait for the update interval to
02:15happen or update them manually.
02:18To see what that update interval is, I'm going to go in and take a look at the
02:22settings for that feed.
02:25So we would have to wait for an entire hour to see it;
02:28instead, I'm going to go back and manually update it by clicking update items over here.
02:35Very good! We have 20 new items from that feed.
02:38In order to see those items, it's very easy:
02:40we just click on this link. And these are all those news items, all of them
02:45having to do with California travel news.
02:48Now one thing to notice is although you brought this information into your site,
02:52no new nodes were created.
02:54If you click on any of these titles, it actually takes you to the external site
02:59that has the information, like so.
03:02I'll just go back to our site.
03:05So we found a feed of information, and we've added it to our site.
03:10Well, what exactly can we do with it?
03:12We now have a page that shows items from that feed, and if you want to, you
03:15could create a simple link up here in the main menu or something that goes to this page.
03:19You'll learn how to do that in the videos about menus.
03:22There is another way that you can use this feed, however: by adding it into a block.
03:26We'll talk a lot more about blocks later in the course, but I'll very quickly
03:29show you how to use that.
03:31To do that, go up to Structure and down to Blocks.
03:35Now when you create a feed, it also creates a block, which you can place in
03:40different areas on the page.
03:41I'll scroll down to the bottom to see our inactive blocks, down here under
03:46Disabled, and there is the one we just got:
03:48California news from Feedzilla feed latest items.
03:51I'm going to move that up higher in the page.
03:54Now I happen to know where all of these regions are, and you'll learn more
03:57about where they are when you see the videos about blocks.
04:00I'm just going to put this one into the right-hand sidebar, known as Sidebar B,
04:05scroll down, and save.
04:07Now when I go to my front page, scroll down, and there are some of those news items.
04:14It's a great way to bring information into your site, and again, I didn't have
04:17to write any of this.
04:18All I had to do is find the feed and bring it in.
04:21One other thing that happens when you bring a block into the page is it
04:25adds this More link.
04:27That's another way to see that page that we saw earlier.
04:30Now at the top, you'll notice a couple of tabs that you as the administrator can
04:34see, but that other people can't. The first one is the Configure tab, which gives
04:38you an opportunity to change some of the feed information that you entered when
04:42you created the feed.
04:43The other one is the Categorize tab, which I'll talk about in the next video.
Collapse this transcript
Categorizing RSS feeds
00:00In the previous video, I showed you how to subscribe to RSS feeds on other sites.
00:05In this one, I'll show you how to categorize those feed items that you receive,
00:10to give visitors easier ways to get the information that they want.
00:15As you scroll down through this page, you'll notice that these news feed items,
00:19they are all about California, but they have different focuses.
00:24Some might be about nature, some might be about celebrities, some might be about
00:28travel, and so forth.
00:30So what we're going to do is we're going to create some categories that will let
00:33us categorize these individual feed items and then look at pages to only see
00:37celebrity news or travel news or nature news.
00:40To do that, we go up to Configuration, and once again, down to Feed aggregator
00:45under Web Services, and now, we can start adding categories.
00:49I'm going to add four categories:
00:52it will be Nature, Shopping, Travel, and Celebrities.
01:04You can add descriptions as well, which will give additional information, but
01:08I'll just do that simply for right now, and save.
01:10Now let's go back to our front page, go back down to that block that we
01:15have, and click More.
01:17Once again, that takes us to our page of feed items.
01:20Now when we click Categorize, we're able to add these items into any of those categories.
01:26So Kelly Slater, that sounds like a celebrity piece of news.
01:30Let's see, Watershed cleanup, that sounds like nature, Natural Beauty also sounds
01:34like nature, and so forth.
01:36We could go then down to the bottom and save our categories.
01:40Now when we look at that page, by clicking the View tab, we see those tags that we added.
01:46See, we have categories Nature under here, Celebrity under here.
01:49You might remember that we added two items to nature, so when we click on the
01:52Nature tag, we see those two items only,
01:56a very good way to take in this information from other sites and make it more
02:01useful on your own site.
02:02You're actually adding value to somebody else's information.
02:05But there is an easier way to categorize feed items if you expect to add the
02:09same tag to every item that comes through the feed.
02:12To demonstrate that, I'm going to add one more feed.
02:15I'm going to search Google one more time for "California RSS."
02:19This time I'm going to go to the first link, which is the State of California
02:23information, and go down to the department of parks. There it is:
02:31California State Parks.
02:32Click on the RSS icon and copy that URL.
02:36Once again, we go back to our site, go to Configuration > Feed aggregator, and Add feed.
02:44The title will be California Department of Parks, and there is our URL.
02:53Now this time because it's the Department of Parks, I expect them all to be in
02:56the Nature category.
02:58So I'll just add Nature and save.
03:02Now I'll go back to my list and quickly update those items. Good!
03:0512 items. Let's take a look at them.
03:08Here they are, and you see each one has that Nature category.
03:12If we click it, we go back to that earlier page that mixes in nature items from
03:16both of the feeds we created.
03:18I'm sure you can see right now how much power there is in this.
03:21There is one other nice thing that Drupal Gardens gives when we start
03:24categorizing news feed items.
03:26The same way that we were able to enable a block showing only those items from a
03:31certain feed, if we go to Structure, and Blocks, we also get blocks showing us
03:37just the category, the Nature category.
03:39So again, we can move that into any of the areas that are available on our page
03:43and just have a Nature section on our page.
03:45Finally, we can see all of our news items by going up to the URL and choosing
03:51Aggregator, and that's everything that's come in from both of those feeds.
03:56So you can see that you get a lot of content onto your site really quickly with RSS feeds.
04:01In fact, some sites are built entirely around RSS feeds with very little
04:06original content, or you can mix it up a bit if you like.
04:09That's actually what I did with one of my first sites, savemyhomebook.com. I created this.
04:15It was actually my first Drupal site when I wanted to promote a book I wrote in 2008.
04:20I wrote a few blog posts down here, but then, really, the book became out of date,
04:24and I wanted to keep the site alive for people who really wanted to get
04:28information about foreclosure.
04:29So I have these areas here on the side that are simply pulling in information
04:33about foreclosure from various different sites.
04:36So the site remains useful to people, even though the original purpose of the
04:40site is not as important as it used to be.
04:43Finally, I would like to point out the opportunity that RSS publishing provides
04:48in the other direction.
04:49Just as you're subscribing to feeds, other web master might want to subscribe to your content.
04:55To learn more about that, see the video later in this course about
04:58publishing RSS feeds.
Collapse this transcript
Managing tags and taxonomies
00:00In the video about creating and managing content types, we talked a little about
00:04the differences in Drupal Gardens between, say, a news item and a blog entry.
00:09In this video, you'll learn how to give nodes a different kind of identity
00:13through what's called tags.
00:16You could say that a content type defines a node's format--that is, it says if
00:19the node has certain fields, and they are displayed in this way, and so on.
00:23But tags define a node's content.
00:26The best way to explain it is with an example.
00:29For our site, we're listing different California tours using the tour content
00:33type we defined earlier, which has the length of the tour and the price and the
00:37picture of the tour.
00:38But let's say that we want to group those tours by theme so that people who like
00:42to backpack can find all the walking tours.
00:45That's what tags are good for.
00:47To get started, I first have to decide what my categories are going to be.
00:51For that, we create something called a vocabulary that describes what
00:55we're categorizing.
00:57Then we'll fill it with our options, which are called terms, and you can see this
01:01by going up to Structure, scroll down to Taxonomy.
01:06Drupal Gardens comes with two vocabularies already in place:
01:10Tags is a general vocabulary that's used throughout the site, and Forums which
01:14Drupal Gardens uses internally to set up discussion boards. And you'll find out
01:18more about that in the video about starting discussion forums.
01:21We're going to add a different vocabulary, which will be called Type of tour.
01:28We could add a description if we like, but I'm just going to leave it alone and click Save.
01:33Our next step is to add terms to that vocabulary.
01:36Don't worry if this is a bit confusing right now;
01:39it will be clearer when we actually go and create some tour nodes and start
01:42adding those terms to the tour nodes.
01:45But first, let's go ahead and add those terms by going over here and
01:48clicking add terms.
01:50The first one will be called Backpack California.
01:53I won't put in the description;
01:54I'll just go down to the bottom and save.
01:57We then come back to the Add Term screen because usually when you create terms,
02:01you create many of them all at one go.
02:04The next one we'll be called Nature watch, scroll down and save it again, and
02:09finally California hotsprings, scroll down and save it.
02:15In order to use these tags in a content type, we have to go back and edit the content type.
02:20Now remember, we're going to use these on our tour content type, so we go up to
02:24Structure and Content types, then down to Tour and manage fields.
02:30As you remember, we added a few fields earlier, and that's exactly what
02:33we're going to do now.
02:34We'll call it tour type, tour_type, like so, and then under field type, there is
02:42actually one specifically for taxonomy terms called Term reference, and then
02:47we have a few options as to how we're going to select those terms.
02:51I'm going to leave it as Select list, although if you set up your own terms,
02:55you'll probably want to play around with these and decide which one is best for you.
02:58Also, you'll learn more about these types by watching my video "Drupal Essential
03:02Training," where I go into it in a little bit more detail.
03:05Scroll down and click Save.
03:08The next question is which vocabulary is going to be the one from which
03:12these terms are selected?
03:13Of course, since we're going for Tour types, we'll select the Type of tour, and
03:17save field settings.
03:18On this page, I'll actually just leave everything in its default value, and save settings.
03:24Finally, I'll move this up so it's near the length and price, just because it's
03:27more convenient on the node form. Scroll down and click Save. Great!
03:33Now, we can start to categorize our tours. But you might remember, if we go to
03:36content, we only have one tour in already. That's the Big Sur Retreat.
03:40So I'm going to add a couple more.
03:43If you're a lynda.com premium subscriber or got this course on a disc, you have
03:47the exercise files, which include one file called other-tours.
03:51I'm going to use that to copy and paste into my Tour content type.
03:57Go down to body and paste. Then our title,
04:04let's say that that's a two-day trek.
04:05Let's say that the price is 250, and the tour type is Backpack California.
04:12Scroll down and save it, and I'll leave the photo blank;
04:16it'll give us that default photo. And then I'll create one more under Tour.
04:22Once again, I'll pick that from our exercise file, Channel Islands Excursion.
04:32This one is 1 day at $150, and it's considered a Nature watch, and save. Great!
04:44Now if we go back to our content list, we see that we now have three tour types.
04:48I'm going to just go back and change that Big Sur Retreat so that we add some
04:52type of Tour type to that one.
04:54I'll call it Backpack California and save it. Great!
04:59Now let's take a look at any one of those--
05:01let's say the Big Sur Retreat.
05:05As we scroll down, we see our tour type right here, that Backpack California
05:09that we used tag it.
05:11When we click on that, we'll see a page that chose all of the
05:14Backpack California tours.
05:16Furthermore, the URL that goes to that page is stable and simple, so you can
05:21create a menu item, and you'll learn how to do that in the video about
05:24understanding menus.
05:25In short, tagging content makes it easy for visitors to just click around to see
05:30content that most interests them.
05:32Tags become even more useful as your site grows into hundreds or even thousands
05:37of nodes, and you have dozens of tags.
05:39Now tagging does take a little time to set up and a bit more time whenever
05:43you create a node, but for making your site a lot more user friendly, it's
05:48really worth it.
Collapse this transcript
Creating dynamic pages with simple views
00:00Now we come to one of the best parts of Drupal Gardens: views.
00:04Put simply, a view is a way to collect a bunch of information on your site into one page.
00:09You saw views like pages at the beginning of this course when we clicked on the
00:13Blog link up here in the News link.
00:15That would show blog post from everybody on your site, or all things that were news items.
00:20But you can create your own views that collect nodes according to all kinds
00:23of criteria, by using something that's built into Drupal Gardens called simple views.
00:28As its name implies, simple views is a streamlined version of a much more
00:32complicated Drupal module called Views that's available for core Drupal.
00:36Views is so useful that it is the number one most popular module for Drupal,
00:41and in fact, I presented it in entire lynda.com course based heavily on views, called "Drupal 6:
00:47Online Presentation of Data."
00:49Now, simple views has maybe a tenth of the power of the full Views module, maybe
00:54a 50th. But still, it's surprisingly useful.
00:57So we're going to create our own view to list all of the tours on our site, with
01:02the most recently added ones at the top.
01:04In previous videos, we added three nodes at the Tour content type, and you
01:08can see that by going to Content and then filtering on the type Tour, and there they are.
01:15Now, it's time to group them.
01:17To do that, we go up to Structure and then down to simple views.
01:22Now you'll notice one view is already there, as I mentioned--the News view, which
01:26is linked from that menu on the front page.
01:28We're going to ignore that and add our own view.
01:31The title will be called Newest Tours.
01:34The path will be new-tours.
01:37Now, that describes the page that you'll go to in order to see this information.
01:41It'll be your domain/new-tours.
01:45We'll display only the tour posts, sorted so that the newest ones are first, and
01:51we'll show that simply as a list of titles, where clicking reveals the full post.
01:57We could also limit that to tags so that if, for example, we wanted it to be
02:00only the Backpack California tours,
02:03it would show up in the view, but we're going to just leave it for all of them.
02:06It'll show ten items on the page.
02:08We won't talk too much about the RSS feed and expose as block.
02:12They are pretty big subjects on their own.
02:14And I'll show you how to use that RSS feed in the video later on about
02:17publishing RSS feeds.
02:19But right now, we'll just leave it as it is and know that they are available for
02:23us later when we want to take a look at them.
02:25Click Submit, and that's actually all we have to do.
02:29Now if we go to that page, new-tours-- and I can do that simply by clicking here--
02:34we see the Channel Islands Excursion, Death Valley Survivor's Trek.
02:38You remember these were the three tours that we added most recently.
02:42If we click on any of these titles, it then shows us more of the information.
02:46I want to muck a little bit with this view so that you can see some of the
02:50different options that are available when you create a simple view.
02:53To do that, go up to Structure and then down to simple views again, and there is
02:58our Newest tours view. Click on edit.
03:01Let's change just exactly how that shows.
03:04List of titles (clicking reveals full post), which as you saw was a sort of neat
03:09animated JavaScript thing.
03:11Now I'm just going to make it a List of titles instead and submit.
03:16Now if I go to new-tours--and again, I could actually just type that up here,
03:19new-tours--there is our page. And if you click on any of these, it now goes to
03:25the full node, which includes the picture and the price and all that sort of
03:28thing. And from there, you can edit it if you want.
03:30This is the Nodes page.
03:32Once again, I'll just go up to Structure, just to give you an idea of some of
03:35the different options, and edit it, and show a list of full posts, and submit.
03:43Now when we go to that new-tours page, we see the whole thing, all in one page--
03:49great way to show a catalog of your different products, for example.
03:52Now when you make a view, chances are you'll want to add a link to a menu
03:56somewhere so that people can get to it quickly, and they don't have to type in
04:00"new-tours" or whatever the page address is.
04:02You'll learn how to do that in the video about understanding menus.
04:06I hope this shows you how powerful simple views can be for displaying dynamic content.
04:11It's not always easy to see just how powerful it is, but I think once you
04:15start having lots and lots of nodes on your site, you'll start needing to
04:19organize them somehow.
04:20Then it'll become clear how simple views works together with taxonomy to keep
04:25your information grouped and easy to understand.
Collapse this transcript
Creating complex information collections with Views
00:00We just finished creating a collection of tours sorted so the newest ones float
00:04to the top, using the feature called Simple Views.
00:07Now I'd like to show you how to do the same thing, but using the full version of
00:10views, which is also now a part of Drupal Gardens.
00:13It lets you do a lot more, but it's also a lot more complicated.
00:18I'll just show you a little of how Views works to reproduce the collection we
00:22put together using Simple Views,
00:24but then we'll go a little bit further.
00:26The first thing we have to do is to turn it on.
00:28To do that, go up to Modules and scroll down until you see Views.
00:34You can also close up this CORE group up here to get there more quickly. And there it is.
00:40We check the box and Save configuration.
00:44Then we add a new view by going up to Structure, scroll down to Views, and Add new view.
00:55This page is very similar to the one that you saw on Simple Views, but with
00:58a few more options.
00:59In fact, we can create an exact duplicate of our Simple View using only this screen.
01:04I am going to call this Newest tours.
01:08The content will still be only those of type Tour, and it's going to be
01:13sorted by newest first.
01:15It will create a page.
01:17And the thing that I am going to change here is just so that it's easy to tell
01:20which one we're working with, whether it's the Simple View or the Regular View.
01:23I'll call it newest-tours-using-views.
01:24This will be an unformatted list of full posts, without links--
01:33we don't want people to comment on our posts--and without comments.
01:41Go down a little bit and save and exit.
01:43So here is our newest-tours-using-views, and if I want to, I can compare that to our new-tours.
01:50I'll just a create a new window here, go to new-tours.
01:54So this one was created using Simple Views, and this one was created using Views.
02:01As you can see, they're exactly the same.
02:04Now we're going to go back and change the way the page appears in a
02:07few interesting ways.
02:09To do that, once again, I go up to Structure and down to Views, and there is
02:15the view I created. I click Edit.
02:18The first thing I'll change is instead of showing the whole node--that is, all of
02:21the information about the tours--
02:23I'm just going to show a few select fields.
02:26To do that, we click Edit Page details.
02:28This interface is nearly identical to the full version of Views that you get if
02:32you download Drupal and host it on your own computer.
02:35Scroll down a little bit, and the first thing we'll change is from Content to Fields.
02:40That lets us break up what's actually shown. And Apply.
02:44We have several options here, and I am just going to say okay, Apply.
02:48As I say, the full version of Views is extremely complex.
02:52Down below all of these settings you'll see a preview. This shows you what will
02:55happen if you were to save now and then go back to that page.
02:59I am going to add a few fields.
03:00Right now all that we have is the Title. So I click Add.
03:04And then we have a very long list of all of the things that we could add.
03:08Some of these are specific to the content itself; some are related to the user
03:12who posted the content; and so forth.
03:14You can filter as you see by choosing from the pop-up menu here or by typing in here.
03:19One thing I'll look for is length--
03:21I want to show not only the title of the tour, but how many days it is--and also the price.
03:25So length, I'll add that, and I'll keep all the default information and just Apply.
03:33Then I am also going to add the price.
03:37Once again, I'll search for price here, and Add and configure fields. Now I'll
03:43accept the defaults.
03:44As I scroll down now, I see a little bit more information.
03:50You have a lot of control over exactly what you show.
03:53To make this a little more attractive, I am going to change the FORMAT.
03:56Instead of it being an unformatted list, I'll turn it into a table--
04:00that's a very popular one for views. Apply it.
04:04We have once again more options.
04:06For example, you could sort it by all of these different things, by clicking the
04:09SORTABLE button, and Apply.
04:11Let's scroll down and see what that looks like. Quite nice, right?
04:16And in fact, as you see, we can sort by price and by length and so forth.
04:21I am going to add one more field, which is going to be a photo.
04:25You might remember some of these have a photo associated with them.
04:28Click Add, do a search for photo, and add it. And here because it's an image, we
04:36have very different options available.
04:38I am going to make this just a thumbnail, a little tiny one, and I'll link it to
04:42the node itself, to the content.
04:44Apply, scroll down.
04:47It's quite a nice look now, isn't it?
04:50And you can go on and do so many other things.
04:52For example, you can rearrange the fields to put them in a specific order,
04:56you can change exposed filters so people can choose what they see, and so forth.
05:02Before I do anything else, I am going to go back up to the top and click Save.
05:06This is the part that many people forget when doing Views, because it looks like
05:09you're doing so much, but actually it doesn't get saved until you click Save.
05:14Then it becomes permanent. Great!
05:17One other thing that you can do with Views is you can add a block, or several
05:21other types of displays.
05:23To do that, go up to Add > Block.
05:29The Block name will be Our latest tours.
05:33This is what shows up on the block's Admin page, which you learned about in
05:37the video about blocks.
05:39As we scroll down, we can see what it's going to look like.
05:42It's got quite a few fields for a block actually, and we can change that if we want.
05:49To do that, you would click on any one of the fields and change it from all
05:52displays to just this block.
05:54That overrides so that it breaks it away from the template that's set up when
05:59you created the page.
06:00Now, you'll notice this is italicized.
06:02That means it's different from the default.
06:04In other words, you can now change things, like removing the photo and the length
06:08and the price, and in fact, I am going to do that.
06:09I'll remove it here.
06:12We see that we only have three fields now, whereas if we switch the page, we
06:17have our original four.
06:19Going back to the block, I'll remove also the length and the price, just to keep it easy.
06:31And finally we go back up to Save.
06:36Now let's see how that looks.
06:37If we click on Page, you can go directly to the page.
06:41I'm going to do that and Ctrl+Click so that I can open it in a new tab up here.
06:45There is our Newest tours, and you can see compared to the old Simple View,
06:51it's much easier to look at a large list of tours.
06:54Going back to that block, we can make that visible by clicking Structure > Blocks.
07:00If we scroll down to our Disabled Blocks, we see the one that we just
07:06created, Our latest tours.
07:08I am going to put that in the right- hand sidebar, which is known as sidebar B,
07:11scroll down to the bottom, and Save.
07:16We'll close out the overlay and see how that looks.
07:18If we scroll down, there it is.
07:22It's in the right-hand sidebar, just as we wanted, with only the titles, while
07:25the page itself shows all of this information.
07:28Now, there is your introduction to Views. But I don't want two features on our
07:33site that essentially do the same thing, that is, show this list of tours.
07:36So I am going to go back and delete the view we just created, leaving only the
07:39Simple View we created earlier.
07:41When I do, the block and page displays that are part of it will
07:45automatically disappear.
07:46So I go up to Structure, and Views, over to edit, and delete.
07:56Click delete, and we're done.
07:59When I close out the Overlay, we get told that we can't go to that page because
08:03of course that was displaying the view that we just deleted.
08:05So I'll just go back to our homepage.
08:07When Acquia created Drupal Gardens, only Simple Views was available, and it was good enough.
08:15At the time, the Views interface was simply too difficult to use, so the company
08:19figured it would be better to avoid all of the support questions they'd get by not
08:23including the Full Views module.
08:25But very much to their credit, Acquia funded development to make the interface
08:29easier, then gave those improvements back to the Drupal community.
08:33That's really admirable.
08:35Not only do you benefit as a Drupal Gardens user, but everyone who uses Drupal benefits.
08:40As this little peek showed you, Views is a huge subject.
08:44In fact, Lynda.com has an entire course that's mostly about it, called Drupal 7:
08:49Reporting and Visualizing Data.
08:51That's a good place to start if you want to know how to rearrange content you
08:54already have to create some amazing data collections.
Collapse this transcript
Creating image galleries
00:00Image and video galleries are obviously most important on web sites with pretty
00:05pictures to show off.
00:06I think our Explore California site is a perfect example.
00:10I mean how better to get across the grandeur of the state. So, let's do it.
00:14A gallery is simply a content type, but it's sort of a complex one because it
00:19contains all of these images in one gallery.
00:22To create one though, it's very simple. Just go up to Add content, like any other
00:25content type, and select the Gallery.
00:28Now this is the gallery itself.
00:30It's not the images that go into that.
00:32We'll add that after the gallery is created.
00:34I'll call this one "Visions of California" and for the description, "Our great state
00:42as seen through many lenses." How is that?
00:45I'm not going to change any of the settings.
00:47I'll come back and do that later, and you'll see many of the different
00:50options that you have.
00:51For now I'll just click on Save.
00:53There. It's created. But as you see, there are no pictures in it. To add them it's
00:58very simple; just click Add Media, and then you'll drag files here.
01:03In order to do that, I'm going to make this window smaller and drag it out of
01:06the way, and I'll take my sample files here, select them all and just drag them in.
01:11Now, I'll go back, enlarge my Window again and click Start Upload.
01:19As those files upload, Drupal Gardens tells you about how much longer it'll take
01:23for those to upload.
01:24We have a fast connection, so it doesn't take long at all.
01:26And then there we are.
01:27We actually have our gallery.
01:29I can show you what that looks like in another browser, by just copying the URL,
01:34and then I'm going to launch the Google Chrome browser, which we are not logged
01:37into Drupal Gardens on--
01:39just so we could see what a visitor would see when they went to that page. And
01:43there it is. Very, very simple.
01:45And let's go back and do a few other things.
01:49The first thing that you'll notice is that Drupal Gardens added this
01:53Galleries menu up here.
01:54Now, you could remove that if you want.
01:56It's just a simple menu item in the main menu.
01:59And for details on how to remove it watch the video about understanding menus.
02:04When you click that Galleries link, you see all of the galleries that are in your site.
02:09In our case, we only have the one, and it says us how many images are there, and
02:13it shows the first image in that gallery.
02:15When we click on it, once again we go back to our gallery.
02:20But we could add things other than photos to this;
02:23we could add YouTube videos, for example.
02:26To do that, once again, we just go to Add Media and then click on in Embed image or video.
02:31Now if we had uploaded something previously, it would be in the library.
02:36In my case, I'm going to re-embed a video that I put in the library and then took it out again.
02:39You might remember as this Explore California Weekly Podcast.
02:45Go ahead and paste it into that video URL and submit. Then once the page
02:50redisplays, you'll see we now have nine items: eight images, and one video.
02:56Something that's really need about this galleries is that you don't have to
02:58leave them in their default configuration.
03:00Let's say, for example, that I want to move this video up to the top. Just grab
03:04the little compress icon and drag it up there.
03:08You can also edit these individual images in movies by clicking on the little
03:11widget here and selecting Edit.
03:14Once there, you can add a description, add tags, and even remove it by clicking
03:19on this tab right up here.
03:20I'm just going to save it and leave it as it is.
03:24Finally, you can change the behavior of all of the galleries on your site. To
03:29do so go up to Configuration and scroll down to Gallery settings, which is
03:34under the Media group.
03:37Some of the options that you could change include where all of the galleries
03:41appear--that is, what the URL is--what the default layout is for each gallery, and
03:46how titles show up, whether it's shown when they hover or they're below, or just
03:50show no title at all.
03:51I'd want to go back to my gallery actually and make a few more small changes.
03:56If we click Edit Gallery here, we see a page very much like what we saw when
04:00first created the gallery.
04:02For example, we can change the number of columns, so let's make it 3x3 instead of 4x3.
04:08Again, we can change where the title shows up.
04:11We can make it possible to either download or not download the original image if
04:14you want to protect the copyright and prevent it, to some extent, from being
04:18passed around on the Internet,
04:19although of course it's quite impossible to completely prevent that.
04:23You can just make it a little bit more difficult by unchecking Allow Downloading.
04:27I'm going to leave the other settings alone and just change it so we can see it
04:30is a 3x3 grid, and there it is.
04:32And as you can see, there it's slightly bigger than in the 4x3 grid.
04:35I just have to say that galleries are one thing that Drupal Gardens really got right.
04:40They're just so easy to set up, and the effect is so wonderful, especially on a
04:44picture-rich site such is ours.
Collapse this transcript
3. Site Structure
Working with blocks
00:00For most of this course we've been dealing with the content that appears in
00:03the center of the page and ignored all of the stuff that's floating around the edges.
00:08This video talks about that edge stuff, which is contained in something called blocks.
00:14These blocks in turn are placed in blocks regions.
00:17You can put three kinds of things in blocks.
00:20First, there's static content such as text and pictures.
00:24Second, there's dynamic content, such as you'd create with simple views as you
00:28learned in an earlier video.
00:29Finally, Drupal Gardens automatically creates a few special blocks that are
00:33available for placement right away.
00:35As we look through our page, we can see some of these blocks regions, scroll
00:40down a little bit and you see, this is the main region, where our main content goes.
00:45This left area is called sidebar A;
00:48the right area is called sidebar B. But there are many, many more.
00:51There is these down at the bottom.
00:53There are some up at the top.
00:55In fact, there are about 20 block regions, although only about eight have
00:59blocks in them right now.
01:00There are two ways to see all the block regions, one of them is to go to a
01:04Documentation page on the Drupal Gardens site.
01:07That's at regions.drupalgardens.com, and here we are.
01:11As you can, there's a lot of stuff there that we don't have showing on our site.
01:16The other way is by going to your site's Block Management page.
01:20We'll go back to our site and go there by going to Structure and Blocks, and
01:25then clicking on this link toward the top, Demonstrate Block Regions.
01:30All of these yellow bars demonstrate, more or less, where these Blocks are.
01:34Remember those three columns at the top?
01:36Well, here they are, in our own theme.
01:39When you're done looking at the block regions, just click on this Exit block
01:42region demonstration, and that takes you back to your list of block regions.
01:47Each section of bold text here corresponds to one of those block regions, so we
01:51have the Header, Navigation Area, Highlighted Content, and so on.
01:56I mentioned Sidebar A, which is a lot of stuff in it, and Sidebar B, and you
01:59might remember that we had added some things into the earlier on in the course.
02:04Toward the bottom are all of the blocks that are available but are not yet in a block region.
02:09They are in this Disabled area.
02:11By the way, I want to mention that these block regions are standardized
02:14throughout Drupal Gardens, so if you create something in the Campaign theme and
02:19then change to a different theme altogether, your items will stay in their block regions.
02:23That's a real boon, because it's not true among contributed themes for
02:27core Drupal, generally.
02:28That is, if you self-host Drupal, not using Drupal Gardens, but just put it on
02:32your own server and you start downloading all these themes,
02:35you might find that blocks disappear as you change from theme to theme, but
02:39you don't have to worry about that in Drupal Gardens, which I think is just terrific.
02:42Anyway, let's get back to our blocks.
02:44When I am working with them I like to open up a few windows. The first one shows
02:49this Block Administration page, so I can move things around.
02:53The second, which I'll open by right- clicking and choosing it in a new tab, is to
02:57show where those block regions are.
02:59The third page I'd like to show is just the homepage and, again, I'll open that in a new tab.
03:04This way I can see the immediate effects of what I change on this Block page,
03:08as well is where those block regions are, very quickly just by moving from tab to tab.
03:13Now, there are a few different ways that I can move blocks from one region to another.
03:17Let's say, for example, that I want a move that rotating banner that's at the
03:21top from the Banner area into, let's say, Precontent second.
03:26Well, I could just grabbed that little compass-like icon and drag it down.
03:30When I do that, you'll notice that it changes on the pop-up menu, and it also
03:34shows this little orange asterisk. What that means is that I have to save the
03:38page, or I'll lose that change.
03:40If I were in fact to close this out by clicking on this X, it would not move.
03:44In fact, that's what I'm going to do, because I don't really want to move this.
03:48And you see that page redraws, and this banner up here doesn't actually move.
03:51I'll go back by going to Structure and Blocks.
03:55Another way to move things around, as you might guess, is by changing it in this
03:59region pop-up menu itself. Again, go back to that Rotating Banner and move it to
04:05Preheader First, for example.
04:07It jumps up to that area, and once again we see our orange asterisk. And again,
04:12I'm not going to save that.
04:13I am just to bring it back to the Banner area.
04:17Another way to change things on a block is by going to the block itself and editing it.
04:21You can do that in two ways, either by hovering your cursor over the block
04:26itself until you see the widget and then click it and change Configure Block.
04:31In the page that you get to, you'll see Region Settings, and there you can
04:35choose from the list here of what region you want it to be in, or remove it
04:39entirely by changing it to None.
04:42You can also get to that Block Configuration page, once again, by going to the
04:45Block page > Structure > Blocks and clicking the Configure link next to
04:51whichever block you want to change.
04:53Now that you know how to move blocks around, let's look at some of those that
04:56Drupal Gardens provides but keeps disabled by default.
05:00Scroll down to the bottom here to our Disabled region, and we see Active Forum
05:05Topics, Author Information, Add This button.
05:09The best way to learn about these is really to start implementing them in your
05:12site, particularly when you have a lot of stuff on your site already, because
05:16some of these things only become relevant when they are displayed in your
05:19content, or when you have a lot of comments coming in.
05:22For example, right now, if we go back or front page, we have a block over here,
05:29Comments, but no comments are available, so there's really not much reason for
05:33it to show. And in fact, it doesn't tell us anything.
05:37In fact, I'm going to remove this one by clicking Configure Block, going to our
05:41Region Settings and going to None and saving.
05:46One block that I actually like to add is the Recent Content block, which again
05:51starts out as disabled.
05:52I am going to put that let's say into sidebar A. Now when I do that it, jumps up
05:58to Sidebar A, but since there's a lot of stuff there, I'm never really sure
06:01where it's going to put it.
06:03It might be at the top or the bottom or the middle, so I'll just go down and
06:06save and make sure that I like the way that it looks. And there it is.
06:14Although it said that it was at the top before, it actually ended up in the middle.
06:18Now let's add a dynamic block that we created earlier with simple views.
06:22That block was called Newest Tours.
06:24I'll go up to Structure and Blocks once again, and down toward Disabled region.
06:32And there's our Newest Tours Block. Go and I'm also going to put that one into
06:37sidebar A. Go down and save.
06:39Then actually, instead of closing this out, I am going to go to my homepage
06:46right there, and reload it.
06:48Now when I scroll down, I see recent content which I put there, and then at the
06:53bottom Newest Tours, just as we would expect.
06:55This is a good time to take a look at what else is on this page and decide
06:58what we really want.
07:00You know, I think I am going to remove this sample gallery.
07:02We don't need it there, and again, it's just a sample.
07:05So, Configure Block, move it out of sidebar B, and it's gone.
07:13There is one thing that I want to warn you about blocks: not every one fits into
07:18every block region well.
07:20Let's go back down here to that Newest Tours, for example, which looks so good
07:23in sidebar A. I am going to configure it, and let's move it up into say, the
07:28header region, go down and save it. Hey!
07:32It really kind of clutters up the header region there, so I am going to bring
07:38that right back down and put it in sidebar A once again.
07:43And what you'll find is that a lot of those ones at the very top and bottom
07:46of the screen actually change the look of the block quite a bit. So don't just decide, oh!
07:51This will look good there,
07:52this will look good there, because the typefaces will actually change depending
07:56on the design of the theme.
07:58Go back and save the block. Put it back to where it was.
08:01Now, at the beginning of this video I said there were three kinds of blocks.
08:06They were those provided by Drupal Gardens-- which you already saw, such as Recent Content--
08:11dynamic blocks, such as the one you saw are created by simple views--that Recent
08:15Tours--and static blocks that you create explicitly.
08:18I am now going to going to create one of those static blocks.
08:21To do that, I go back to my Blocks administration page.
08:24I could do that again by just going to that tab or clicking Structure and
08:27Blocks, and then say Add block.
08:32Block Description, I am going to say "Need guidance?"
08:35I'll make that the block title as well, and then, in the Body, I'm going to add
08:42"Need help finding your way around?
08:48Write for one-on-one help," and then for this Write for one-on-one help, I am
08:55going to link that to our Contact page, which incidentally is at /contact, in Drupal Gardens.
09:01You'll learn more about that in the video "Setting Up Contact Forms."
09:05Click on the link here and make it /contact. There. Go down and change its
09:17region so it shows up in sidebar A. Scroll to the bottom and Save.
09:23Let's take a look at what that looks like by going back for homepage, clicking,
09:28and scrolling down. There it is!
09:33It does show up at the bottom, however, so I am just going to move that up to the top.
09:37I think it is important enough.
09:38I do that by going down here, grabbing its little compass, dragging it up to
09:42the top, and saving.
09:48Close that out, and there it is.
09:52You know, blocks are a tough subject to teach.
09:55On one hand they're vitally important for defining how people experience your
09:59sites, so I wish I could teach them first.
10:01But on the other hand you need to understand a lot of Drupal concepts first,
10:05about nodes and such, before blocks make any sense.
10:08But now you know the basics of block management;
10:11we haven't really gone deeply into the configuration pages, or for example
10:15you can change settings so the block only shows up on certain pages or to
10:19certain kinds of users.
10:20If you want to know more of those details, the Drupal Essential Training
10:24course is the place to go.
Collapse this transcript
Setting up rotating banners
00:00We have been staring at our site's front page since we installed it from the
00:03Campaign template about a dozen videos ago,
00:06so I am sure you noticed this big giant area right at the top of the page.
00:10This is called a rotating banner, and it's a great way to highlight several
00:14parts of your site in a single space with a lot of visual impact.
00:18Now originally, when the site was installed it rotated between headline 1 and
00:22headline 2 every few seconds.
00:24I changed that earlier, so it wouldn't be so distracting.
00:27Now we are going to add our own rotating banner back in, with our own graphics and text.
00:31A rotating banner is simply a block, and you can place it in any block region, as I showed
00:36you in the video about using blocks.
00:38To get there, we will go up to Structure and Blocks.
00:43Right now, that banner is in an area called Banner.
00:45I'm going to take the one that's there right now and hide it by moving it from
00:49Banner into None, then going down and saving.
00:56Now, when we go back to our front page, as you can see, after the page
00:59reloads, it's gone.
01:01Okay, now let's go back and create our own. Click Structure and Blocks.
01:07Here near the top of the screen you see Add Block and Add a Rotating Banner. Of
01:11course, I will choose the Rotating Banner and give it a title.
01:15We will call this "Front page banner."
01:19This isn't shown to anybody who visits the site;
01:21it's only for administrative purposes. Then click Create.
01:25I am now going to add a few graphics to this banner. These images are from the
01:30exercise files for this course, which you should have if you are a premium
01:34member lynda.com or received this course on a disc.
01:37I have them here on my desktop.
01:38First, I will click Add a new slide to this banner, and then Choose banner image,
01:46and then navigate to where you have the files.
01:48I have them on the desktop in my exercise files here.
01:50I'll add this first one, beach_houses, and click Upload. There you have it.
01:59Now, you'll notice that with each graphic you have an option to put in several
02:02pieces of text, headline and text, down here.
02:05You could type it in here if you want, or if you go further down the page, I
02:09actually find it easier to type into these text areas.
02:13Now when I go back to my Desktop, I have some text already put together for this.
02:18So I'm going to just copy and paste that.
02:20I will make the headline, "Beach houses on the coast," and I think I just
02:27won't put in any text;
02:28I will have only a headline for these.
02:30Now when I do that, I'll scroll back up, and I can see what it looks like.
02:33It looks pretty good to me.
02:35So then I will click Save.
02:36I will continue doing this with the other three graphics that I have, and I will
02:41just do this very quickly.
02:43Choose a banner image, Browse > golden _gate > upload, go back, get my text.
02:54Again, you can click up here if you prefer, but it's a little bit harder to get
02:58a hold of the text that you have there, as you can see.
03:01So I will just continue using the text area like this. Scroll down and Save.
03:07Just two more to go. Choose the banner image > Browse > ventura.
03:15Now while it's uploading, you can go back and grab your text.
03:18You don't have to wait for it to finish to go to a different program.
03:21Paste it in, remove the text, save and almost done. One more. And there we go.
03:44We now actually have our rotating banner completely done, and we could leave
03:47it exactly as it is.
03:49But remember, it's in a block, and it won't show up anywhere on the page until
03:52we'll put that block into a block region.
03:54I am going to do that right now on the page here, or of course, you could go
03:58back to the Block Administration page.
04:00I am going to that back into the area we had before, which is Banner, and
04:04scroll down and save.
04:07Let's go to our front page and see what that looks like. Give it a moment to
04:10redraw, and there it is.
04:13Now with these rotating banners, you could just wait for a while for it to
04:17change from graphic to graphic, as it does there, or the user can click on these
04:22buttons and move them manually.
04:24Now, there are more options that you have with this banner.
04:29Let's go back to our Banner Setting page and see what they are.
04:32To do so, you could go back to Structure and Blocks and then click Configure
04:35next to the block itself, or the faster way is just to click on this little
04:38widget here to configure block, and you are back at it.
04:43Now once you have these images in, you could go back and edit them if you like,
04:46to change the text, for example. Or you could change some certain other
04:50things, such as where the text appears on the graphic.
04:54Let's say, for example, we didn't like it up here.
04:57We thought it should be better over on the right. Just change it top-right,
05:01scroll down, and save.
05:04Now when we go back to our front page, we will see the result.
05:08Notice that it doesn't affect any of the other graphics.
05:10It only affects that one, and that's actually quite useful. For example, on
05:13this Ventura one, we can see it's not quite as easy to read, so let's go back in and change it.
05:23Once again, we go there, and Top right.
05:28So that's how you can change individual graphics, but you can actually make
05:32other changes as well to the entire rotating banner, by scrolling down and
05:36clicking on this Banner Settings link.
05:39That exposes a lot more options.
05:42I use graphics that were pretty well prepared for this use, although there has
05:45been a bit of cropping.
05:47If your graphics vary in size, Drupal Gardens can make them look kind of odd.
05:51So you're best off making them all consistent in an image-processing
05:54program such as Photoshop.
05:55If you don't know how to do that already, of course, check out any of
05:58lynda.com's many Photoshop courses, such as "Photoshop Essential Training."
06:03But if you're not able to do that for whatever reason, you do have these two
06:05options here, which will either shrink the banner to fit the page or will make
06:10the banner the same size and change the area that the banner is shown in.
06:15You can also change what kind of transition is happening.
06:18Let's try a Fade instead, for example. And you can change the length of time
06:22between transitions.
06:23I am going to make this much faster I think it's a little bit too sleepy.
06:28Finally, you can change what kind of control moves between the slides.
06:32I will change that the Numbers. Or if you prefer, make it no control, which
06:35will force people to wait the two seconds. Scroll down to the bottom just to
06:39see those changes, close out our overlay, give it a moment to redraw, and there we are.
06:46You see the numbers here, and you see that it's switching much more quickly.
06:51Now that you have seen how to do this, I am actually going to hide this
06:54banner block for now.
06:55We are going to be working on a site's design a lot in later videos, and we will
06:59bring this banner back when we ready.
07:00So once again, we can go up to Structure and Blocks--or of course, we could've
07:05clicked on that widget--go down to the Banner area and hide it again by moving
07:09it to None. Then Scroll down and click Save.
07:16It really is a nice effect though, isn't it?
07:18As I mentioned earlier, you can do it in any block region.
07:21So don't feel that you have to stick with the site design.
07:25It's a kind of an effect where a little goes a long way, so do be judicious in its use.
07:29Too much, and your site gets a little confusing.
07:32That's a kind of circus-like feel, with too much going on all at once.
07:35But I think it is right for our site, since the way we are using it shows
07:39off the variety and spectacle of California while enticing people to click
07:43and learn more.
Collapse this transcript
Understanding menus
00:00If you look at our site like a storefront, we're not quite ready to open yet.
00:05We stocked our inventory with text, graphics, videos and maps, but we still
00:09don't have any signage, so people don't know how to find anything.
00:13Adding some menus will make our site a lot more visitor-friendly and better
00:17showcase what we have.
00:19That's what this video is all about.
00:20When you first create your site on Drupal Gardens, there are already two menus on the page.
00:26There is this Main menu right here and the User menu right here.
00:30You can tell that they are menus by clicking on the little widget here.
00:33In addition to Configure block, you also have Edit menu and List links, both of
00:38which are specific to menus.
00:40By contrast, if you go down to any other sort of block--this one is from a feed--
00:44you get different options: Configure block, sometimes you'll get some other
00:48things like Edit view.
00:49So you can edit a specific menu by going up and using that contextual menu link,
00:55or you can edit all of them by going up to Structure and then clicking on Menus.
01:01Here we see all of the menus that come by default in Drupal Gardens.
01:05Again, I mentioned Main menu and User menu, but there are also these two:
01:09Management and Navigation.
01:11Let's click on List links, just to see what's in those.
01:15The Management menu contains Dashboard, Content, Structure, and so on, and that
01:20might sound familiar to you, because it's actually what's in the toolbar up here at the top.
01:24The Management menu controls what shows up in the toolbar, but like every other
01:29menu, it also appears in a block.
01:31We could take a look at these menus by going to the Blocks Administration page.
01:35To do so, you go up to Structure and then Blocks, and we discussed this quite a
01:39bit in the video about working with blocks.
01:42Now as we scroll down, we see the User menu is already in that Preheader second area.
01:46That's right. That's the one up here on the right.
01:49The Main menu is in the Navigation area and then down at the bottom, we have all
01:54of our disabled blocks, which include Management and Navigation.
01:59So if you wanted to, you could move all of these options into any block area on
02:03your page: the left column, the right column, the bottom of the page, and so on.
02:08But I do want to warn you: don't just move a block somewhere and walk away
02:12without checking it out.
02:13Make sure that it works in the target region, because some blocks simply don't
02:17look right when you move them around.
02:19For example, you might end up with white text on a white background, which
02:22doesn't do anyone any good.
02:24But let's move on and actually start building our own menu.
02:27To do so, once again, you go up to Structure and Menus, and then up at the
02:33top, click Add menu.
02:35I am going to call this one "Explore California," and I don't think I need a description.
02:42Once again, that description only shows up on administrative pages. Then click Save.
02:48Now we've created the menu, but there are no links in it yet.
02:51It also doesn't show up anywhere on the page, because it appears in a block,
02:54which hasn't been placed in a block region.
02:56Let's start adding some links by clicking Add link.
02:58I think the first one I'm going to create is actually an offsite link.
03:04I'll call it "State parks," and the path will be http://www.parks.ca.gov.
03:14I happen to know that that's the State parks' site.
03:17And for description, we'll say, "Information about state parks."
03:22Now that shows up when you hover your cursor over the link.
03:25We'll ignore the rest of the settings for now and just click Save. Great!
03:30So we have one link so far.
03:32Just to show how that works, I am going to move that block into a block region,
03:35so we can keep an eye on the menu as we build it.
03:38To do so, go up to Structure and then Blocks, and then scroll all the way down
03:44to the Disabled blocks, because when you create a menu, the block that it
03:48creates remains disabled until you put it somewhere.
03:51And there is our Explore California block, which I'll just put in sidebar A.
03:57Scroll down to the bottom, Save Blocks, and just to prove it's there, I'll
04:01close out that overlay.
04:03Once the screen redraws, we go down, and there it is, down at the bottom. And
04:08when we click on the link, of course we would then go to the external page.
04:12But let's go back and continue building our menu by clicking Structure and Menus.
04:18I'll just add a few more links by clicking Add link here next to the menu.
04:23Let's say, Related news.
04:27The Path is going to be aggregator.
04:30We covered what the aggregator page is in the video earlier about subscribing
04:34your site to RSS feeds.
04:36Again, I don't really need a description, and I'll leave things as they are, and save.
04:40I am just going to create two more. Click Add link.
04:45It will be About us.
04:49The path is about-us, and save. And then one more, which is Our Mission, with
04:59the path, content/who-we-are.
05:03Let's just have a description there.
05:05What makes us different?
05:08Now the reason that I did this is I want to show a little bit about the hierarchy.
05:12So we have these four links, and you might notice that Our Mission sort of fits
05:15underneath About Us.
05:16So I will actually pull it over, so it's subordinate to About us.
05:20You'll notice that as you drag these around, you can make them subordinate to
05:24each other, and in fact, you could have multiple levels like this.
05:27It takes a little bit of practice to figure out exactly how to make them fit
05:30underneath each other properly, but eventually you get it. And I will leave it
05:35just like that, so we have our three levels with one sublevel.
05:38Scroll down and save configuration.
05:42Now, when we go back to our front page, wait for it to redraw--now when we
05:46scroll down, we can see our menu, and it shows that there's something underneath About us.
05:51In order to show what's underneath About Us, we're going to have to go back
05:54and edit that menu.
05:55I'll do that simply by clicking on this little widget here and Edit menu and List links.
06:03Now this About us menu is what has to change, because we need to expand it to
06:07show that Our Mission.
06:08Click Edit, scroll down, and Show as expanded, then save.
06:14Now let's take another look at that page.
06:17Wait for it to redraw and scroll down.
06:20Now we see all of the links in there.
06:22There's something interesting about the way that this works as well.
06:26If you were to put this up into the Navigation region--that is, up where the Main
06:30menu is now, and you had this multilevel sort of menu with the top one expanded,
06:35it would show up as a dropdown menu. And in fact, you could have dropdown menus
06:39as much as nine levels.
06:41The one thing you have to make sure you do is to expand each level to show
06:44the ones underneath it.
06:46The last thing that I'm going to do is I am going to hide that menu just to
06:49keep our site clean. Scroll down, go to that widget, and this time instead of
06:55editing the menu, I configure the block and then move it so that it's in no
06:59region and save.
07:02Now I have to admit that sometimes I'll build a big site with features I am very
07:06proud of and then forget to make them easy to access with menus.
07:10But it's really important that you give people easy and obvious ways to reach
07:13the parts of your site you most want them to see.
07:16Then if you want to be really thorough about its usability, invite friends to
07:20browse the site while you watch over their shoulders, and adjust menu links
07:24according to their behavior.
Collapse this transcript
Setting up contact forms
00:00Now we have our site set up to tell the world... well, whatever it is you want to tell it.
00:05But we haven't talked about giving the world a way to talk back.
00:09This video looks at how you can do that through contact forms.
00:12Our site actually has one already, as you can see when you click the Contact link.
00:17When someone fills out this form, your site sends a message to whatever address
00:21you entered when you first created this site, as you saw on the video "Getting
00:24Started with Drupal Gardens."
00:26That's the e-mail address of the site owner, which in this case is me.
00:31But right now that form isn't as flexible as it could be.
00:34Here's how to make it a little bit better.
00:37To do so, go up to Structure and down to Contact form.
00:42There is one category already set up, Website feedback.
00:45That's the one that we saw already.
00:47You can go over and edit it by clicking on the Edit link here.
00:51Here at the top, you enter the category.
00:52I'll talk about that a little bit more in a minute.
00:55The second area is where you enter recipients--that is, whoever it is you want
00:59to receive the e-mails that are sent through the contact form.
01:02You can actually enter multiple e-mail addresses here by simply putting a comma
01:07after each one and then typing in the rest of the e-mail addresses that you
01:11want to receive it.
01:12The third area here is an auto-reply.
01:15That's something that gets sent back to the person who enters information into
01:19the contact form--that is, the sender-- and something that you might want to
01:22enter there is "Thank you for your message!
01:27We'll respond soon."
01:30That just gives them a little bit of feedback, so they know that their
01:33message didn't go into a complete black hole, and then we'll just go down and click Save.
01:39But there's more to the contact form than that.
01:41You can add other categories, so instead of just having a simple website
01:45feedback, you might have something-- since this is a California site, we could
01:49say, "Ask a question about California," and then again the recipients could be
01:55anyone you like. I'll just say admin@ example.com, and again you could put an
02:00auto-reply here if you wanted.
02:02"Thanks for your message!
02:04We'll respond soon." And save it.
02:08Now we'll come back to what the Selected means and the Weight in just a second.
02:12It's actually easier to see when we go back to our list of different categories.
02:17So now we have two different categories.
02:20I am going to take another look at the contact form and then come back here
02:23and start monkeying with them, but I think it'll be clearer when you look at the form itself.
02:27We'll let the page reload, and there is a new pop-up menu here:
02:32Website feedback or Ask a question about California.
02:35And as you might guess, when I fill out this form and select which one of
02:38these categories, it determines which recipients would receive that e-mail
02:43sent through this form.
02:45Before going on, I want to point out one small difference between this form as
02:50it's seen by an authenticated user--that is, someone who is a member of your site--
02:54and somebody who is just visiting and hasn't become a member.
02:57It's this little Send yourself a copy box.
02:59I am going to switch over to Google Chrome where I'm visiting the site as an
03:03anonymous visitor--that is, someone who's not logged in.
03:06I will click the Contact button up here.
03:08I see the same pop-up menu here.
03:11I see a place for name and e-mail address, although it's not filled out, since of
03:15course the site doesn't know who this anonymous visitor is. And there is no
03:19check box down here to send yourself a copy of the message.
03:24The reasons for this should be obvious.
03:26You don't want people using your contact form as an anonymous e-mail server.
03:30If you did, somebody could be malicious by entering an enemy's e-mail address up
03:35here and then putting in threatening messages or whatever and then send message.
03:39They won't be able to do that because the only place an anonymous visitor can
03:42send e-mail to is you.
03:45But let's get back to those different categories.
03:48Once again, we go up to Structure and Contact form.
03:51Now you'll notice Ask a question about California is at the top, and it's not selected.
03:58I am going to change this.
04:01So instead--it's a little bit further down--
04:04I'll make it have a heavier weight.
04:06These weights make it sort of sink like a stone to the bottom of the ocean, and
04:09I'll make it selected as yes and then click Save.
04:14What that did is it made at the second option, but it's the one that's selected.
04:19If we go back to our contact form, it's still selected, but it sank to
04:23the bottom of the form.
04:25You can only have one selected for obvious reasons.
04:28When you change one of them to yes, the other ones all change to no.
04:32So now we have a contact form that will direct e-mails wherever we want.
04:36Take a look at the URL up here.
04:38It's simply our domain/contact, and sometimes it'll have the little Pound sign
04:43here depending on where we came from, but generally, it's just contact.
04:47We can actually direct people to this contact page from anywhere else on the
04:50site we want by writing that as a URL.
04:53You might remember we did that in an earlier video about working with blocks.
04:57And in fact, here's the block we created with a link to this contact form.
05:02If these contact links aren't enough for you, there is one way to add one that's
05:07even more prominent.
05:08It requires turning on a module called Gardens feedback.
05:12I'll do it very quickly here, but if you want to learn more about how to
05:15enable and disable such features, see the video about adding and removing functionality.
05:20Very quickly though, just go up to Modules.
05:23I'll scroll down to the Gardens feedback module, which is fairly far down here,
05:28turn it on and then Save configuration.
05:33Now when I close that overlay, the screen will redraw, and we'll see this
05:37Feedback link over here.
05:39Clicking that also takes you to the contact page.
05:42Finally, there is one last thing I'd like to show you how to do, which is only
05:46allow registered users to access your contact form.
05:49By default, Drupal Gardens lets anybody who casually comes across your site
05:53send you e-mail.
05:55That's great from a customer engagement point of view, but you might want to
05:58make it more restrictive to prevent spam, because there are spam robots that seek
06:02out Drupal Contact forms and simply send garbage through them.
06:06You can fix that by taking away anonymous members' permissions to send you mail
06:10through the contact form.
06:11I'll show you how to do that very quickly, but a much better understanding of
06:14users, roles, and permissions is in the video about managing users and the one
06:19about adjusting user permissions.
06:21To get there, we go up to People and Permissions and scroll down to Contact and
06:28turn off the site-wide contact form for anonymous users,
06:32scroll to the bottom and click Save permissions.
06:38Contact forms are an effective way to get valuable feedback, but they're not the only way.
06:44If you want to make things even more interactive, consider also letting your
06:47users talk to each other directly.
06:49You'll learn how to do that in the video about starting discussion forums.
06:53Forums are much more heavyweight solution because you have to keep an eye on them
06:57to make sure they're not being abused.
06:59Contact forms, by comparison, are pretty simple, and they're trouble-free, and best
07:04of all they are real sense to set up.
Collapse this transcript
Adding and removing functionality
00:00You might remember back in the Getting Started with Drupal Gardens video that we
00:04could choose from among several site templates which varied in which functions
00:08they included, but the thing is you only see those template choices when you
00:12first set up a site. So I'll show you how to turn those functions on and off
00:17after your site is up and running.
00:19First, let's start by taking another look at those templates.
00:22I am going to create a new site by going up to My sites and then Create a new site.
00:27We won't actually make this site. I just want to show you sort of what it does.
00:30And I'll call this explorercalifornia6, yup.
00:35We could we can do that.
00:36Click on Continue, and that brings us to the Template page, which again you
00:40remember from earlier.
00:42Now on this page you can turn on individual pages and blocks and see
00:46exactly what they do by hovering your cursor over them, or you could turn
00:50on and off features.
00:51Now we've talked about what pages and blocks are.
00:54You already know how to create those. Features are what are called modules in
00:58Drupal, and in order to turn those on and off after you've installed your site,
01:03you have to go to the Modules page.
01:05I just get out of this and go back to my sites, by clicking My sites and
01:10explorecalifornia.drupalgardens and then go up to the Modules button up here.
01:16As you can see when you scroll through this page, there are a lot of modules to
01:20choose from, way more than we could go into individually in this course.
01:24Some of them are part of core Drupal-- that is, the basic version of Drupal you get
01:29downloaded from drupal.org.
01:31Somewhere written by individuals for the community's benefit, and these
01:34are called contributed modules, and some were created by Acquia
01:38specifically for Drupal Gardens.
01:41Some modules, by the way, are hidden from view. You don't see them on the screen.
01:45You learn how to do that in the video about exporting your sites.
01:49You can learn more about those core modules for my course Drupal
01:52Essential Training.
01:53All those core modules are listed up here in the top in this group CORE.
01:57We can hide that group by just clicking on this link.
01:59I mention that some of these modules are contributed, meaning that they were
02:03written by individuals and then contributed to the community for their use.
02:07The directory for those is at drupal.org/project/modules.
02:14For example, let's go back to our site.
02:16As we scroll down, I see something called AddThis.
02:20Now I happen to know that that's a contributed module, so we could search for
02:24that on drupal.org, AddThis, and there it is, AddThis button.
02:30Now unlike core Drupal, you can't actually install modules that you find
02:34this way, but you can go there if you want to get more documentation about
02:39the feature, and you don't find enough information on Drupal Gardens' own help resources.
02:43Be sure to watch the video in this course about getting help to understand more
02:46about what these resources are.
02:49Also, when we go back to the Modules page, sometimes we'll see a little Help
02:53link next to a contributed module. Clicking that will give you a little bit more information.
02:58Anyway, let's go back and talk a little bit more about turning features on and off.
03:03The mechanism is really pretty simple. To turn something off, you would simply
03:08uncheck its check box here, scroll down to the bottom, and click Save
03:12Configuration. But there's something really big to watch out for.
03:16When you turn off a feature and your site already has content that depends on
03:20that feature, turning it off might take some of that content with it, or at least
03:25it will take off temporarily.
03:26One example is in that rotate banner module, which we discussed earlier in the
03:31course. But then if we were to turn off this rotating banner module, that banner
03:35would actually just disappear from the site.
03:38Now it's still in the site's database, so when we turn on that module again, it'll
03:42probably show up again. But be careful about that because it might not show up,
03:47or it might show up with some problems after you turn off the module.
03:50The last thing I want to mention is the Uninstall tab.
03:53It's a holdover from regular Drupal, where you can add your own modules.
03:58Since you can't do that in Drupal Gardens, I recommend that you leave it alone.
04:02You generally can't do anything with it, and if you can do something--such as here
04:06to remove this feature-- it's usually not a good idea.
04:09So it's obvious why you would want to add features after installation, but why
04:13would you want to turn them off?
04:15Usually it's to clear up clutter on the site and to make it more streamlined, but
04:19before checking that box to disable the module entirely, I recommend you take a
04:24good look at the Modules configuration options.
04:26There are couples of places you can find those. One of them is on the Module
04:29page itself, where if you look next to the module you'll sometimes see these
04:33Configure Links here.
04:35Clicking those will take you to controls that will let you turn things on and off.
04:39Another place you might find them is under the Configuration screen up here.
04:42For example, let's take a look at the AddThis module, which I mentioned earlier.
04:47Instead of disabling the entire module, I want to just take off the display on
04:52node pages and then save configuration.
04:54That's one way to turn off part of a future without entirely disabling the module.
04:58That's generally a better solution, and it's less likely to have consequences
05:02that you're not expecting.
Collapse this transcript
4. Site Membership
Managing users
00:00Opening your site for membership expands its possibilities for interacting with the public.
00:05Through membership people can establish identities that let them carry on
00:09processes from one session to the next. So, for example, they can set site
00:14preferences and have ongoing discussions.
00:17First, I'll show you how you can control who signs up to your site, then I'll
00:21show you what the member sign up procedure looks like from the user's point
00:24of view, and finally I'll show you how you as the site owner can invite people to join.
00:30The first thing to do is to take a look at how people are allowed to sign up for your site.
00:35Those settings are under Configuration and Account settings.
00:39There are several settings here, but the one that's most important is here, Who
00:43can register accounts?
00:45By default, anybody who comes to your site is allowed to register an account.
00:49Now, that doesn't necessarily mean that they can do things on your site.
00:52You define that with permissions, as you'll learn in a later video about
00:55permissions. But if you wanted to restrict who can become a member, you could
00:59choose only those invited by you, or you could say that visitors can apply but
01:04that you have to approve their application.
01:06I am just going to leave it on Visitors for now.
01:09So let's take a look at how somebody actually might sign up for your site.
01:13To do that, I am going to switch to the Google Chrome browser, where I am looking
01:16at the site as a visitor, somebody who is not already a member.
01:20By default, there is this link in the left-hand column, Login or Register.
01:25Clicking it brings up this little window.
01:28If the person is already a member of Drupal Gardens, they could simply enter
01:32their username and password here, and then your site would be added to their
01:36list of sites that they're allowed to access as a member.
01:39If not they have to sign up as a Drupal Gardens member by going through the
01:43usual sign-up process.
01:45I am going to call myself califanjoe, and I have already set up an
01:50e-mail address for that.
01:51I would then read through the terms of service of course and then click
01:57Create new account.
02:01In order to be sure that I have a true e-mail address, instructions to complete
02:05that application are sent to the e-mail address I put in. So I'm going to
02:09switch over to that e-mail account, and there is the message I received, and I
02:13simply click on the link--or in this case I'm going to copy it--go back and
02:18paste it into my browser.
02:22I'm then allowed to log in as my new user, califanjoe.
02:26I then set my password and save.
02:37I've now done two things. califanjoe is both a member of Drupal Gardens and a
02:43member of this explorecalifornia site.
02:46To find out about that, I can go up as califanjoe and click My Account, and here,
02:51I see my membership on explorecalifornia.
02:55Now let's go back to the Administrator view and see what that looks like when we
02:59look down the list of people.
03:01I'll switch back over to my administrator page. Then I click People up here.
03:07I now see my new user, califanjoe. It shows how long that person has been a member,
03:13and I can go in and actually edit their user profile if I like.
03:16If I don't want them to be a member, I could simply change this to Blocked
03:21and then say Save, and that will stop them from being able to access my site as a member.
03:26But let's say that you as the administrator would like to invite people to your
03:30site--that is, you don't want to rely on them going to the site and clicking the
03:33link and going through all of the steps.
03:35You can do that by clicking on People and then clicking this link at the top, Invite people.
03:41I happen to know another person who I want to invite, califandan, and I know
03:45their e-mail address.
03:50You can then click Send invitations, and they'll get a message very similar to the
03:53one that you saw when you signed up for the account on your own volition.
03:57You can actually change the message though by clicking this View/edit
04:00invitation message.
04:02Inside this message or a few what are called "tokens," which are filled in with the
04:07name of the site, and you see a list of those tokens down here if you wanted to
04:11change what the message said or perhaps remove the name of the site or remove
04:15the URL, things like that.
04:17But we'll just leave it as is, and we'll say Send invitations. So califandan will
04:22receive that e-mail, and it will look very similar to the one that califanjoe got when
04:27he joined the site on his own volition.
04:30Now once you have users on your site, you can give them more access to what
04:34they're allowed to do by clicking on Permissions and giving them an additional
04:38role. You could make them a blogger or editor or even an administrator.
04:43We will talk more about this in the video about adjusting user permissions.
04:47Let's go back to our list of people very quickly and take a look at some of the
04:51things we can change on califanjoe's account by clicking Edit next to his name.
04:55As I mentioned before, you can block it or keep it as active. You can add roles here.
05:01You can change whether or not they received e-mail in response to comments of
05:05that post on the site, and you can give them a personal contact form.
05:09This is something very interesting I just want to show. If we go back up and
05:12take a look at califanjoe's user account, you'll notice that there's a tab here called Contact.
05:19If we want to send an e-mail to that person, we click there, and it's very much
05:22like the site-wide contact form that you saw in an earlier video.
05:27The My follow links tab is very much like we described in the video about taking
05:31advantage of social media.
05:33This way califanjoe is able to enter the Facebook account, MySpace account, all
05:39of these other accounts, so that when he post things to the site, people can then
05:43look up more about him on those social networks.
05:46The Shortcut tab we described in the video about shortcuts earlier on in this course.
05:51In short, the controls you have over users on a Drupal Gardens site are really
05:55quite extensive, well beyond what is possible in most other web site-building tools.
06:00You'll get even more control by changing settings that affect what users are
06:04allowed to do on your site, and you'll learn more about that in the video about
06:07adjusting user permissions.
06:10Finally, I would like to urge you to go back, log out, and look at the site
06:14from that point of view from time to time, but especially whenever you make a
06:18change in membership policy. This is something that a lot of administrators
06:22forget to check, but it really makes a difference in user experience and can
06:26help keep your site safe.
Collapse this transcript
Adjusting user permissions
00:00Once you've decided to allow memberships on your site, you may want to control
00:04how much those members can do when they're logged in.
00:07By default, they can't really do that much:
00:09just read content and comment on it.
00:12But you can give them more power by assigning them to a role and then adjusting
00:16those roles on a task-by-task basis.
00:19The first step in doing that is going up to the People page, by clicking on
00:23People, and then going to look at the permissions.
00:26These permissions are broken up so that each row is a specific task on your
00:30site, and each column is a different role.
00:33You can see those roles by clicking this little button in the upper right-hand
00:36corner, and it's the same group as you saw on the previous page:
00:39anonymous user, authenticated user, and so forth.
00:43Now there are a few roles here that are always going to be there and you can't change.
00:48The first one is anonymous user.
00:50That's somebody who visits your site and hasn't signed in.
00:54The second is authenticated user.
00:56That's somebody who has created an account on Drupal Gardens and is now a
00:59member of your site.
01:01You can learn how people become members by watching the earlier video about user management.
01:06The last kind of role here, site owner, is something that you can't turn on or off.
01:11It's the user that was created when you first made your site.
01:15It's what's called a super-user, and if you're used to using core Drupal, it's
01:19the one that doesn't actually show up.
01:21This would normally be hidden, but in Drupal Gardens it's shown.
01:25Administrator, blogger, and editor are three roles that you can change, and you
01:29can add your own roles as well.
01:31One thing to note about the authenticated user is it's anybody who has an
01:35account on your site, so that means a blogger is also an authenticated user, as is an editor.
01:41Drupal takes this into account because when you click on that check box for the
01:45authenticated user, it turns on all of the ones above it.
01:49And then when you uncheck it, it remembers which ones were clicked before,
01:52which is very handy.
01:54I am going to demonstrate how to turn on and off a permission.
01:57Now it should be fairly clear.
01:59You simply check the task and the role that you want and then click down at the
02:03bottom to save the configuration.
02:04But just to show you how it works, I am going to go down to the Node group down
02:10here and the Access the content overview page.
02:15I am going to let any authenticated users see that by checking there, scrolling
02:19to the bottom, and save permissions.
02:24Now, I have another browser window open with my user califanjoe, who is
02:28an authenticated user.
02:29I am going to take a look at that content page, which I happen to know is at
02:33admin/content, and now I can see everything on the site.
02:37Now you'll notice I can't do any operations.
02:40I can't edit or delete those nodes, but I can at least see them, and I can
02:43filter on them, and so forth.
02:45If I go back here and take that away again, go down to Node and take away Access
02:50the content overview page, scroll down again, and save the configuration, now if
02:57I reload the page as califanjoe, I get nothing.
03:01I'm told that access is denied.
03:02That's the way that we want it.
03:04So that's how you can change individual permissions for members of a given role.
03:09But what if you want to move a member from one role to another?
03:12For example, let's say that you've been watching califanjoe for a while, and
03:16you've gotten to trust him, and you want to give him permission to start a blog.
03:19That's pretty easy.
03:20I'll just go back to my Administrative page, click on People, go down to
03:25califanjoe, check his box, and then I can add a role.
03:30I can say okay, now he's a blogger. Then click Update.
03:33I can also do it, as you've seen in an earlier video, by clicking on Edit next
03:37to that user and adding the role on that user's profile page.
03:40But let's go back to our list of people.
03:43I want to point out a user down here that I didn't add.
03:46Now explorecalifornia is me, the administrator of this site.
03:50This Gardens admin is something that Drupal Gardens added, and that you can't delete.
03:55You'll see there is no edit or delete here.
03:57This is for people at Acquia if they need to go in and fix anything on your
04:00site, but don't worry.
04:02I've never had any experience where they make any sort of changes unless there
04:05was something really wrong with the site, and I asked them to do so.
04:08But in any case you can't change it, so there's no need to pay any attention to it.
04:13Now, let's move on.
04:14Let's say that you want to put together a group of permissions that doesn't
04:17match any of the roles that already exists.
04:20And to take a look at those roles, I'll click on Permissions and then Roles. Nope, that's okay.
04:28You can just add a role.
04:29You might remember that we added a content type earlier called Tour.
04:33Let's say that we want to allow certain users permission to create those tours,
04:37but we don't want them to have any other special roles.
04:39That is easy enough.
04:40I'm going to call this person a tourmaker, add the role, then go back to
04:47Permissions, and I now see tourmaker up here.
04:51I could go through, that person already has all of the authenticated user roles,
04:55I would go down to, let's see, it's under Node, and allow that person to create
05:03or edit tour content. There we go.
05:05I'm actually not going to do that.
05:07Again, just to keep the site clean, I'll go back up and delete the role. Simple enough:
05:13down here, edit the role, and then delete it, and of course confirm.
05:19By the way, this is a great technique for building content on your site--that
05:22is, let your users do the work.
05:26It's called crowdsourcing, and it's essentially the wealth on which such sites
05:30as Yelp and Facebook rest. Watch out, though.
05:34If you give the permission too liberally, and you don't monitor your users, then
05:38you'll find that trolls and spammers and other vandals will start to abuse it.
05:42I finally want to mention a few things to watch out for when you start playing
05:45with roles and permissions.
05:47Most important is that you revisit them whenever you turn on a new feature
05:51of your site, as you learned how to do in the video about adding and
05:54removing functionality.
05:56Second, be extremely wary of granting any permissions that have a label next to
06:01them that says give to trusted roles only.
06:03If we take a look through that look through that permissions list, you'll see
06:05that that's quite a few of these tasks.
06:08As we scroll down, see in the italics, it says it may have security
06:12implications, any other warning like that, be very careful about giving those
06:16away because they may allow somebody to actually take over your site.
06:20Third, resist the urge to go wild and create a lot of roles.
06:25Only create them when you need to.
06:27Otherwise, you might find that you have too many check boxes here, and it
06:30becomes more and more confusing to control who can do what.
Collapse this transcript
Managing comments
00:00Drupal Gardens sites are pretty secure by default, but even if you don't give
00:05visitors additional access, as you learned how to do in the video on adjusting
00:09user permissions, there is one big way that they can cause problems: by leaving
00:14abusive or spam-filled comments.
00:16This video shows you how to manage them.
00:18Now we're going to look specifically at actions that are permitted for anonymous
00:23users since they're the ones who never sign in and therefore can't be tracked,
00:27but we'll also look at some things that authenticated users can do, since Drupal
00:31Gardens sites by default allow anyone to sign up.
00:34There are actually programs out there that will go around and automatically
00:38sign up for web sites and then post spam.
00:41In other words, they become authenticated users first and never face restrictions
00:45you place on anonymous users.
00:47For ways to stop that sort of abuse, you could require administrative approval
00:51of all new memberships, as you learned in the video for managing users.
00:55But let's go through and look at some of these permissions, which is a more
00:57lightweight way to avoid such abuse.
01:01To do so, click on People and Permissions.
01:06Now I am just going to scroll through and look at the things that anonymous
01:08users and authenticated users can do.
01:11The first one is this AddThis widget.
01:14We'll discuss this future in the video about taking advantage of social media,
01:18but in brief you don't really have to worry about people abusing your site with it;
01:22it only allows them to look at things.
01:24The other kinds of things that anonymous and authenticated users can do are
01:28broken into two categories.
01:31The first one is permission to view content, and you really don't have to worry about that.
01:36The second one is permission to create and edit content. That's where
01:40the problems come in.
01:42So let's scroll through and see what those permissions are.
01:45In Aggregator, they can view news feeds. No problem there. View comments, ah!
01:50And then we come to Post comments.
01:52There are actually two kinds of category here: Post comments and Skip comment approval.
01:58We'll take a look at both of these later in the video and explain how you can
02:02moderate these comments as they come in.
02:05As we scroll down further, Subscribe to comment notifications, again, something
02:10that's not really a problem.
02:11It has to do with people receiving information instead of putting it into your site.
02:15Use the site-wide contact form, we already removed the anonymous user permission
02:19from that in an earlier video.
02:23Use the Filtered HTML text format,
02:25that's actually not a problem.
02:27We can skip over that.
02:29View media, not a problem. And as we go down, the rest are all about viewing content.
02:35Using search, again about viewing content. Not really very much there except for
02:40the commenting problem, so let's talk a little bit about that.
02:43You might remember that authenticated users can post comments and skip
02:47the approval process.
02:49Anonymous users, on the other hand, have to get approval for every comment that they post.
02:53I'll show you what both of those look like, and how you actually give that approval.
02:57First, I am going to create a test news post, something that will allow people
03:01to add their comments.
03:02So I click Add content and then go to News item, and just to how about "What do
03:08you think about California?"
03:12In the body, "Tell us your opinions."
03:17Go down, make sure that comments are allowed. Yup, they're opened, and save.
03:22And there is our node with the Add new comment link there and the comment form beneath it.
03:27I'm just going to copy this URL and then go over to the Google Chrome browser
03:32where I am already logged in as an authenticated user, califanjoe.
03:36I'll go to that URL, and I'll post my comment.
03:43"I think it's great!
03:47I love to visit when I can!"
03:50And go down and save it.
03:55And as you can see, there is the comment.
03:57It appears the immediately because an authenticated user doesn't have to go
04:00through the approval process.
04:02Now I'm going to sign out, and I'm going to add a comment as an anonymous user.
04:10I'll click on the link to go to the comments, and now I'm going to post a
04:14new comment myself.
04:16I'm going to say Hateful Joe, and that's at admin@example.com.
04:22We could enter a Homepage if the person wants a subject.
04:26"Why would you even ask such a question?
04:32That's dumb!!!111!!!" There.
04:36That's the kind of silly comment you might see, and then I'll save that.
04:41Now because I am an anonymous user, I get this message that the comment has
04:45been queued for review.
04:46Let's go back to our administrator site and see exactly how that works.
04:50We go up to Content and then click the Comments tab.
04:56The first thing you see is all of the comments that have actually been published.
04:59Here is the one from califanjoe. It's published.
05:02Everything is fine.
05:03Then we see these unapproved comments right up here, and that's where you see
05:07the one from the anonymous user.
05:09You could then go in and take a look at it, or you could go in and edit it.
05:14While editing it, you could decide, oh I don't really want that, by clicking the
05:18administration tab here and just leave it on Not published.
05:22You can also change who it's authored by.
05:24You can change everything about it, quite honestly.
05:26But let's go back and take a look at this Unapproved comments list.
05:30The easiest way to get rid of all of them is to simply check the boxes of the
05:34ones you want to get rid of, choose from the pop-up menu, Delete the selected
05:38comments, and update.
05:41Now you have a choice at this point to report these as low quality or obscene,
05:47and this all goes into a system called Mollom, which we'll discuss in a later
05:50video, but for us, I am just going to say, no, that's fine.
05:54You don't have to report this, just delete it, and it's done.
05:58The tough part about this system is you have to watch that unapproved comments
06:01list like a hawk, so come back here every once in while, click on, again,
06:06Content > Comments and Unapproved comments, and just look through and make sure
06:11that you haven't caught anything that should be released or should be deleted.
06:15You can leave them there if they should be deleted because of course they won't
06:17appear on your site.
06:18Nobody will see them except for you.
06:21Now if that sounds like a lot of work, guess what? It is.
06:26You can offload some of it by giving the Administer comments and Comment
06:29settings permission to somebody else, perhaps by assigning it to a newly created
06:34community manager role or something like that. And if you want to learn how to
06:38do that, take a look at the video about adjusting user permissions.
06:42But I'm afraid that's just the way it is.
06:44Computers are easy. People are hard.
06:47The most complete way to solve it is simply not to allow comments in your site,
06:52and you would do that by editing the content type and taking away the comment
06:56permission, as you learned in an earlier video about content types.
06:59Another partial solution is found in the Mollom module, which you'll learn about
07:03in the video, "Slowing spam."
Collapse this transcript
Slowing spam
00:00You already learned how to handle user comments in the video about managing comments.
00:05You have also learned what a pain in the neck it is.
00:07Many of the problematic comments aren't actually from people at all, but instead
00:12are computer-generated spam, and sometimes it's hard to tell the difference.
00:16I showed you how to moderate spam, but there's also one other level of spam
00:20prevention, called Mollom.
00:23This video shows you how Mollom works, and how you can change some of its settings.
00:28Before we go on to Mollom, I do want to suggest that you go back and watch that
00:32video about managing comments, if you didn't watch it already, because that really
00:35represents your first line of defense against abuse on your site.
00:39Mollom is a unified system for testing anything that a user tries to put in your site.
00:45It does that in two ways: First, it looks at the text itself and tries to see if
00:50it thinks its spam based on what other people have reported as spam.
00:54The second way it does it is using something called CAPTCHA, an acronym that
01:01stands for, ready for this, Completely Automated Public Turing Test to Tell
01:05Computers and Humans Apart.
01:08The CAPTCHA is something that's easy for people to do but hard for computers
01:11to do automatically.
01:12Now I'll show you how that works.
01:14To change Mollom settings, go up to Configuration and scroll down to CONTENT
01:19AUTHORING and click Mollom.
01:22Here you see different places where people can enter information into your site.
01:26By default, Mollom is set up so that you don't even know it's there.
01:30It looks at the text and if it thinks its spam, it simply throws it away.
01:34I'll show you how to change that behavior.
01:36I will do that by changing the comments that go into a news item.
01:41Go over to Configure, click it, and that brings up a new screen of controls.
01:47While set to analyze the text, Mollom will look at two different possible
01:51problems: either spam or profanity in these comments.
01:55It also gives you an option as to whether to look at just a subject or just the
01:59comment itself--the body of the comment that, is.
02:02And then finally whether it should hold onto that comment or simply throw
02:06it away right away.
02:07It should be obvious how this works, so I'll move on to more complex one, which is CAPTCHA.
02:12I change the radio button there, and that removes all the other options. Click Save.
02:19And of course in the list it shows exactly what's going to happen.
02:22When somebody tries to comment on a news item, it will show a CAPTCHA.
02:25Now I'm going to switch over to another browser where I'm visiting the site
02:29as an anonymous user.
02:31And I'll go to a news item, this one here which I added in the last video,
02:36and I'll try to add my own comments, let's just say "California stinks, Blah, blah, blah."
02:46There we go.
02:48Now I think I am going to post that, right.
02:50But then I'm challenged by this CAPTCHA right here, and I have to type in what it says.
02:54Now for somebody who is actually typing in information, that's not really a problem.
02:58You can see it's fairly readable, zzuBd in this case.
03:03But if it's a computer doing it, it looks at this and can't quite make that out,
03:07and that's basically how automated spam is stopped by Mollom.
03:11I won't even save that.
03:12I will just let it be as it is.
03:14Let's take a look at some of the other settings for Mollom.
03:17To do that, I switch back to my administrative interface.
03:20It's possible to blacklist specific words. Like let's say that you're running a
03:24site for a company, and you don't want your competitor's name to be mentioned.
03:28Well you can just add and say that is something I don't want to have in any
03:32field at all, and you can say whether you wanted to be an exact match or just
03:36that it contains the word--that is, it might be in the middle of a string of text.
03:40And you would add it as should be obvious here.
03:42You can define these blacklists as being spam, profanity or simply unwanted, as
03:48would be in the case of a competitor's brand name.
03:52Finally, there are certain numbers of settings that you can have on
03:54Mollom, generally speaking.
03:57These get somewhat complex, and rather than go into all of them individually, I
04:01would like to recommend that you visit the Mollom site, which is at mollom.com,
04:07and you can read the documentation there if you like.
04:10There are also links from the Configuration page if you like.
04:13Finally, if you have decided you wanted to completely remove all protection from
04:17some sort of form, you can do that by simply clicking the Unprotect button here
04:22and say yes, I do want to confirm that.
04:24And in that case, there will be no challenges, either by text analysis or by CAPTCHA.
04:30If you want to add protection back again, you just click add a form, click this
04:34pop-down menu, find the kind of form that you want to protect, and you might
04:38remember that was Comments on News items.
04:40Say Next, decide what kind you want.
04:42I am going to keep it on CAPTCHA and save.
04:45And it's back in the list.
04:47You know, when people talk about spam, they often talk about stopping spam, but I
04:51decided to call this video "Slowing spam" instead because to put it frankly, we
04:55missed our chance to stop it 20 years ago.
04:58The systems that allow it to continue which are both legal and technical are
05:02well in place, and they are not going away. Unless you're willing to turn off
05:06your comment form and forbid all user input in your site and turn off your
05:09contact form as well,
05:11I am afraid your tools are somewhat limited. But in combination with vigilance,
05:16you can prevent your site from being a big contributor to the problem.
Collapse this transcript
Starting discussion forums
00:00Drupal Gardens' strength isn't just that it lets you build web sites;
00:03I mean dozens of programs do that.
00:06It lets you build social web sites where members can interact with each other.
00:11Along the way, they increase your site's value because interactions are filled
00:15with content that can help future visitors.
00:18We already went over how people interact through comments in the Managing
00:21Comments video, and I didn't really put the pieces together for you, but you
00:25already know how to let people create entire nodes on your site as well.
00:29You would just create a content type and grant the permissions that you would
00:33need to the roles as appropriate.
00:35And you learned how to do that in "Creating and Managing Content Types" and the
00:38video on adjusting user permissions.
00:41The next step is to let them talk directly to each other in forums.
00:45That's what this video is all about.
00:47Now we used the Campaign template when we created this site.
00:51If you used a different template, the Forum module might not have been turned on,
00:55so the way you would do so is going up to the Modules link here and scrolling
01:00down and turning on the Forum Module and then clicking Save configuration at the bottom.
01:05But we don't need to do that since, of course, our forums are already turned on.
01:11Once that module is on, there is a new page at /forum.
01:15That is at the end of your domain name, just F-O-R-U-M.
01:20You can also go there by clicking on this link in the Main menu in our Campaign
01:23template. It takes you to the same place.
01:26If you don't have that link in your Main menu, you can add one using the skills
01:30you gained from watching the video about understanding menus.
01:34Right now, our forum is pretty dull.
01:35There is only one board with a generic label "Discussion."
01:39Let's juice that up a bit.
01:41The way you do that is by going up to Structure and then down to Forums.
01:47Here we see that one discussion board called Discussion.
01:50We can change that name if we want, by clicking the Edit link here and just I'm
01:54going to change it to General discussion.
02:00Scroll down and save.
02:01You can add forums as well.
02:04I'm going to add just a couple of forums.
02:06First one will be--let's say Road Trips, and I'll put in the Description: "Have a good one?
02:15A bad one? Tell us about it."
02:19Scroll to the bottom and save.
02:20And I'll put in just one more.
02:22I'll call it Finds in California.
02:29Favorite restaurants, views, and monuments, and save.
02:37Once you have these forums, you can reorder them, as in many other places on
02:42Drupal Gardens, by grabbing this compass-like icon and just dragging it around
02:47and then clicking Save again at the bottom of the screen.
02:49There is another link up here called container.
02:53I'll explain a little bit more what containers are once we look at the forums
02:57themselves, but for right now, I am just going to add a couple of those.
03:01This one is going to be Around California, and I won't put in a Description, and
03:08I'll add another container called Around this site.
03:13Scroll down and save.
03:15Let's go back and take a look at what our forums look like now.
03:18I'll do that by closing the overlay and letting the screen redraw.
03:24Now you see we have our container here, Around California, and a container here,
03:28Around this site, and then we have our actual boards.
03:31You'll notice that we don't have a listing of how many topics are in containers.
03:35That's the difference between containers and forums.
03:37Containers are really just to separate out and categorize the forums.
03:41You can't post directly to them yourself.
03:44In fact, if I click up here on Around California and say, Add new forum topic.
03:49I am just going to say, "Test subject" and scroll to the bottom and say Save.
03:57See I'm told I can't actually add that topic because it's a container, not a forum.
04:02So I'll just close out of that overlay now.
04:05In order to get back to my forums, I'll just click on Forum.
04:10You can, however, add topics into the forums themselves.
04:14Before I do that, I'm going to rearrange this a little bit, so that forums appear
04:18correctly inside the containers.
04:20Once again, you go up to Structure and Forums, and then you can drag them around.
04:25I think General discussion goes into Around this site and Road Trips and Finds
04:30in California are both in Around California. There we go.
04:36Now when we close out this overlay, it makes a lot more sense.
04:40Let's try posting something in General discussion, and I'll say Add new forum topic.
04:49This is a great site.
04:51I just wanted to say thanks. Scroll down and save it.
04:56Now when we go back to our forum, we see that we have one topic and one post in
05:03there. If we drill down further into General discussion, there it is.
05:07This is a great site.
05:10Now this is a great way for you users to talk to each other, but I want to
05:13point something out.
05:14I am going to switch back to Google Chrome where I'm visiting the site as
05:18an anonymous visitor.
05:19I click on Forum. Let's say I'll look in there.
05:24I think it's a great site, too.
05:25I want to comment on that as well.
05:26So I click there. I can post the comment the same as I would to any other node.
05:32However, if I go back one screen, I'm not able to post a new topic entirely. I
05:38would have to log in first in order to do that.
05:41You can change that behavior, as you learned earlier in the video about
05:44permissions, by going up to People and Permissions, and then scrolling down to the Node group.
05:54You see, a forum topic is really just a node of the forum type. There it is:
05:59forum topic content.
06:01You could say, create new forum topic content and get that to anonymous users if
06:04you wanted, or authenticated users, or so forth.
06:08This is an important thing, by the way, which is that authenticated users don't
06:12naturally have the ability to post new forum topics.
06:15You have to grant it to them.
06:17That's a good security device; however, it does mean you should check out your
06:20site as an authenticated user, not as an administrator, before you launch it, or
06:24you'll find, why is nobody posting anything in the forums?
06:26Well, they are not able to.
06:28Just to recap a few things that might not have been so obvious as we went along.
06:33The structure of forums is such that, at the very top level, you have forums as
06:37a group, and you turn that on with that module that I showed you, the Forums Module.
06:42You can go to the page that shows all of the forums by going to /forum, or if
06:46there's a menu link, just clicking on the menu link that says forums.
06:50The page of forums contains two types of entity:
06:54One is a forum itself which in turn contains topics and each of those topics in
06:59turn contain comments.
07:01It also contains containers which can contain forums. Is that all clear?
07:07There are two things at the top level of forums. They can either be containers or
07:11forums. And one thing that I didn't show you before, to complicate things even
07:15more, is that forums can contain other forums, and I'll show that by going to
07:20Structure and Forums.
07:22And let's say Road Trips, I wanted to add another forum that was by region,
07:29let's say, Northern California road trips, and I'll make its Parent > Road Trips and save.
07:37Then go back to our Forums page, go to the Front Page and Forum, and you see how
07:46that hierarchy works.
07:48The last thing I want to show you is a few of the settings that are available,
07:51which will change what your forums look like.
07:53Once again, we go to Structure and Forums and then go up to this Settings tab.
07:59Toward the bottom here, you have something which will let you change how they're sorted.
08:03The best way to leave it, in my opinion, is to simply have the newest ones at the
08:07top, because that's what people start reading.
08:09And once you start reading a forum, you'll come back often and you just want
08:12to see the new stuff.
08:14The Topics per page lets you decide how quickly the page will load.
08:18If you have a low number, it will load quickly, but on the other hand, people
08:21will have to click more if it's a very busy forum.
08:24The Hot topic threshold changes the icon that people see when they look at
08:28the list of forums.
08:29I'll go back and show you sort of what that looks like.
08:32If the threshold for Hot topics was lower than the number of topics that was in
08:36a forum, you would see a special icon saying, hey!
08:39This one is very busy. Go here first.
08:41So that's what that setting does.
08:43One last thing: if you decide to open your site to forums, you'll really have to
08:48monitor the comments, as we described in the video about managing comments.
08:52You'll also have to monitor nodes of the forum topic content type. For extra
08:58help in that, watch the Slowing spam video to keep forum quality high.
Collapse this transcript
Creating blogs
00:00Blogs are good for your site in two ways.
00:02First, blog-centered sites are very popular, as the success of WordPress attests.
00:08The best way to create one of those sites in Drupal Gardens is to start with a
00:12blog template that you learned about in video about getting started with Drupal Gardens.
00:17Second, blogs give your sites' members a chance to express themselves.
00:21In exchange, they feel more loyalty toward your site, and they give you
00:25valuable free content.
00:27Regardless of what template you start of with, blogs are very easy to create,
00:30and Drupal Gardens adds a nice little tweak to the way Core Drupal
00:33traditionally handles them. Let's take a look.
00:37First of all, you will have to turn on the Blog module
00:39if it's not already on. Chances are it is, but let's take a look and make sure.
00:43Go up to the Modules button here, and there it is, Blog.
00:46It's already turned on.
00:48There is another part that's added by Drupal Gardens that's not in core Drupal,
00:52called Flexible blogs.
00:55As we scroll down, we se it here in the Other category.
00:57I will talk a little bit more about what Flexible blogs gives you in just a minute.
01:02To create a blog post, it's very easy. Just click Add content up here and then Blog entry.
01:07I will just create something simple.
01:11"This is my first blog post." And for the body, "Hoo-hah!"
01:15Now I will scroll down to the bottom and save it, and there it is. It's very simple.
01:24It looks like any other node that you create, with one exception.
01:27It has this little Explore California blog down here And if you click on that,
01:31it will go to all of the blog posts, whether it's by user or by site. And again, I
01:35will get to that in just a minute.
01:36I am very quickly going to create another blog post.
01:39Again, just Add content and Blog entry, and I will call this one
01:45This is my second blog post from califanjoe. Hoo-hah again!
01:54The one change I am going to make down here is in Authoring information, instead
01:58of it being by me, explorecalifornia, I will make it by califanjoe.
02:03As I type in, it brings up the username that's in the site already. Click on it
02:08and then click Save. Great!
02:11So we now have two blog posts: one by Explore California and the other by the user califanjoe.
02:17To see all of them, you can just go to the /blog link up here in the URL, blog,
02:26and that shows all blogs by everybody on this site.
02:29You can also get there by clicking this link in the main menu, Blog.
02:33If I click on any one of these-- this is the one by califanjoe--
02:39we see at the bottom, also, this link, Explore California blog.
02:42This also leads you to all of the blog posts on the site.
02:47Now, I am going to talk about what that flexible Blogs module gives you.
02:50To get to it, go to Configuration and Blog settings, which is under the
02:55Content Authoring category.
02:58This allows you to change the link that appears underneath each of the blog posts.
03:03So, instead of going to site-wide blog, it cloud go to only the author's blog.
03:07I will change it there and save configuration.
03:10Again, this is something that's in Drupal Gardens, but it's not in core Drupal.
03:13So, it's a nice little added thing.
03:15Now, let's go back to our front page and click on Blog again.
03:19You see, instead of just saying read the explorecalifornia's blog, it now says
03:23either califanjoe's blog or explorecalifornia blog.
03:27In my opinion, this is the best setting to have, especially if you have a site
03:31which has many individual contributors, because typically people want to read only
03:36from contributor rather than everybody on the site.
03:39If you have many, many bloggers, it can become quite overwhelming if you have it
03:42linking to everybody on the site.
03:44I have been online since 1986, and I have never really felt that thing that
03:50people were saying all along that the Internet made everybody a publisher.
03:54Only the blogging eco-system, when it started to emerge in 2001 or so, only that
03:59really made me feel that everybody could be a publisher.
04:02Because it's not really the format that makes blogs valuable, but rather how
04:06they connect to each other, and the Blog module in Drupal Gardens helps you do that.
04:10You learn more about ways that people connect to each other with their own
04:13content and the videos about publishing RSS feeds, subscribing to RSS feeds, and
04:19taking advantage of social media.
04:21One last thing I want to mention about blogs: as with all user-created content,
04:26there's the always-present danger of abuse.
04:29So, be sure to monitor what your users are posting.
04:32You learn some tips about that and videos about creating and managing content, about
04:37managing comments, and about slowing spam.
Collapse this transcript
Setting up mailing lists
00:00E-mail proceeded by web about twenty years, and a lot of people, including me,
00:05still prefer to get some kinds of information that way.
00:08Drupal Gardens includes a way to collect e-mail addresses for mailing lists,
00:11but I have to warn you, it's very rudimentary.
00:14It doesn't actually send out the e-mails or even check to make sure that the
00:17addresses are valid.
00:19All it does is collect the addresses, which you can then export into another program.
00:24So, you might ask, why even talk about it? Well,
00:27although it's mediocre, it does have some usefulness, and it might improve with
00:31some time, so you might as well learn what's there now in preparation.
00:35Further, you can actually use the e-mail addresses that you collect this way in
00:38other marketing methods.
00:40You will notice that the collection form is actually included on the front page
00:43of the campaign template that we created.
00:45We scroll down here and see this Join our Mailing List.
00:50This is actually a block, which you learned about in the video about blocks, and
00:54you can place it anywhere on your page that you would like.
00:56I am going to add a name.
00:58I am going to add that person who we added to our site before, califanjoe, and
01:04the e-mail address is califanjoe@gmail.com.
01:09And then I click Subscribe.
01:12All that it does is tell you that it was added to a list.
01:14It doesn't send an e-mail to that address, or anything like that.
01:17But let's take a look at what exactly that means for us as the administrator.
01:21To do so go up to Structure and then Mailing lists.
01:26So there's our mailing list, which is called join our mailing list.
01:30You can create as many as you want by clicking on the Add tab, and then each one
01:33that you add will create its block, which again you can place anywhere you like on your site.
01:38When we click on the list e-mails links here, we see califanjoe@gmail.com. Very good.
01:45We could go back and edit that if we want, although really it's only two fields:
01:48the Name and Email Address--and Subscribe just brings us right back there.
01:53So you might ask, what can we do with this? Well,
01:56we can export it.
01:57To do that, go up to the Export List tab, click, and it offers to save a file or
02:03open it up in a program.
02:04I am just going to save it to our Desktop here and click OK.
02:07I will then go back to our Desktop by hiding everything else, and there's our file.
02:13If we double-click at it, it opens up an Excel. Or if we open it up in a text
02:17editor, it looks like this. Very simply, it's the address, followed by the name.
02:23This is what's called a comma-separated values file, with quotes surrounded just
02:27to make sure that anything in the middle remains true.
02:30The only thing that separates them is commas outside of those quotation marks.
02:35I will just close that out and go back to our site now.
02:38So, now you have seen one way that you can add addresses to that mailing list,
02:42which is through that form.
02:44There are actually two others.
02:46One of them is by clicking on this Add E-Mail tab as the administrator, and then
02:50you would simply type them in.
02:51Let me just say Califan lynda, and that would be lynda@example.com.
03:00But let's say you have already collected a large number of e-mail addresses.
03:03You want to import them into this list.
03:05You can do that by clicking the Import E-Mails tab.
03:10Now, I should warn you: this program requires that your e-mail addresses to be
03:14in a very specific format, basically the format you already saw with the
03:18quotation marks and the comma and so forth.
03:21In the exercise files, I have already created such a file, and I am just going to
03:24open that up in a text editor, so you can see what its looks like.
03:27Once again, we have got the comma, the quotes.
03:29The important thing is that the e-mail address comes before the name.
03:32I will close that up, go back to our site, and find it.
03:37Double-click it to get into the program and import. And there we are.
03:42We now have all of those names and addresses and can combine them with those
03:46that we collected in other ways.
03:48Now, there is one thing that I want to warn you about importing e-mail
03:52addresses, and this is very important.
03:54You can't just grab a bunch of addresses and start sending e-mail to them.
03:58If you don't have a prior relationship with the people who have those e-mail
04:01addresses, and they are not expecting to receive mass e-mail from you,
04:04you could be in violation of federal law in the United States, or privacy laws in
04:09Europe and elsewhere.
04:11Even if nobody sues, you will be breaking your agreement with Acquia, and you
04:15could get your entire site shut down.
04:17Certainly, no matter what happens, you will ruin your online reputation for spamming.
04:20So make sure you are on the level before you import a whole bunch of addresses.
04:24The last thing I want to mention: this feature is really only half baked compare
04:30to some of the other solutions you will find out there.
04:32And some people will say that you shouldn't be using e-mail anyway, that the wave
04:35of the wave of the future is RSS subscriptions.
04:38They may be right, but it doesn't hurt to make your content available in both ways.
04:42To find out how to use RSS feeds to make your content available, watch the video
04:47about publishing RSS feeds.
Collapse this transcript
Allowing users to rate content
00:00As we get further into building our site, we're giving our users more and more
00:04freedom to affect what's on it.
00:05There is one interactive feature that's become really popular over the last few
00:09years, as is evident from the number of like and +1 buttons you see everywhere--
00:14that is, the ability to rate content.
00:17In Drupal Gardens that's done through a system called Fivestar.
00:20You have to turn it on first, and you do that by going up to Modules and then down to Fivestar.
00:26You get there more quickly by closing the CORE group. And then scroll a
00:29little, and there it is. Enable it,
00:32go to the bottom of the page, and Save configuration.
00:35I want to show you a little quirk about Fivestar by going back to that Module.
00:40Scroll down a little bit and click the Permissions.
00:45This is a big page, so I will search for Fivestar, and there it is.
00:50By default, only the Administrator is allowed to rate content.
00:54I am going to leave it like that for now, but if you're setting up a social
00:57site, you'll probably want to let everybody rate content, or at least
01:00authenticated users.
01:02Anyway, let's go back to our modules and take a look at Fivestar again.
01:05There is something peculiar about it.
01:12There is no configuration setting here. And if you go up to
01:15Configuration, you'll see as you scroll through the page, there is also
01:21no configuration setting here.
01:23That's because turning on the Fivestar system is actually only evident when you
01:27add fields to content types, as you saw how to do in the video "Creating and
01:31managing content types.
01:33To show you that, I'll go up to Structure, and Content types, and Forum, and manage fields.
01:41I am going to add a new field which I will call Rating.
01:48The field type will be Fivestar Rating--
01:51this is where it shows up--and you see that there are a few options there.
01:55I will accept the defaults and save.
01:59On the next page, there are quite a few choices,
02:01for example, the Number of stars, whether you want to make this Public or
02:06Private or so forth. But I'll just say Save settings for now. Very good!
02:10Now let's see what that looks like when you actually go in to look at content.
02:14To do that, I will close the Overlay, then I will go to my Forums by clicking on
02:18Forum, and General discussion.
02:26Now, earlier we had created this topic here, This is a sample forum topic.
02:31I'll click it to see what it looks like.
02:35And that's where our rating system is.
02:37Let's say that I really liked this post.
02:39I'm going to give it four stars.
02:43As you do this, it makes an average based on everybody who has voted.
02:47This is really nice.
02:48And by the way, using Views, you can sort by the five-star rating so the most
02:52popular things float to the top.
02:54Now, the way we have this set up, you can only rate the post itself;
02:59you can't rate comments.
03:00However, you can actually change that.
03:02I am going to open up a new tab and show you, by Command+Clicking or
03:06Ctrl+Clicking on Structure, then to Content types, back to Forum again, and manage fields.
03:18Once there, I can look at Comment Fields.
03:22And as before, if we wanted, we could add a rating so that the comments
03:26actually have ratings as well.
03:28You know, I've decided I don't really want to have Fivestar Ratings on my site,
03:32so I can get rid of them very easily, simply by turning off the Fivestar Module.
03:36I go up to Modules, go back to my Fivestar check box, uncheck it, and scroll down
03:44to the bottom, and save.
03:47Now if we go back to that original Forum topic where we had the rating, if we
03:50reload the page, you see that it simply disappears. Very easy, very clean.
03:56So you might be asking, what good do those Fivestar Ratings do for you besides
04:00showing someone how good a particular story or comment was?
04:04Well, as I mentioned earlier in the video, "Creating complex information
04:08collections with views," you can combine views with Fivestar to do some
04:12really interesting things.
04:14That's a great way to get your users to curate your site for you, which in the
04:17end delivers better quality to everyone.
Collapse this transcript
Using best practices for online clubs
00:00You can build a static traditional web site in Drupal Gardens,
00:04but what it's really good at is social sites--
00:07that is, those sites that accept members and let them interact with each other
00:11through comments and blog posts and so on.
00:13A lot of this course is about how to make Drupal Gardens do what you want,
00:17but that's only half the story.
00:20If you're going to run a social web site, you also need to know how
00:24people interact with it.
00:25Then you have to plan to make that interaction easy, safe, and free of abuse.
00:30Here are five tips.
00:32First one is to pretend that you're a visitor.
00:35I switched over to another browser where I am not logged into the site.
00:39I just want to browse around it, make sure that all of the links work.
00:42For example, right there, I clicked on the contact link, and I get this Access
00:47denied. What that tells me is I have to go back and edit this block so that
00:51people who are anonymous users don't see it.
00:54I will show you very quickly how to do that.
00:55I will go back into my administrative interface, go up to Structure and Blocks,
01:03and scroll down to where that block is.
01:05Sidebar A, it's that Need guidance block.
01:08Click configure, and then scroll down to the bottom and make it so that
01:14only authenticated users and everybody above that can see the block, and save the block.
01:22Now if I go back to my front page, I as the administrator can still see it.
01:27However, an anonymous user going to that page will see nothing. Very good.
01:31We corrected one problem right there, which we would have missed if we hadn't
01:34looked at the site as a visitor.
01:36The second tip is to go through the sign-up procedure.
01:39Make sure that you understand how people are interacting with your site from
01:43the very beginning.
01:44To do that go on, again, as an anonymous visitor and click Login or Register.
01:50Actually go through the procedure with an e-mail address that you have, for
01:53example, on yahoo.com or gmail.com, something that's not really your
01:57central e-mail address.
01:59This way you'll have some understanding of what people are going through in
02:02order to become a part of your site, and that will help direct exactly how much
02:06you give to them without going through that procedure.
02:09You'll start to understand how easy or difficult it is, and how much of a barrier
02:13it is to get to the content that you want to give them.
02:17The third tip is to check roles and permissions.
02:20I am going to go back to my administrative site here and click on People and
02:24then click Permissions.
02:25I mentioned this earlier in the course, but it's worth mentioning again.
02:30You should particularly look at what anonymous users and authenticated users can do,
02:35because remember, anonymous users is anybody who comes across your site, and
02:39authenticated users is anybody who signs up for an account.
02:43In particular, watch out for anything that says it has security implications.
02:48If you give those permissions away, you might be allowing people to actually take
02:52over your site or destroy things that you've worked hard to create.
02:56Going back up to our list of People, take a look at the Roles column and make
03:01sure that you've given out the roles the way that you really want them to be.
03:06Let's say that califanjoe had gained your trust and became a blogger but then
03:09later on did something you didn't like.
03:11Well remember to come back here and take away that role. And you can remember
03:14how to do that by watching the video about adjusting user permissions.
03:18The fourth tip is to make sure that people aren't abusing your site by checking
03:22over the content every once in a while.
03:25I'm talking about both the node content, which includes blog posts and news items,
03:29and comments that people add in response to those nodes.
03:33To find out about that, go up to the Content link here.
03:35Once in a while just look over the content that's come in.
03:39Make sure that you know what everything is, or at least that nothing looks peculiar.
03:43That's especially true if you've given permission to authenticated users to
03:47create any nodes, because as I mentioned before, automated spamming programs will
03:51go ahead and just create account after account and then start filling up your
03:55site with junk nodes.
03:57Also look at the comments, both the published comments and those that
04:02haven't been approved yet.
04:03To learn more about that, once again, watch the videos about slowing spam
04:07and managing comments.
04:09The final tip takes a bit of explanation, but it's also an important one, so I
04:13am going to go through the whole thing.
04:15You need to adjust your text formats to prevent people from entering damaging
04:19content into your site.
04:20I will show you how that works, by going and adding content, and let's just say basic page.
04:28When you create a node, you'll notice this little pop-up Safe HTML, and it lists
04:32of few other choices.
04:33If somebody chooses Full HTML and then switches from WYSIWYG to HTML, they can
04:39enter all kinds of damaging content. And I'd like to actually go through and
04:44enter some of this content, so you get a sense of what can happen.
04:47Now I am going to show you something that's not all that damaging, but it
04:50will give you a sense.
04:51I am going to call this "Dangerous stuff," and down here I'll enter in
05:00<iframesrc = http://google.com width= equals 800 height=600"></iframe> and then
05:15close out the iframe.
05:18So what does that actually do?
05:19Let's go down and take a look. I will save it.
05:21And as you can see, it actually frames somebody else's site inside your content.
05:28Now, in this case it doesn't matter that much.
05:30It's just the Google site.
05:31It's not taking up the entire page and so forth.
05:34But you can see the sort of mischief that people can do.
05:37I am just going to go back now and delete that node.
05:43There are ways to allow more tags into your text formats than I've shown you here.
05:48To learn more about that, see my other lynda.com course, "Drupal
05:51Essential Training."
05:53These five tips will get you started, but don't kid yourself.
05:56When it comes to dealing with people, there is a lot to learn.
05:59That's especially true on the Internet, where as the old joke says, you
06:03don't know who's a dog.
06:05New tricks show up every day,
06:06so I recommend you also stay in touch with other webmasters who can give
06:09you additional tip.
06:11One of the best sites that I've found to stay on top of Drupal vulnerabilities
06:14is crackingdrupal.com, which is led by longtime Drupal developer Greg Knaddison.
06:20Above all, stay in touch with your users.
06:23Some of them will get to know your site better than you do, and they can alert
06:27you to any problems that pop up.
Collapse this transcript
5. Making Sites Interact with the World
Getting feedback with webforms
00:00Elsewhere in this course, I showed you that Drupal Gardens comes with a simple
00:03contact form built in, and you can get to it by clicking Contact in this
00:07particular template.
00:09And you saw how to make a small change by adding this Category menu down here.
00:13Now I am going to show you a way to collect information that's much, much more flexible.
00:18It's called Webforms, which is turned off by default.
00:21So first we have to turn it on by going up to Modules, closing up our CORE
00:25group to get down there more quickly, scroll to the bottom, and turn on
00:29Webforms, and Save configuration.
00:32Turning that on adds a content type called, obviously enough, Webforms.
00:37To create a feedback form, you just add a node of the Webform content type.
00:41So we go up to Add content and Webform. And I'll fill this out.
00:50The Title will be Your dream California vacation.
00:55These items on the left are fields that you can add to your Webform.
00:59You simply drag them in like this.
01:01Once you've dragged them in, when you click on one, you see the Field settings.
01:04So you can change the Labels and all the other different options that go along
01:08with it, or you could delete them simply by clicking Delete next to each one.
01:11So I am going to start building my form. Go back over to Add field, and first I
01:16am going to add a Fieldset.
01:17You will see what this means when we actually go back and look at our Webform as
01:22a user filling it out.
01:23So for the Fieldset, I will say, "First, tell us about yourself," and I'll
01:32add some radio buttons. Why not?
01:37Again, you can change all of the settings here. Where are you coming from?
01:45And add some options here. Let's say Eastern U.S., Central U.S., Western U.S.,
01:56and add an item and say Outside the U.S.
02:00And by default, since most or our visitors are from the Western U.S., I
02:05will change the default.
02:07This is just to give you a sense of all the different things that you can do,
02:09because there are quite a lot.
02:10We'll add another few fields here.
02:24When I added this one, I thought I would just give people a short answer, but
02:28now that I think about it, I'll make it longer.
02:30So instead of being a single line, I'll add a Multi-line text field.
02:38Who'll be traveling with you? Very good!
02:42You can also add an E-mail field. And you can even add a Page break so you
02:55have Multi-page forms.
03:01Then I will add something on the second page here.
03:11Great, that looks pretty good.
03:13So we will save it by going all the way down to the bottom and saying Publish. And there it is.
03:21As you can see, it's easy for somebody to fill out.
03:24If we go back and edit it, you'll see that there are some other form settings
03:27that I sort of glossed over here.
03:29You can make it a menu selection.
03:31When you change it, you could add a revision to keep track of all of the
03:34different changes that you make to the form.
03:37You can limit submissions so that people can only turn into one submission or
03:40five submissions or something like that--
03:42very good for contests.
03:43And you can even have it send you a conformation e-mail whenever somebody
03:46completes the webform.
03:49The only thing that I think I'll do is I'll un-promote it from the front page.
03:52I don't really want it appearing on the front page. And then we'll save it.
03:58I think I'll actually go ahead and fill this in and see what it looks like after
04:02we get some answers in.
04:03So I am coming from the Central U.S. I'll travel alone.
04:07My e-mail address is admin@example.com.
04:11And then you see, since we put in this page break, we click Next Page, and I
04:17want to go "Everywhere in California!" and then Submit.
04:22Terrific! Now, since we are the Administrator, we can actually look and see what
04:26people turned in there.
04:27So we go back to the Form, and now we see this tab here that says Results.
04:33There are several things that we could do here.
04:35We could simply view them, in which case we see all of the answers here.
04:40And by the way, if the user happened to have a picture that went with their
04:44account, we'd see that here as well. Going back a bit.
04:48We can also edit it to change the answers, or we can download the entire file.
04:57There are also some options for analysis.
04:59If several people had answered, of course we start to get a sense of what the
05:03most popular answers were, and where people are coming from, and then we could
05:07change our marketing based on that webform result.
05:10So you can see how powerful webforms can be, but the truth is, we've only barely
05:15scratched the surface, because there are a lot of additional settings that
05:18extend it even further.
05:20You can see those if you go up to Configuration and then down to Webform
05:24settings, which is right over here.
05:29You can enable all your content types so that not only do the questions appear
05:32on webforms, but as parts of tours, for example, or anything else.
05:36You can allow people to add certain field types but not other field types as
05:40they design forms, and then it just goes on and on, lots of interesting things
05:44you can do with these.
05:45And after all this, you might ask, why even bother with the contact form?
05:49Well, the two can be used to serve slightly different purposes.
05:53For example, you could allow logged-in members to reach you through the contact
05:57form, but force anonymous users to give you extra information through a webform
06:01in order to reach you.
06:02In any case, the webform system is an amazing addition to Drupal Gardens.
06:07Its flexibility in both input and data export opens up a world of
06:11feedback possibilities.
Collapse this transcript
Publishing RSS feeds
00:00Until about 12 years ago, you had to go directly to a web site to get
00:04information from it, but the movement widely known as Web 2.0 encouraged more
00:09interactivity among sites
00:11so that now, for example, you can read someone's diary post on livejournal.com
00:15without leaving facebook.com.
00:17In fact, you can read a lot of the same content in an e-mail reader or on your mobile phone.
00:23The main thing that makes this happen is called RSS, which is short for
00:27Really Simple Syndication.
00:29I swear I'm not making that up.
00:30That's really what it stands for.
00:32I won't go into the detail of how it works or how to read information through RSS.
00:36For that just search the lynda.com site for videos about RSS.
00:41The important thing for us is that Drupal Gardens publishes your content as RSS feeds.
00:46This video shows you how it does that.
00:48First, let's talk about how Drupal Gardens publishes your information.
00:52In short, anywhere on your site whether is a collection of nodes, for example
00:56here on the front page, Drupal Gardens automatically publishes it as a feed, and
01:02I'll show you that by clicking on the little RSS icon up here in the front page.
01:06Click and there it is;
01:08that's the RSS format.
01:09If you wanted to subscribe to this in another web site or in a mail program or
01:14through LiveJournal or another web site that reads RSS feeds, you just copy this
01:19and paste it into the appropriate place.
01:22Now on that front page, the RSS icon is for everything that's been promoted to the front page.
01:28For example, if I go down here and take a look at our tours, and let's say I'm
01:31move this Big Sur Retreat to the front page--
01:34I'll go up and edit it, scroll down, and publish it to the front page, save it--
01:41then when we go back to the front page, you'll see that it's also included with
01:45the other two nodes. And when we look at our RSS feed, it's there as well, along
01:50with a photo that comes with it.
01:51I'm going to just go back and remove that from the front page, by clicking Edit,
01:57scroll down again, publish and un-promote. There we go.
02:03Another place where you'll find an RSS feed is in each forum.
02:06I'll click on Forum to go to all of our forums, and let's just say this
02:10General discussion forum,
02:11when I click there, you'll notice that it brings up an RSS icon up here.
02:15Click that and you see the posts that are in it.
02:19That brings us to the question, are you actually giving away all of your stuff
02:22when you provide your content through an RSS feed?
02:25Don't worry about it.
02:26You have a lot of control over how much goes out this way through three
02:30different methods, and I'll show you each one of them.
02:32The first method affects every RSS feed on your site.
02:36To get there, we'll go back to our site and then click Configuration and scroll
02:41down to RSS publishing.
02:42It's under Web Services.
02:45You'll notice that you have a choice of how many items to include in each feed,
02:48and also how much of each individual item to include.
02:52I'm going to change that from Full text to Titles only and save it, and then
02:56I'll go back to our front page and see what that looks like.
02:59Back at our front page and look at the RSS feed.
03:03Now you see it's just the titles.
03:05So if someone were to subscribe to this, they would have to click through on the
03:07title in order to see what the story was about.
03:10I'm just going to go back and change it back. Configuration, scroll down to RSS
03:16publishing, and change it again to Full text, Save configuration.
03:21The second method of control affects all nodes of a specific content type.
03:26We can look at this best by going to our front page, where we'll see a list of
03:29nodes of varying content types.
03:32We'll go to our front page, and here we see a basic page and a news item both
03:39as part of this feed.
03:40Let's say that we only want for the full text of the news items to come through
03:45on our feed, but not those things that are part of our basic page.
03:48What we would do is go up to Structure and edit the content type by clicking on
03:53the Content types link.
03:55Then to our Basic page and manage display.
03:59Now we talked a little bit about this when we were putting fields into content
04:02types earlier on in the course, but we skipped over this bit here, Custom Display Settings.
04:07I'll open it up now, and we can change what's displayed in the RSS feed by
04:12clicking on this check box and saying save.
04:15Now we have another little button up here that says RSS.
04:18We click there, and we can decide whether we want to show the body or not.
04:22By default, incidentally when you add that custom display, it's hidden.
04:27So I'm just going to leave it that way and say save.
04:31Then go back to our front page, and let's take a look at our RSS feed now.
04:37Before, this "Explore our world your way,"-- and remember that was a basic page--
04:41showed the whole node.
04:43Now, it just shows the title, so again, you can withhold certain information by content type.
04:49The third method to control RSS feeds works only on simple views, and you learned
04:54about those in the video about simple views earlier on in this course.
04:57We created one, you might remember, called New Tours, and we put that in a block down here.
05:03It also shows up on a page, which you will see if you go to New Tours.
05:09Once again, we're looking at a view which collects all nodes of the Tour content
05:13type, and we can see our RSS feed by clicking right here.
05:17And we see the full nodes, as we would expect.
05:20But what if we don't show any kind of RSS feed?
05:22Well, we can do that by editing the simple view.
05:26Click Structure, scroll down to Simple views and click, and then we're going to
05:30edit our Newest tours by clicking edit next to it.
05:33There is a check box here that lets you add an RSS feed or take it away, and
05:37that's exactly what we're going to do.
05:39Now by default Drupal includes an RSS feed with every simple view,
05:44so if you don't want them to go out, make sure you uncheck this, and then click Submit.
05:49Now, when we go back to that page, we see the RSS feed icon has disappeared.
05:55So there's the three methods of taking away RSS feeds or controlling what goes out into them.
06:00It doesn't matter which one you choose, as long as you're conscious of how much
06:03you're sending out there.
06:04Remember, whatever you publish via RSS other people will republish on their
06:09sites, and they're allowed to.
06:11You're saying that you want them to do that.
06:13If you don't want that, cut it off.
06:16On the other hand, you could increase how much you're publishing, which is
06:20good for a promotional site like ours where you probably want people to
06:24republish your content and draw them to look at your tours and other
06:27information about California.
06:30By the way, Drupal Gardens also lets you display other sites' RSS feeds for free.
06:34And if you want to learn about that, watch the video about subscribing to
06:38RSS feeds.
Collapse this transcript
Taking advantage of social media
00:00Lots of times someone will have a great idea and build a web site and then get
00:04discouraged because no one knows it's there.
00:07These days the best way to get the word out is through social networks such as
00:11www.twitter.com and www.linkedin.com.
00:13This video shows you three ways to let your Drupal Gardens site interact
00:17with those networks.
00:19First, you'll see how to encourage people to promote your site by posting links
00:23about it to social networks.
00:25Second, you will see how to promote the fact that you have a presence on those
00:29networks, and third, you'll see how to let users create Follow me links so that
00:34they can promote their individual presences on those networks.
00:37For some of this, you'll need to set up accounts on those target networks, such as Twitter.
00:42For this video, we will assume you've already done that.
00:45If you haven't, several lynda.com courses show you how to get started.
00:49Among them are "Twitter Essential Training," "Facebook Essential Training," and
00:53"Social Media Marketing with Facebook and Twitter."
00:56But let's just take a look at the Drupal Gardens side of things.
01:00First, we will help our members promote our site on Twitter and the like.
01:04Actually, we don't even have to do anything.
01:06Drupal Gardens has already set that up for us, and I'll show you how.
01:10Let's go to this node here, which is a news item.
01:12Click through so we see the full node, and underneath each one of these news items,
01:16we see this little Share button.
01:18If you bring your cursor over it, you could then click and say, okay, I want to
01:22share this on Twitter or Facebook or any of over 300 other networks--really
01:27quite an amazing thing.
01:29That's great as it is, but you can actually change the behavior of that button.
01:33I will just close out this window here and then go up to Configuration and AddThis.
01:38This button works by connecting your site with another site
01:43called www.addthis.com.
01:44You can use the button whether or not you already have an account on AddThis.
01:48It still works just the same.
01:50There are some features that only work if you've gotten an account on AddThis,
01:52but we won't go into those.
01:54If you do have an account, you would enter your username here, and that would
01:58help you do some analytic tracking and see exactly where links are coming from.
02:02Below that we have two links here for Button Image settings and Widget settings.
02:07I'm also not going to go into these because they're quite complicated.
02:11They let you change what those buttons look like. And as you see, there are lots
02:15and lots of settings where you can change the color and all sorts of things like that.
02:18The most important things from our point of view is whether those links appear
02:22on node pages or just in the teasers or on both.
02:25I am going to make it so that they appear on the teasers as well as a node pages.
02:29This is not my preferred way of doing things, and I'll show you why in a moment.
02:33I will scroll down to the bottom of the screen by collapsing these and scrolling
02:36down, and then I'll go back to the front page.
02:41Now, on the front page we have this button that wasn't there before.
02:43You might remember we had to click on the node's title in order to see the full
02:47node before we had the Share button.
02:49The reason I don't like this is when you have it on the front page, you then
02:53start mousing around and people end up doing this all over the place, and it kind
02:57of gets in the way.
02:58So I am going to go back to Configuration and AddThis and remove it from the teasers.
03:03There is one other thing to know about AddThis.
03:07Again, we go back to our front page.
03:09We clicked through on this news item, and we saw the button.
03:12If we click through on this node, which is a basic page, we don't see the button at all.
03:18You can control, on a content-type- by-content-type basis, which nodes show
03:23that AddThis button.
03:24To do that you would go up to Structure and Content types, and I'm going to go to
03:30Basic page and edit it.
03:32Scroll down and you see this little vertical tab, Addthis settings.
03:36If I wanted to show the button on all of those basic page nodes, I would just check this.
03:40But I think I will leave it as it is for now.
03:43So that's the first way that you can connect your Drupal Gardens site to social networks.
03:47The second way is by advertising that you have accounts on those social networks.
03:52Now we've already done this in an earlier video about configuring your site.
03:56To show that I'll go back to our front page and scroll down, and we have this
04:01Stay connected block, which has links to our Facebook and Twitter accounts, as
04:06well as one to the RSS feed for the front page.
04:09I just want to show you, once again, how to do that.
04:12The way that you do it is you go up to Configuration, scroll down until you get
04:18to Site follow links, and click there.
04:20Now earlier when we did this, we added lynda.com's Facebook and Twitter.
04:24I am going to get rid of the Facebook, and I am going to add my own Twitter
04:28account, which is ExpCal, Explore California.
04:33After you've added URL, you can change the Customized Name, so it will show
04:36something other than Twitter, show any word you like.
04:39You can also add any of these other social networks,
04:41so they will show up in that block at the bottom.
04:44Click Submit, go back to our front page and scroll down, where you see that the
04:51Facebook link has disappeared and the Twitter link now goes to our page.
04:57I'll just go back to our site though.
05:00Finally, we come to the third way to connect your site to social networks, and
05:04that's by letting users promote their own accounts on those networks in their
05:08profiles on your site.
05:10By default, Drupal Gardens only gives permission to do this to users
05:13with certain roles.
05:15That's a good idea because spammers love to post links to their sites wherever
05:18they can, and this would be an easy privilege to abuse.
05:22But in our case I am going to be gracious and let all authenticated users do it.
05:27To change that permission, you would go up to People and Permissions, then
05:32scroll down to the Follow group, and add permissions to Edit own follow links.
05:37Again, I will give that to authenticated users.
05:41Scroll to the bottom and Save permissions.
05:47Now, I'll show you how it works.
05:48It's a several-step process, but bear with me; we will get this working.
05:53First, I'll switch to another browser where I am logged on as anybody.
05:56I am going to log on as an ordinary authenticated user on our site.
06:00That's califanjoe, who you might remember we created in another video.
06:07Username is califanjoe and the password.
06:14The first thing I'll do is I'll show my own profile by clicking My account.
06:19You'll notice one of the things I can edit is My follow links.
06:22I am going to add a Facebook link here.
06:24It will be http://www.facebook.com/lynda.com.
06:32Of course, that's the lynda Facebook, but we will use it for
06:35demonstration purposes.
06:37I will also add a Twitter link.
06:39Again, http://twitter.com/lynda.com and then scroll down to the bottom and click Submit.
06:48Now you might think that we would see that when we click on View, but no; those
06:54links aren't actually there.
06:56That takes us to the second part of this process.
06:59The reason we don't see those links is because they show up in a block which you
07:03then have to place somewhere on the page.
07:05So to do that, we will go back to our Admin page, which is in our another
07:09browser, click Structure and Blocks, and scroll down to the bottom where our
07:15disabled blocks are.
07:18The one we want is Follow User, and I'm going to move that into sidebar
07:22B. Scroll to the bottom and Save, and let's take a look and see where it is on there.
07:29I think I am going just move it up above that feed and scroll to the bottom again and Save.
07:36Now, let's go back. Take a look at that again.
07:40Go up to People, look at califanjoe's profile, and there are his follow links.
07:48If we look at it from his account, we see the same thing: his Follow links. That's terrific!
07:55There's still one problem, and this is the last stage in the process.
07:58It's the kind of thing that's easy to miss, unless you regularly check out your
08:01site while you're viewing it as an anonymous visitor.
08:04Here I will show you.
08:05First, we will log out here, and then we will try going to that page.
08:11Here it is, Users califanjoes.
08:13Copy it, bring it over, and paste it.
08:18We don't see his profile, but we do see the ways that we can follow him.
08:23In order to change that, we will go back to our administrative interface,
08:27go up to People and Permissions, and allow everybody to view User profiles.
08:34That's way down at the bottom in the User group, View user profiles.
08:40I am going to allow everybody, including anonymous users, to do that, and then save permissions.
08:45Now the other thing you could do is you could hide that block so that
08:49anonymous users don't see it.
08:51That way it would always be paired up.
08:52So, you would see the Profile together with the follow links.
08:55But you have to be careful to just make sure that you balance those.
08:58Just to make sure it works, I will now go back.
09:01Again, I'm in as an anonymous user. Revisit that page.
09:05Now, I see the user and the follow links. Very good.
09:09I know there was a lot of stuff to digest, but that's just because the Follow
09:13and AddThis modules give you a lot of options.
09:16But really, once you've got them all configured and put the blocks in the correct
09:19places and set up permissions as you want them,
09:22they are fairly simple to operate. And when you get people actually promoting
09:26your content and following you on social networks, the effect is worth the small
09:30amount of work required.
Collapse this transcript
Emphasizing external links
00:00There is a long-standing debate about how to handle links that lead from your
00:03site to some other place.
00:05The default behavior is to just go straight to them, and in fact, that's the way
00:09things work right now on our site.
00:10For example, take a look at these links over here, which go to an off-site feed.
00:15If I click any one of them, that page opens in the same screen.
00:20I'll go back to my site now.
00:21There are several downsides to the default behavior, though.
00:24First, by staying in the same screen, you're lowering the likelihood that
00:28someone will return to your site after being led away.
00:30Second, someone might believe that they're still on your site as they go
00:34elsewhere and then blame you for anything they dislike in that outside site.
00:38Making matters worse, there's no way to tell the difference between a link that
00:42stays on your site and one that goes elsewhere.
00:45Drupal Gardens solves these problems by letting you change these behaviors with
00:48a module called External Links.
00:50It's off by default, so I'll go ahead and turn it on.
00:53Go up to Modules and then go down to External Links.
00:57It's in the other group.
00:59Turn it on, go to the bottom, and click Save.
01:03To see all your options for External Links, go up to Configuration and then
01:08down to External links, here under User Interface.
01:12I am going to leave all of these default settings, but you get a pretty good
01:15sense of how it works.
01:16Basically it places icons next to certain links, so that you can tell that
01:20you're leaving the site.
01:21There are also some additional options here so that you can change which ones
01:25are considered external.
01:27But I'll leave it as is and go back to our front page and see what
01:29exactly that got us.
01:31Now you can see that all of the links that lead off of the site have this little
01:35"You are leaving the site" icon, whereas the ones that stay on your site don't have that.
01:39If you click one of these that leads off of the site, it actually warns you. And
01:44again, this is configurable, and if you click OK, it opens up a new tab up here
01:48before taking you to the site that you want.
01:51Then when you close it, you're still on your site in the original tab.
01:55I'm kind of a traditionalist, so I am actually going to turn off this feature by
01:59disabling the module.
02:00Because there's no content associated with it, that's all we have to do.
02:04Just go up to Modules, go down to External Links, uncheck the box, scroll to
02:09the bottom, and save.
02:12This is one of Drupal Gardens' smaller features, but it's one I really like for
02:17the control that it gives you.
02:19Now, there is some debate about whether it's a good idea to open new windows
02:22for External Links.
02:24On the one hand, as I mentioned before, you do keep visitors on your site, but
02:28on the other hand, it could make your site seem less reputable, like you're
02:31trying to trap people.
02:33Before implementing this option, I recommend reading some of those debates,
02:37which you can find by searching the Internet for the quote "should links open in
02:41new windows," or something similar to that.
Collapse this transcript
Improving search engine optimization (SEO)
00:00Google and other search engines catalog the web automatically, using
00:04sophisticated page and language analysis to figure out what a site is about.
00:08There are things you can do to make your site more readable to them, resulting
00:12not only in better search ranking, but also better quality search results.
00:16Here are four ways to do that in Drupal Gardens.
00:20The first one you've already seen, which is to add a little bit of information
00:23here called a site slogan.
00:25Earlier in the course, we got rid of our site slogan, and now we're going to
00:28return it back in but not have it show up here underneath the title.
00:32To do that, click Configuration and then click Site information.
00:37In Slogan, I'm going to say "California tourism and travel."
00:44Now, if I Show it and click Save configuration, it appears right here under
00:50the title, but there is still some value if I add that and then hide it, and I'll show you.
00:56I'll scroll to the bottom after unclicking that Show slogan.
01:00Now, it doesn't show up under the title, but it still shows up here in
01:04the browser's title bar.
01:05That is important to search engines,
01:08so you might as well leave it in.
01:11The second method gives your site credibility to the companies that run search
01:15engines, such as Google and Yahoo.
01:17I'll show you how it works with Google, although Drupal Gardens lets you verify
01:20your site to other search engines such as Bing and Yahoo and Yandex.
01:24It does this through a module called Site Verification, which is way down here
01:28near the bottom of the Modules page.
01:30It's turned on automatically,
01:31so you don't have to worry about it.
01:34The way that you add a verification is that you go to Google's webmasters page.
01:39That's at google.com/webmasters.
01:39I have already logged in to the Webmaster tools with my account.
01:46Now I go down and add a site.
01:48Here I type in the URL of my site, which you might remember is
01:51explorecalifornia.drupalgardens.com.
01:54I'll just copy it and paste it there for ease and then click Continue.
01:59On the next page, we have several ways that we can verify it, and actually
02:02several of these are supported in Drupal Gardens.
02:05I kind of like the Add a meta tag, because then you just have to copy and paste
02:09a small amount of text here.
02:11So we copy it, go back to Explore California, and click on Configuration.
02:17Then go down to Verifications, which is down here under search and metadata.
02:23Add a verification.
02:25It's for Google. And then click Next.
02:29Click in on META tag, scroll down, and click Save.
02:34Now, when we go back to our Google Webmaster's page, we click Verify.
02:39There. Now, Google knows that we own the site, and it has a little bit more
02:44credibility with Google.
02:46Again, you can do this with other search engines in a very similar way.
02:50The third way that you can improve your site's SEO is by defining an XML sitemap.
02:55The way you do that--and let's go back to our site--is by clicking on
02:59Configuration and then down to XML sitemap, which is right down here under
03:05Search and Metadata.
03:08Now, the truth is you don't actually have to add the sitemap.
03:11It's automatically created when you create this site.
03:13However, you can change certain settings in that sitemap which will affect how
03:17your site will appear in search engines, by clicking on the Edit button right
03:21here next to the sitemap.
03:23First, you can decide whether to submit or not submit your sitemap to the
03:27various search engines.
03:29You can change priorities of which pages and content types and so forth show up
03:34in those search engines.
03:36I won't go through all of the details here because they get quite complex.
03:40I'll show you, in a minute, where you can get those details and figure out how
03:43best to position your site, but first I'll show you exactly what this gets you.
03:47I'll open up a new window and search in Google for "lynda."
03:51Of course, that brings us to lynda.com's site right at the top.
03:56You see all of these sublinks here that go to different areas of the lynda.com site?
04:01Those were pulled out of the site, because they were decided to be the most
04:05important ones in the entire site.
04:07Well, with the XML sitemap and by changing all of the weights that you have
04:11here--that is, deciding that a page is more important than a forum topic, for example--
04:15you can determine which ones will show up in searches when somebody searches on
04:20Google or Bing or another search engine.
04:23There is a documentation page on the Drupal Gardens site at
04:27drupalgardens.com/documentation/ modules/xml-sitemap, which will give you a
04:34lot more details about how exactly to improve the way your site is presented to search engines.
04:40Finally, I want to briefly mention a couple of other ways that Drupal Gardens
04:44makes your site friendly to search engines.
04:46You don't have to do anything with them though, because they're turned on and
04:48preconfigured by default.
04:51One of them has no settings you can change, and you should usually just leave
04:54the other one alone.
04:55The first one is called URL aliases and formerly known as Pathauto in the Drupal world.
05:01To get there, we'll go back to our site and then click Configuration, scroll down
05:07a bit to URL aliases.
05:11As you could see, this takes nodes that we've posted, which are naturally
05:14known by their node number--node 12, node 57--and gives them a name that more
05:19describes what they are.
05:21This name is automatically created by Drupal Gardens by setting up patterns and
05:26then taking certain words from the title.
05:29So as you can see it's just content, slash, node:title.
05:32There is some language manipulation that's done on that,
05:35for example to drop words like A and V, but the effect is very good for search
05:39engines, because it sees not only does the page concern let's say a tour in Big
05:44Sur, the title and URL all agree with that, and that builds credibility with
05:49various search engines.
05:51The second way that Drupal Gardens helps improve your site's presentation to
05:54search engines is called RDF, which stands for Resource Description Framework.
05:58There is not much to show about it in Drupal Gardens.
06:00It's just something that's there by default.
06:02What it does is to describe your content in a way that other
06:05computers understand.
06:07I can explain how that works by going to Google once again and doing a search
06:11for a movie, let's say Avatar.
06:13Now as we look down here, because the IMDb site speeds up the information about
06:19ratings to Google, we see the rating right here in Google.
06:23This is also true about products. If we were to type, for example, Xbox, we not
06:28only see ratings, we also see prices and how many reviews there are.
06:32Again, Drupal Gardens automatically feeds up some of this information.
06:36If you're curious about how RDF works, the best place to go to find out is at W3.org/RDF.
06:45Now, search engine optimization is a huge subject, and a whole industry has
06:49grown up around it.
06:51The good news is that Drupal in general, and Drupal Gardens in particular, is
06:55really good at presenting your pages to search engines and also to other
06:59computers around the web.
07:02This page on the Drupal Gardens web site gives you a few more tips on how to
07:06make SEO even better in Drupal Gardens, but a lot of SEO is based on things like
07:11how you link text and where elements appear on the page.
07:14You're best way to learn all this stuff is to watch the lynda.com course "SEO:
07:19Search Engine Optimization Getting Started."
07:22And of course, you can always learn more by searching for SEO on the web in
07:26general, because there is a lot of stuff out there.
Collapse this transcript
Internationalizing sites
00:00One difficulty in creating something for the World Wide Web is that, well, it's worldwide.
00:06That means that if your site is successful, your content will be seen by people
00:10in many different time zones, speaking many different languages, and using many
00:14different date and currency formats.
00:16How much you want to adapt your site to them is up to you, but whatever you
00:20decide, Drupal Gardens is already set up for it.
00:24Just to be clear about terminology, Drupal Gardens is what's called
00:27"internationalized software."
00:30If you decide to take advantage of that feature, you'd be localizing your site
00:34to make it friendlier to people in various locales.
00:37Now internationalization and localization are very big subjects and much too big
00:41to cover in one video.
00:42I'll show you where the controls are in Drupal Gardens.
00:46Actually, making them work to their fullest extents is a much bigger subject.
00:51At the end of this video I will show you some additional resources that
00:54will give you more help.
00:56Let's start by taking a look at the basic internationalization controls that are
01:00already enabled in Drupal Gardens.
01:02To do that, we go to Configuration and then scroll down to Regional and Language.
01:09Here we see Regional settings and Date and time.
01:11I won't go into great detail, but you can see that you can set a default
01:15country, first day of the week, time zone, and so on.
01:19These things, believe it or not, vary quite a bit from country to country.
01:22In some places, for example, Monday is considered the first day of the week,
01:25while in others Sunday is, and that comes into play when you start dealing with
01:29date-related information, but for us we'll just get out of this screen.
01:34Similarly, if you change the Date and time formats, it will look right to people
01:39in whatever area you're trying to appeal to.
01:42So those are the basic non-language settings.
01:46To actually get started translating your content into other languages, you will
01:50need to enable a couple of other modules.
01:52These are the Locale module and Content translation.
01:55We will start by just doing the first one, the Locale module.
01:59Go up to Modules and scroll down.
02:02It's in the Core group, so not too far down.
02:05Then scroll down and Save.
02:07When that module is on you will see additional controls under Configuration, in
02:14that Regional and Language group.
02:16These are Languages and Translate interface.
02:19First, I'll click Languages.
02:22Now, right now our site is only set up for one language, English.
02:25I am going to add a language to that.
02:28I'll add the only other one that I know fairly well, Esperanto, and Add language.
02:34There are quite a lot of choices on that list though, and if you wanted to you,
02:39could even add a language that's not on that list.
02:41That's more complicated than we can describe here, but it is possible.
02:46Now that we have our two languages, we want to tell to Drupal Gardens when to
02:50use one or the other, and how to present those languages to the user.
02:54So I go up to the Detection and Selection tab here in the right corner.
02:59There are several different ways the Drupal Gardens can present these
03:02different languages to you.
03:03For example, it could look at the user and decide, well, what does the
03:07user's browser say?
03:09What did the users say in their profile on Drupal Gardens? Or it could just use
03:13the default site language.
03:14I am going to use the URL.
03:17I will click that to enable it, and then I'll show you some of the
03:19configuration options.
03:21Once again, Detection and Selection, and Configure.
03:23There are two different ways that you can change the URL to show what
03:26language is being used.
03:28One of them is in the domain. That would be eo.explorecalifornia,
03:33et cetera, et cetera.
03:34The other one is by changing the path prefix.
03:37So it would be explorecalifornia. drupalgardens.com/eo and then the rest of the path.
03:43I am going to leave it as the Path prefix.
03:45So now we've configured our site to show two different languages.
03:52The next thing we are actually going to do is start translating our content.
03:57Before going on there I want to warn you away from something that can be
04:00a little confusing.
04:01If you go up to Configuration and scroll down again to that Regional and
04:07Language area, you see this Translate interface link.
04:10That actually doesn't let you translate your site;
04:13instead, that's so that you can translate Drupal's interface itself.
04:17So instead of "people" here, it would be "homoy," which is the Esperanto word for people.
04:23So what we have to do is go back to Modules and turn on the Content translation
04:28module, and then scroll and Save.
04:30All right, we're almost there.
04:37We can't yet start translating content until we do one last thing.
04:41Content translation is only available for content types that you've enabled it on.
04:46By default, it's not on any of them.
04:49So, the way we change that is go up to Structure and Content types, and in my
04:54case I'm going to make the tours available--that is, the Tour content type--
04:58available for people in both English and Esperanto.
05:02So I go to Tour and click edit.
05:05If you need more help with this area, by the way, see the video on creating and
05:08managing content types.
05:10As we scroll down and click Publishing options, you will notice some
05:14additional options.
05:16This multilingual support is disabled right now.
05:19I'm going to enable it, with translation, and then save the content type.
05:24Now we're finally ready to start our translation.
05:27To do that, we will go back to any node of the Tour content type.
05:31I know that if we go back for homepage and look down here, we have a simple view
05:36that we set up earlier on which shows all of the tour nodes.
05:40So I'll just click on this Big Sur Retreat.
05:44When we click Edit on this node, we notice a new option, which is down here
05:50toward the bottom, and it says, what language is this in?
05:54In this case, instead of being simply language-neutral, we know that this one is English,
05:58so I will change it to English and then click Save.
06:03Now I want to produce the Esperanto version.
06:06Once I name this one as a specific language--English--a new tab
06:10appeared: Translate.
06:12By clicking the Translate tab, I can now add the translation in Esperanto for this node.
06:19What I will do is I will just say "Retreto al Big Sur," and then of course I would
06:27change the body as I wanted: "Granda promenado en Big Sur." Excellent!
06:37And of course, the language is Esperanto, and we save it.
06:42So now we're back, and we are looking at that node.
06:45This one is in Esperanto. As we scroll down,
06:48we see there is a tag at the bottom in English. Ah!
06:51We can switch back and forth between the English and Esperanto versions very easily.
06:55Just look at one.
06:56If we want to the other, we click on the tag; now we are on the English. And back again.
07:01Very easy.
07:03I do want to mention one little oddity that comes up when you start translating
07:07nodes: If you have these grouped into any sort of collection of nodes such as you
07:12would in a simple view, it'll show up twice, and we could see that by going down
07:16to our little block down here.
07:18See we have both Big Sur Retreat and Retreto al Big Sur.
07:21Well, that's not necessarily so bad because, of course, somebody might want to
07:25be looking for it in Esperanto and not recognize the English.
07:28But again, you should just be aware that
07:30that's one of the things that happened.
07:32I said at the beginning of this video that I would provide some additional
07:35resources, and here they are.
07:37I hope it's clear that internationalization is a complicated issue, and we have
07:41really only dipped our toes in the water here.
07:44I know that what I have shown was a pretty incomplete solution.
07:47Partly that's because we don't have the time to go into all the ins and outs of
07:50internationalization, and partly it's because getting a site to appear only in
07:54the visitor's preferred language isn't quite possible yet in Drupal Gardens.
07:59But even the solution you have seen here is better than most available.
08:02I expect it to improve in the months and years to come.
Collapse this transcript
Tracking site usage with Google Analytics
00:01They say that listening is more important than speaking, and that's why we have
00:04two ears but only one mouth.
00:06The thing is, people don't say much directly on the web.
00:10They just come to your site, look at a few things, and then leave silently.
00:13But even if they are not saying anything directly, you can still listen indirectly.
00:19You do that through a web site analysis system. Drupal Gardens integrates well
00:23with Google Analytics, the most popular such system.
00:26You first have to sign up for it though, which you do it google.com/analytics.
00:31Through Google Analytics you won't be able to watch someone as they move through
00:35your site or discover their e-mail address and pester them afterwards.
00:39What you get instead is what's called aggregated information.
00:43So you might find out, for example, that we get more visitors from Mexico than from Japan.
00:47We then know that we would get a better return producing translations in Spanish
00:52than Japanese: very useful information, although again not for specific people--
00:56only aggregated groups of people who visit your site.
01:00First, you have to add your site's domain to your Google Analytics account.
01:03Once you have logged in to Google Analytics, the procedure is fairly simple.
01:07I have already signed up and logged in to my account.
01:10I will add a new web site profile by clicking down here, Add Website Profile.
01:16Down here you type in the URL that you would like to track; in our case that's
01:20simply explorecalifornia. drupalgardens.com, and then click Finish.
01:27Now we are going to have to come back and copy this code right here next to Web
01:33Property ID, so leave this page up.
01:36But right now, I am going to go back to our site and turn on the Google
01:39Analytics module, which is turned off by default.
01:42To do that go to Modules and then scroll down to the Google Analytics Module.
01:48It's fairly far down under Statistics. Turn it on and Save configuration.
01:56Now that it's turned on we have to take that code that we got from Google
01:59Analytics and put it into our Drupal Gardens site.
02:02To do that, go up to Configuration and scroll down to Google Analytics.
02:07Now you will notice we now have this error message up here.
02:09This is actually just telling us that we haven't added our information
02:12into Google Analytics.
02:14If you click on the status report link, you will see that; as we scroll down
02:17see Google Analytics Module, and in fact you can get directly to the Settings page here as well.
02:22Now this is where we paste in that Property ID.
02:25I will go back and copy it and then go back to Google Analytics in our site and
02:31paste it and scroll down and Save configuration.
02:37Once we have done that, we can go back to our Google Analytics page, scroll down
02:40to the bottom, and click Save and Finish.
02:44Now you see a warning here that we can't yet see that
02:47explorecalifornia.drupalgardens.com report. Don't worry about it.
02:52It takes a little while for this to be set up between Google Analytics and your
02:56site, but after a few hours you will start to notice some activity.
03:00The last thing I want to mention is about some of the options that you have back on our site.
03:05So let's go back there and take a look down through here.
03:09There are actually quite a few options.
03:11You can have Google Analytics only look at certain roles--that is, what certain
03:15users do, see exactly what all the bloggers are doing, what pages they tent to
03:19go to, for example--only have Google Analytics watch certain pages, or you
03:24could have it track downloads from your site.
03:26I won't go into all of these details, but if you want to learn some more about
03:29it, there are several courses on lynda.com that will help you:
03:33One of them is "SEO, Search Engine Optimization Getting Started";
03:37another is "Google Analytics Essential Training"; and finally, "Google Website
03:41Optimizer Essential Training."
03:43All of these will help you to get more information out of your site
03:45though Google Analytics.
Collapse this transcript
6. Introducing the Theme Builder
Understanding Drupal themes
00:00One of the first things people ask when they create a web site is, how do
00:03I change the design?
00:05I gave you a little peek of Drupal Gardens' capabilities for this in the video
00:08about what Drupal Gardens is, but now it's time to dive in deep.
00:13The best way to understand how Drupal Gardens handles design is to first look
00:17at how Drupal does, because Drupal is the underlying software beneath Drupal Gardens.
00:22Drupal defines design through its themes.
00:26To look at its themes, we are going to switch away from Drupal Gardens and
00:29turn to core Drupal, which I've already downloaded and have running on my own computer.
00:34Don't worry if it's a bit unfamiliar to start with;
00:36it'll all come clear in the end.
00:38So first we will switch over to core Drupal and then take a look at our themes
00:42by clicking on Appearance.
00:44The default theme in core Drupal is called Bartik, and this little screenshot
00:49should look familiar to you because it's what we saw just a minute ago when we
00:52were looking at the just-installed site.
00:55The other theme that comes enabled with Drupal is called Seven,
00:59which again should look familiar to you because this is the
01:01administrative overlay theme.
01:03You see this when you click anything up here in the toolbar; for example, the Modules link.
01:08It's the thing that floats over Bartik, so we have Seven above and Bartik below.
01:14Core Drupal also includes two other themes that are disabled by default: Garland and Stark.
01:19We don't have to talk about these.
01:21In order to change from one theme to the other, you click the Set default link.
01:26So I'm going to change our default theme here from Bartik to Seven and then
01:30close our administrative overlay, and the screen will redraw.
01:33Now we see the entire site in that Seven theme.
01:36I'll switch it back by just going down and Set default next to Bartik, and there we are.
01:43One big difference between Drupal Gardens and core Drupal, as you know, is that
01:47Drupal Gardens lives on Acquia servers.
01:49Whereas core Drupal, you download to your own computer; you play with it; you
01:53might upload it to another computer. But the thing is, you have control over the files.
01:57So let's take a look at what files actually make up a Drupal theme.
02:00We will close out this window and then open up the folder I have here:
02:04Drupal-7. This is the Drupal software itself.
02:07I scroll down and open up the Themes folder.
02:10This is where the themes that come with Drupal live.
02:13They might also live in other folders, but these are the core themes.
02:17I'll open up Bartik, and we see it's contained a number of files.
02:22The most important one is this .info file, which has a number of instructions
02:26that tell Drupal where all the files are that define this Bartik theme.
02:31The CSS folder is also very important.
02:34Let's open up one of those files.
02:36When you open one of the CSS files, you see styling information in the CSS, or
02:40cascading style sheets, language.
02:43Again, you can learn more about CSS by watching courses on that topic on lynda.com.
02:49We won't be going into great detail in it in this course, although it is good for you
02:52to learn it because we will need to have a little bit of CSS in order to change
02:56our themes in Drupal Gardens.
02:58In addition to the CSS files, there are additional files in the theme.
03:02For example, Templates lets you change the way that the page looks in
03:06different contexts.
03:08In this case, for example, comments are styled one way, while entire nodes
03:12are styled another way.
03:13The number of template files will vary from theme to theme.
03:17So just to summarize, most of the visual decisions in Drupal themes are
03:22defined by its CSS Files.
03:24Once again, in Bartik that's in the css folder, but it doesn't have to be, by the way; it could be loose
03:30in this folder or in subfolders or so forth. All of that is defined in the .info
03:35folder, which tells the theme where to find all of these files.
03:39Logic, and to some extent layout, is defined by these template files.
03:43These are written in the PHP programming languages. Graphic elements are stored
03:48in separate files; in Bartik they in this folder called Images. And all of this
03:52is pulled together by that .info file.
03:55In core Drupal, as you already saw, all of this is hidden from you; all you have
04:00to do is click Appearance, select your theme, and you're golden.
04:04Now let's take a look at how Drupal Gardens handles appearance.
04:08We'll switch over to Drupal Gardens and then click Appearance. Now, instead of
04:14getting that simple screen, we get a theme editor, what they call the Theme
04:18Builder. And here we can switch from theme to theme just like in core Drupal, or
04:23we can style individual elements very easily by simply clicking on Styles,
04:28selecting the thing we want to change, and then let's say we want to make that a
04:31bigger font, and there we go.
04:34Now, there are lots of controls in Drupal Gardens' Theme Builder, and we will go
04:38over all of these in the next 15 videos or so.
04:41Just as importantly, you learn how to export the themes you create, so you can
04:46use them in any Drupal site, not just those hosted on Drupal Gardens.
04:50So you can start in Drupal Gardens, design your theme, design your site, then
04:54take it out and host it yourself anywhere you like.
04:58Drupal theming is a huge subject, and to be honest, it's too big for me personally.
05:03If you want to learn more about it, I recommend lynda.com's video series by
05:07Chris Charlton, which is called "Drupal:
05:09Creating and Editing Custom Themes."
05:11That series talks about how to create Drupal themes the traditional way.
05:16What you learn in that course will also show you how to modify themes you create
05:19in Drupal Gardens, and it'll show you how to do things that aren't quite
05:23possible in this Theme Builder.
05:25The Theme Builder can do a lot but not quite as much as in the traditional way;
05:29and once you start using it, you'll find that it's really not that hard. Best of all,
05:34the theme builder creates real Drupal themes. They look great.
05:38They work well in Drupal Gardens, and they can be taken out and installed
05:42in core Drupal.
Collapse this transcript
Understanding the Theme Builder
00:00Before we start poking around in Drupal Gardens' Theme Builder, let's get a quick
00:04overview of its controls.
00:06To launch the Theme Builder, click Appearance.
00:10The Theme Builder has five tabs: Themes, Brand, Layout, Styles, and Advanced.
00:16The Themes one is the simplest one;
00:18it lets you just switch from one theme to another.
00:21So, for example, I'm going to change to the Broadway theme.
00:24I click it and the entire site changes.
00:27You see the same content; it just looks different.
00:30You can hide the Theme Builder by clicking this little Minus sign.
00:34That keeps it active so that you can quickly go back and do other styling, but
00:38it lets you see more of the page, as you can see.
00:41Let's make it large again by clicking on the Plus sign and switch to another
00:45one--let's say Carbon.
00:49And once again, it's all of the same content, just in a different appearance, and
00:53we'll show it again.
00:55In addition to the themes that Drupal Gardens gives you, as you load and edit
00:59these themes you'll be creating your own versions of them,
01:03and so in addition to the Gardens theme tab here, there is also a My themes tab.
01:07Right now, it's empty, because we haven't saved any of our own versions, but as
01:11we go through this course, you'll see this fill up more and more.
01:14Let's go on to the other tabs.
01:17The second one is the Brand tab, which has two subtabs here.
01:21It should be fairly obvious from the appearance what the Palettes tab does.
01:26You click on any one of these color combinations and it changes the entire
01:30color of that theme.
01:32Now notice it's not just the background-- although that's the most obvious thing,
01:35it also changes text color. These are very subtle changes, but they make a big difference.
01:40The Logo subtab lets you upload your own logo that will up here near the top of
01:45the page right by the title.
01:47The Favicon lets you change this little thing that shows up.
01:51It's usually in the address bar and also sometimes in tabs and browsers.
01:55The Layout tab lets you change how many columns there are on the page.
02:02Let's take a look at our page here.
02:03I'm actually going to go back to the way that we have it.
02:06I'll discard our unsaved changes, and you'll see it switches right back to
02:10that Campaign theme.
02:12Now in this one we have a left-hand column and a right-hand column around a
02:17central content area.
02:18I'm going to go back into the Appearance to launch the Theme Builder, go back to Layout,
02:27and let's change that so that both of these columns are on the right-hand side. There we are.
02:32It's actually quite a nice effect once you have your columns all set up.
02:36Sometimes you like to have your main content on the left or the right.
02:39You get all of those options here in this Layout tab.
02:43Now, the Styles tab is the most flexible of all.
02:47This is the one that lets you style individual elements on the page.
02:51Once you've selected this tab, when you move your cursor over any elements on
02:55the page they become sort of highlighted.
02:57Let's say we want to change this title up here, the explorecalifornia title.
03:01I click it and then change its font to, let's say Lucida Sans.
03:07There, and you saw a subtle change there, change it to Monaco, and so forth.
03:12The Styles tab has to other subtabs-- Borders & Spacing--which lets you change, as
03:17you might guess, borders around things, and how they're based on the page.
03:22Again, we'll talk more about this later on in the course.
03:26The Background lets you change what happens behind an element.
03:30So, for example, you could change it to a color, or you could even add a
03:33graphic. That's sort of what you see in this entire page; you have this big body
03:38graphic behind everything.
03:40Finally, in the Advanced tab, you can add your own CSS code, and again we'll be
03:45talking about this much later in the course.
03:48When you finish designing your theme, you can save it, which will allow you to
03:51hold onto it and make other changes without actually publishing it--that is,
03:55without making it live to everybody. Or you could go ahead and publish it.
03:59Before you publish, it'll force you to save it, and then we'll publish it so that
04:03everybody sees the new theme that you've designed.
04:06Finally, there is an Undo and Redo button--
04:08this works just the same as in many programs--and the Export button.
04:13You'll learn more about that in the video "Exporting Themes"
04:16These ones up here get a little bit complicated, and I'll show you how they work
04:21all together in switching, saving, and copying themes.
04:25Now when we close it out, we lose all of our changes unless we decide to save them.
04:29I'm just going to go back to what we had.
04:31Yes, I want to discard them, and we're back as we were.
04:35So that's your brief introduction to theming in Drupal Gardens.
04:40If you're the sort of person who does well by poking around, this is a really
04:43good time to just stop and spend some time doing that.
04:47Create a new site, as you learned in the video about getting started with Drupal Gardens.
04:52Personally, I like to have what I call a throwaway site, so that I can
04:56experiment without worrying about what happens.
04:59You can't hurt anything in Drupal Gardens; the only thing that you might hurt, so
05:03to speak, is a site that if you have a throwaway site you didn't mean to do
05:07anything with anyway.
05:09As you start mucking around with themes, I do want to recommend that you save
05:12copies as you go, using that Save as button.
05:16That way you can roll back to an earlier one if you make a mistake.
05:19I'll show you how to do that in the video about switching, saving, and
05:22copying themes.
Collapse this transcript
Switching, saving, and copying themes
00:00There are four steps to changing themes in Drupal Gardens.
00:04First, you select the base theme; then you modify it if you like or leave it as
00:08it is; then you save your version; and then you publish it to the web.
00:12So once again you select your theme, you modify it, you save it, and you publish it.
00:17It can get a bit confusing in those middle two steps there, the Save and Publish,
00:22because you'll usually do several rounds of revisions before publishing and
00:25perhaps save intermediate versions under various names as you go.
00:30I'll try to make it clearer by showing you what the typical design process looks like.
00:34Now I'll be working on this theme in Firefox when I'm administering it, but I've
00:38also brought up the site in Google Chrome, so that we can see what it looks like
00:42to a visitor. But let's go back to our administrative interface and click
00:46Appearance, so we can start working with it.
00:50First, I'll do something very simple. I'll change it to Minima, and as you know,
00:56the entire site look changes.
00:59One thing that's really nice about Drupal Gardens, by the way--and it's often
01:03not true about Drupal in general--is that all of the themes have the same block regions.
01:08So content doesn't just disappear because the region names are different.
01:12It just stays in the same place.
01:14So our feed that we had here is here, and our block up here is here.
01:18It didn't does appear.
01:19That sometimes does happen in core Drupal, but not in Drupal Gardens.
01:24Now by clicking Publish we'll make Minima the active theme but that everybody
01:28sees when they visit the site. But Minima is the template's name.
01:32We can't change the template itself, so Drupal Gardens is now asking us to save
01:36it as one of our custom themes.
01:38We're doing what's technically called "making an instance" of Minima.
01:42I'm just going to call this exp_cal_01.
01:46This is a naming convention that I like to use because that way I can have
01:49multiple versions and know which came first.
01:52I then click OK; it takes a little minute; and we get this message here saying
01:59that it was successfully copied and saved.
02:03And once it's been published, we get this message saying that the theme is now live.
02:08By the way, I just want to mention that these theme names, that exp_cal_01 that I
02:13gave it, only pertains to this site.
02:15As you know, you can have multiple sites on Drupal Gardens, and if you have
02:18the same theme name in different ones, that's perfectly okay; they don't
02:22relate to each other;
02:23they are specific to the one site you're working on.
02:27Now let's prove that this actually is published by switching over to our Google
02:31Chrome browser and reloading the page, and there it is.
02:35This is what the world would actually see.
02:37Now let's go back and continue our administration of the theme.
02:42Once you start saving themes, they appear in the subtab here under My themes.
02:46Now I want to say something about this underlining that I did here.
02:50I recommend that you use underscores instead of spaces or hyphens in your theme name.
02:56They will be changed into underscores on the server anyway, and if you don't
02:59know that, you could later have trouble, because you're looking for certain theme
03:03assets, and they're in the wrong place.
03:05That particular issue stopped me for a whole day once, so just use underscores
03:09and avoid that whole problem.
03:12Now right now, the Save button up here is grayed out.
03:17That's because we haven't made any changes to this theme;
03:19it's exactly the same as Minima. But let's say that we were to make this
03:23a little bit bigger.
03:24I'll click on Styles and then click on our title, and then just make it slightly
03:29bigger--34 pixels, let's say.
03:32Now, you'll notice the Save button is available again.
03:36I can save that either by just clicking Save, and it republishes the theme
03:41under the same name.
03:42This is still exp_cal_01 as you see up here. Or I can save it under a different name.
03:48If I click there, I can then rename it exp_cal_02, and there we go.
03:58We now have, if we go back to our Themes tab, exp_cal_01 and exp_cal_02;
04:05however, I do want to mention we didn't actually publish exp_cal_02.
04:09We're working on it now, and you can see that because we have that title right
04:13up here, but if we go back to our Google Chrome browser and reload the page,
04:17you'll notice that the title is exactly the same size.
04:20We're still on that first theme.
04:22This part is something that kind of confuses me when I start working with this.
04:26That's one reason I always keep another browser open, so I can see what the
04:29true live theme is.
04:31Now I'm going to try something drastically different: a black background.
04:35I'll go up to Styles again and click in the background, and I will change the
04:42Background to black, like that.
04:46And once again, if I wanted to save this, I would say Save as, and then let's
04:50say exp_cal_black_01. You get the idea.
04:56I don't have to keep repeating this, but it is a good idea to name your themes
05:00like I'm naming them here:
05:01something a little descriptive, but also a serial number, so you can keep
05:04track of what came first.
05:07In fact, I don't like looking at that because I can't really read the text,
05:10so I'll switch back by going to Themes.
05:13Minima is actually the published theme.
05:15I'll click back on it just so that we can see it ourselves as we go.
05:19You'll notice that the one that's actually published has a red border around it.
05:26Now, honestly I found that not always to be consistent in Drupal Gardens;
05:30however, it does look like it's getting better. So by the time you see this video,
05:34that should be much more consistent.
05:36So that shows you basically how to switch around among themes.
05:40Before we go, I'm just going to switch it to this exp_cal_02, and then I'll
05:47publish it, just so that I'm sure that that's what I actually have live.
05:52I can check that out in Google Chrome.
05:54I'll reload the page. Great!
05:57That looks good. And then close out the Theme Builder by clicking on the little X.
06:03I know it can sometimes be confusing to keep straight which theme you're working
06:07with and which one has been published.
06:09Two techniques have been a big help to me.
06:12First, keep an eye on this theme name right here in the right-hand tab.
06:17When you've made a change, as I'll do right now just to show you--again, I'll
06:21just make this font bigger--
06:26when you've made a change, it'll have an asterisk next to it, as it does now.
06:31That means you've made a change that hasn't yet been saved.
06:35Second, view your site as an anonymous visitor in an another browser as you go,
06:39to see which version has been published.
06:42When you do that though, either click around the site a bit or do a power-
06:45reload in the browser, because sometimes the browser will save an old version in its memory.
06:51Here is my last tip:
06:52While you're working on a theme save a copy whenever you get to a point that it
06:56looks pretty good even, if it's not perfect,
06:59because once you start messing around with CSS--as you learn how to do in the
07:03video about modifying CSS selectors-- things can very quickly get confusing.
07:08And if you've made those backups you'll be glad to have a decent version to
07:11revert to.
Collapse this transcript
Introducing custom CSS
00:00Drupal Gardens' Theme Builder is very graphical, but mostly it's just a way to
00:04change text-based styles in the page description language CSS.
00:08These CSS files are important ones that make up the theme that shows how your site looks.
00:14I think it's instructive to see what CSS looks like in its original text form, though.
00:19That way you get a sense of, and appreciation for, how the Theme Builder does its magic.
00:24Let's start by looking at our own sites' pages.
00:27Then we'll take a look at CSS, or Cascading Style Sheets as it's more formally
00:31known, and see how those affect our pages.
00:34First, let's take a look at our page in general.
00:37There are a few things that make this presentation different from just raw HTML
00:41that has no styling information on it.
00:43For one thing, all of the text is sans-serif.
00:46The default for most browsers is a serif font.
00:49Also, the links are in orange instead of blue, which is what you get if you just
00:52create a simple HTML page.
00:55There are layout elements as well, for example, this gray bar up here, and
00:59there are some dynamic elements such as when you bring a cursor over these menu
01:04items up at the top.
01:05They glow a lighter gray.
01:06Now you might remember that themes are contained in a collection of files that
01:10live on the Drupal Gardens server.
01:12We talked about this in the video about understanding Drupal themes, and we
01:16looked at the CSS files of a Drupal theme in a text editor.
01:19Now, we can't do that in Drupal Gardens because we don't actually have access to
01:23the server, but we can use a little Firefox add-on called Firebug, and you can
01:29get that at getfirebug.com.
01:32I have already loaded Firebug into my browser, and I see it as a little, tiny
01:37icon here in the corner.
01:39I'll click that, and it brings up some of the CSS information for my site.
01:44To see specific styling information of an individual element, we click on this
01:47little Inspect icon, and then we can wander around.
01:51Once again, let's go up to the title here since we've been using that as an example.
01:54When I click on it, it sort of freezes the selection.
01:57As we look over here in the Style pane, we can see just how many different
02:01styles actually affect that one little bit of text.
02:05That's because of CSS's inheritance.
02:08There's a style for the body of the entire page; there is a style for the title;
02:13there is a style for h1; and so forth.
02:16It all cascades down, and all of the styles affect this one little bit.
02:21Let's talk a little bit about how those rules work.
02:24Again, you don't have to know the details about this, but the more you know, the
02:28more you'll be able to change your themes in Drupal Gardens.
02:32The first kind of CSS style is very simple.
02:35You name a selector, in this case the <p> tag, and then you say what to do with it.
02:39It'll affect every place the text appears within these <p> tags.
02:43It'll make them black and of that specific size, 1 em.
02:47Going on, you can separate out selectors with a comma.
02:50What that means is that it should affect all of those things that are in that
02:54comma-separated list;
02:55that is, both <li> and <i> tags,
02:58they'll both be made that black color.
03:00You can also narrow down the selector by not putting a comma between them.
03:04In this case, it means that only the text that's in <i> tags that are inside
03:09of <li> tags. The way the selectors work is they become more specific as you
03:14move from left to right,
03:15so <i> tags inside <li> tags.
03:18There are also other kinds of selectors.
03:20Those that start with a hash tag usually refer to a single item on the page--
03:25very commonly used for layout.
03:27For example, #content means the content area of the page.
03:31Everything that appears in that area should be styled a certain way, and then
03:34you would have the curly braces and the colons and semicolons and the
03:38descriptors that say exactly what happens when an element is inside that region.
03:43Dot followed by a name is what's called a class selector.
03:47Elements that are labeled with that class get the special styling.
03:51Finally, there are selectors called pseudo-classes, and they start with a colon.
03:56The most common one is a:hover, which means that it'll change the style when you
04:00move your cursor over a certain element.
04:03But there is more to CSS then that;
04:05believe me, there is a lot more to CSS then that.
04:08Here are a few things to watch out for.
04:10Styles can affect multiple items, and multiple styles can affect an item.
04:15So in other words, when you change the <p> tag style, it's going to affect <p>
04:19tags throughout the site.
04:21Similarly, a block of text might be affected, as you saw a little earlier, by
04:25many, many styles, and you sometimes have to untangle them.
04:28It's not always that easy.
04:30The Theme Builder in Drupal Gardens will help you out because it lets you
04:33select and unselect parts that are affecting a styling, as you'll see a little
04:37later in the course.
04:39Rules will sometimes fight each other.
04:41The one that comes last is the one that wins.
04:44So let's say that a style is first set to be red, and then later it's set to be black.
04:49Well, it'll come out as black.
04:51One thing that Firebug does is it lets you turn off certain parts of a styling
04:55so that you could see what exactly is affecting what.
04:58So I am going to go ahead and select this style once again.
05:02As I move my cursor over here, you'll see a little icon that lets us
05:05black out certain styles.
05:08So let's actually do that now, and now you start to see things changing.
05:11We change the margin, and so that changed the layout of the style. And as you go
05:16down, you'll see other examples of that.
05:17Now you might say, this is awfully confusing, but believe me, it's even
05:21worse without Firebug.
05:22I am just going to go back to my Desktop here, and I can show you that by
05:26looking at raw CSS files in a Drupal installation.
05:29Once again, we'll open up our Drupal installation and go into the themes, and
05:33then open up bartik, and any one of the CSS files.
05:36Let's take style, which is the main one.
05:39And from this, it's really hard to tell exactly what is affecting what.
05:42You'd have to scroll through this whole thing--and this is hundreds of
05:44lines long, by the way.
05:46This is over a thousand lines long, and it's only one of many files.
05:49It's quite difficult.
05:51So you can really appreciate how much the Theme Builder and Firebug are doing for you.
05:56So at base, we have a folder of CSS files with hundreds or even thousands of styles.
06:01Firebug helps us to understand those files better, but it's still pretty geeky.
06:05On the other hand, Drupal Gardens' Theme Builder is like Firebug, but it goes
06:11further to almost completely get rid of the need to know CSS.
06:15It's very graphical.
06:16You simply point at an element, and you make your changes.
06:20The hard part comes in later, in determining whether you're affecting the
06:24right style, because as I mentioned earlier, most elements are affected by
06:27several styles at once.
06:29But we'll go into that in the video about refining selections.
06:32Now I'm not a CSS wizard myself;
06:35that's one reason I personally appreciate the Theme Builder so much.
06:39If you want to go further with raw CSS coding, check out some of the other
06:42lynda.com courses on the subject, such as "CSS Website Design," "CSS Essential
06:47Training" and "CSS for Developers."
Collapse this transcript
Refining selections in the Theme Builder
00:00In the video about introducing CSS, we peeked at the style sheets that make up a
00:05typical Drupal theme, and you saw how mind-bogglingly complicated they can be.
00:10The biggest problem is in determining which styles affect a given element on
00:14your page; even with developer tools like Firebug, it ain't easy.
00:19The Theme Builder in Drupal Gardens goes a long way to making CSS more
00:22accessible, including the ability to select individual styles;
00:26but it's still a little tricky.
00:28This video leads you around some of the traps.
00:32First of course, we go up to Appearance to bring up the Theme Builder.
00:38Just as a reminder, this little tab up here shows that we are working with
00:41the exp_cal_02 theme.
00:43That's one of the themes we created earlier.
00:45I am going to save it as a different name once again, as a good sort of way to
00:49make sure that we can roll back if anything goes wrong; ex_cal_03 and save it.
00:56I will also publish that theme so we can keep track of it as we go.
01:06In the Theme Builder, CSS is mostly affected through the Styles tab.
01:11As we go around the page and click on things, we see this message here, "You are
01:16styling," and then it describes what it is:
01:18"All links in all list items in the navigation region."
01:22This is actually an English language translation of what the CSS actually is.
01:26Over here, you can turn it on so you see the real CSS.
01:30So I'll switch it from off to on, and watch what happens with this, "You
01:33are styling" message.
01:36See, it was all links in all list areas in the navigation region.
01:41If we turn it off again, you can see.
01:44I'm going to keep it on the CSS Styling, so that we can start to learn CSS as we go.
01:48By the way, this is a great way to learn and understand CSS.
01:52It's a good way to even test yourself.
01:54You can point at something and say, okay, with the CSS off, it's all links in all list items.
01:59Okay, if I would have put that in CSS, it's going to be something like
02:03#preheader-second li a, and then if I turn it off, that's exactly what it is. Very good.
02:11The other switch here is this Power theming switch.
02:14Watch what happens with this You are styling area as I turn it on.
02:17There are two changes. First of all, there's a hierarchy indicator.
02:22It shows exactly what is being styled, even if there aren't any styles that are
02:27affecting it from that thing.
02:29For example, the bit up here which is what we're styling: We know that it's a link.
02:32We know it's in list.
02:33It's also part of this ul container, which is again in a block.
02:38This is a block up here.
02:39It's part of the body, which is the entire page, and so on.
02:42The other thing that's different when you turn on the Power theming is these
02:46little pop-down menu show up.
02:47Let's do that next to the a here.
02:51We can now select to change the theme, not only for the link as it shows right
02:55now, but what happens when you hover over it or when it's already been visited.
02:59These are those pseudo-classes I mentioned in that earlier video
03:02about introducing CSS.
03:04There is something that you will notice as you point at elements on the screen;
03:08they will often have these little arrows which will be either above, below, or to the two sides.
03:13As you hover over them, it tells you exactly what it is you're going to go to by
03:17clicking on that arrow.
03:19In this case, it says, Select the parent element.
03:21Let's click it and see what happens.
03:23See, it went from li to ul.
03:26If we were to click it again, it then goes to the larger area of header.
03:32Similarly, we have these siblings to the right and sometimes to the left.
03:37These words--parent, sibling, and child-- are somewhat complicated, but they're all
03:41related to the way that web pages are structured, and that's according to
03:44something called the Document Object model, or DOM.
03:48Two lynda.com courses that explain it well are "XML Essential Training" and "Real-World XML."
03:54If you search the lynda.com site for XML of course, you may find others.
03:58I would like to go back and start selecting individual elements here, like
04:02let's click this Mission element here.
04:04Now as you go down here, you can actually turn on or turn off other styling
04:09selectors, like ul or navigation.
04:13Let's say that we want to do the entire navigation bar instead of just
04:16this navigation region, and we want it to be everything inside it, not just these links.
04:20Well, we could turn those off by clicking like that.
04:25As we do that, you see that the selector, this little blue line around it,
04:29expands to show exactly what's being styled. Or if we were to say that we want
04:33all link items by clicking the a here and turning off navigation, you see that
04:38it actually selects every link on the page, no matter how it's styled.
04:42Even though this one looks different from this one, they're both styled with the
04:45a. So you can see that the Theme Builder really helps you understand CSS more
04:50than pretty much anything I have seen.
04:53Now while you're doing this and you start styling things, try not to get too discouraged.
04:58CSS selection was one of the hardest things for me, personally, to understand when
05:01I first started using Drupal Gardens.
05:03Even after playing with it for a while, I still get stumped from time to time,
05:07particularly because some styles are located on top of each other so you can't
05:11easily click the one that's on the bottom.
05:14One good example of that is these links up here.
05:17In the menu you have the text, but then you also have the boundary box that
05:21contains the text, and it goes on like that.
05:23It can be kind of confusing.
05:25Once when this happened to me, I got a lot of great help from the Drupal Gardens
05:29staff by posting a question in their community forum.
05:31You can learn how to do that in the video about getting help.
05:34One reason they were able to help me is that all of their themes are
05:37standardized, including the CSS style names.
05:40That also means when you learn how to style one Drupal Gardens theme, you are
05:44actually learning how to style all of them.
Collapse this transcript
Exporting themes
00:00Now we have reached one of the easiest parts of Drupal Gardens, but it's also
00:04one of the most useful: that is, exporting themes you have created in the Theme Builder.
00:09I have mentioned elsewhere in this course how hard it is to create Drupal themes
00:12the traditional way.
00:14You get a lot more control, but you need some specialized knowledge of PHP
00:18programming, as well as Drupal's unique theming system.
00:21If you create a theme in Drupal Gardens and then export it, you don't need any of that.
00:26In this video I will show you two things: how to export the theme and how to use
00:31it in the standard Drupal installation outside of Drupal Gardens.
00:35For this latter part I have already installed Drupal on my computer after
00:39downloading it from drupal.org.
00:41If you want to follow along at home and need to learn how to do that, watch the
00:45installation section of my lynda.com series "Drupal Essential Training."
00:49It will have to be the latest version of Drupal though, in order to be compatible
00:53with the theme that you export from Drupal Gardens.
00:56To get started in Drupal Gardens, we click Appearance to bring up the Theme Builder.
01:00I will just quickly make sure that I know which theme I am exporting. Yes, it's
01:06exp_cal_03, which is one of the themes that I created. It's in My themes, and
01:10good: it has that red box around it.
01:13So I just go up and click Export.
01:15I am going to call this "explorecalifornia" and click OK.
01:21Drupal Gardens takes a moment to package up the theme and then offers to save it
01:25to your download location.
01:27I click OK and there it is.
01:29It's now in your download location in a compressed format.
01:33If you want to learn how to uncompress them, see Garrick Chow's computer
01:36literacy courses also on lynda.com.
01:39I have already uncompressed it on my computer and taken it out of the folders
01:44that it was contained in, because when you download it, it actually ends up
01:47contained in two or three folders.
01:49What I end up with is the theme itself, with the name acq_ and the name I gave
01:55it, explorecalifornia.
01:57If you double-click it, you will see that it's just like any other theme.
02:02It has CSS files, PHP files, and up here, the info file.
02:08If you want to learn more about how to change these files, see the course
02:12by Chris Charlton about designing Drupal themes. Then it's a simple matter of installing it.
02:18You do that in the standard way.
02:20I am going to do this the old-fashioned way.
02:22I will open up my drupal folder here, go down to sites, open up the all folder
02:29and the themes folder, and just drag it in.
02:34Now when we go back to our core Drupal site, I can look at the themes page by
02:38clicking Appearance.
02:39Now remember, this is a core Drupal, not Drupal Gardens, so it brings up this screen.
02:44Scroll to the bottom and there it is, explorecalifornia.
02:47I will enable it and set default,
02:50close out the overlay, give it a moment to redraw, and there it is.
02:54You know, when Acquia first announced development of the Theme Builder in Drupal
02:58Gardens, I had no idea they would allow theme exporting like this.
03:02And you think about it, it's a pretty gutsy thing of them to do.
03:06A greedier corporate decision would be to let you create these terrific themes
03:09in Drupal Gardens, but then not give you a way to take them with you when you
03:13leave, thereby forcing you to stay a Drupal Gardens customer.
03:17But instead they followed a more open source ethic, and I say, good for them.
03:22Once you have exported the theme, you might of course want to modify it further,
03:26perhaps in ways that Drupal Gardens doesn't allow, such as using PHP to change
03:30page logic. To do that I recommend once again the lynda.com course, "Drupal:
03:36Creating and Editing Custom Themes."
Collapse this transcript
7. Creating Site Designs with the Theme Builder
Changing the site's color palette
00:00One small thing you can do to make your site's design fit its content better is
00:04to change its color palette.
00:06Drupal Gardens offers a choice of designer- selected sets of colors that go together well.
00:11You can always apply your own colors to individual elements.
00:15You learned a little bit a about that in the video about refining selections in
00:18the Theme Builder and you'll learn more about it in two other videos about
00:21adjusting typography and adding background colors and images.
00:25But I find the best way to start is with one of Drupal Gardens built-in color palettes.
00:30To go there, click Appearance and then Brand.
00:36As I briefly showed before, you just click on any one of these, and it changes
00:40the entire site's look.
00:42There is quite a bright look, and it changes different parts of the site.
00:46It might change the background color;
00:48it changes this navigation bar; this search that changes the color a little bit; and so on.
00:54But mostly I am looking for something basic without that bright orange that was
00:58in the original theme.
00:59I have looked around a little bit, and I kind of this Kenwood look, especially
01:03for California, which has woodsy feel.
01:06I will then save it and publish it.
01:08I think I will save that as exp_cal_kenwood_01. Okay.
01:16Then once that's done, I will publish it, so that this is what the world sees.
01:20For most Drupal Gardens themes, changes in color palette mostly affect highlight
01:25color on a site--that is, the text and borders and rules.
01:30You can make much bigger impact by changing the background color or by replacing
01:34it with the graphic.
01:36We won't show that in this video; instead, you will learn how to do it in the
01:38video "Changing Background Colors and Images."
01:44And that's all there is to it.
01:45Now I have to admit that I am pretty ignorant about color theory, but when the
01:49colors are wrong, I just know.
01:52I expect business sites to have muted blues and greens instead of bright clown-
01:57like colors, for example. That implies money and suits, whereas gaming sites
02:02should have bright colors and a black background.
02:04These are just some of the standards that have grown up on the web, and Drupal
02:08Gardens helps you follow those standards.
02:10If you want a really delve into what makes good color usage though, I recommend
02:14the lynda.com course "Working With Color" and certainly just poke around the
02:18palettes that Drupal Gardens offers.
02:21Most importantly, as you do that, is to keep an eye on how the colors fit
02:25your content, including such corporate identity items such as logos and
02:30illustrations.
Collapse this transcript
Changing the site's main logo and favicon
00:00It's sort of odd that we've gone this far in the course without changing the
00:03main logo, isn't it?
00:05Fortunately, the setting isn't that hard to make;
00:07you just have to find it.
00:09This video shows you how to do that, and also suggests an alternate way to
00:12display your logo that I think works better in many cases.
00:15Along with the logo, we'll add a custom favicon to appear up here near your browser bar.
00:22One thing I have to mention before we start though: as with all graphics on the
00:25web, you'll need to use an image-processing program to size your logo before
00:29you put it on the site.
00:31There are dozens of lynda.com videos that will help you with that, such as
00:34Photoshop for the Web.
00:36But let's get to it.
00:37In the exercise files, you'll find a graphic named logo-final.gif.
00:42I'll show how you how to implement it.
00:44You go up to Appearance.
00:49Then when the Theme Builder opens, you click Brand and Logo.
00:54You then Browse for it.
00:55I happened to have put it on my Desktop, so that's easy enough to find. And Open it.
01:03You'll notice that it's warning that you have to enable a block, and it offers
01:07to do that for you.
01:08I'll go ahead and say sure, go ahead and do that.
01:11As long as we're here, I'll also upload a custom favicon, or a shortcut icon.
01:16We have one named hills-favicon.jpg.
01:19If you don't know what a favicon is, it will be clear after we upload this one.
01:24Again, I go to Logo and Browse, and there it is.
01:29Open and wait a moment.
01:31Now, you saw it change down here, but you also saw it change up here in the browser bar.
01:36The location of the favicon varies from browser to browser, but it's usually
01:40somewhere up here near the address.
01:42It's a nice little visual reminder to people that they're on your site.
01:45The one thing to remember as you design your favicon is that they're only 16- or
01:4932-pixels square, so you have to keep them extremely simple.
01:54In designing this site, I originally used our full Explore California logo, this
01:58big one here, but it just became unreadable mush when reduced.
02:02So instead I used the simple evocative graphic instead, right up here.
02:07Now you know the quick way of adding a logo. But to be honest, I don't like
02:11the way it looks, and we can see that in full when I close out the Theme Builder like this.
02:15Oops! It's reminding me that I have to save my changes, so I'll go back and save.
02:24I can then close out the Theme Builder.
02:29The problem I have with putting a logo up here is it makes it impossible to
02:33smoosh down all that white space up here at the top.
02:36So I'm going to apply some design judgment to move that logo over to the side.
02:40What I'll do is simply move the logo from that header region, or what's actually
02:44the site logo region, into the sidebar A region.
02:48If you're not sure what that means, watch the video on working with nlocks.
02:51I'll also get rid of our site's name as it appears here, since it's really
02:55redundant with the graphic.
02:56First, we'll start with the block.
02:58Go up to Structure and Blocks.
03:02You can see your block regions by clicking here, on Demonstrate block regions.
03:06And it gives you a sense of where exactly that site logo is.
03:09It's somewhere up here in one of these regions.
03:12I'll exit that though, and do a search on this page.
03:18There it is, in the header.
03:19Instead, I'm going to put it in sidebar A. Scroll down a little bit.
03:26Yup, it shows up at the top there.
03:28Scroll to the bottom and Save blocks.
03:32Let's see what that looks like. Ah, it worked.
03:37But there is something strange when you arrange blocks:
03:39sometimes it doesn't stay quite in the same order as you expect.
03:43So I'll go back up, and I'll bring it up to the very top, and save again.
03:54This is a small bug that I've discovered in Drupal Gardens.
04:01Close out the overlay, and there it is.
04:04That didn't completely solve the problem.
04:06We'll still have to change some styles later, in the video "Changing
04:09element spacing and borders."
04:11But at least we've cleared out the space up here by moving that logo out of the way.
04:16Now let's get rid of the site name and slogan.
04:18For that, once again, we go up to Structure and Blocks,
04:24and there's our slogan.
04:26I'm going to move it into No area, and then do the same with the site name--move it to None.
04:32Scroll down to the bottom, save, and then take a look at it.
04:41That's a lot more like the way I want it.
04:43Now, you'll note that the site name still shows up here in the Title bar.
04:47You saw a little more about how the site title and slogan work in the video
04:50"Configuring the site."
04:51Watch that video again if you want some more details.
04:54But overall, that was pretty easy, wasn't it?
04:57The technical part of adding a logo is as simple as it can be, really.
05:00But this video marks the start of us delving more into how the site is designed.
05:05That is, we're using the Theme Builder as just one tool in Drupal Gardens' box.
05:10While theming changes are the most immediately visible changes you can make,
05:13blocks, simple views, rotating banners, and other site aspects all work together
05:19to get your site's message across.
Collapse this transcript
Changing the column number and arrangement
00:00This video will show you something that's incredibly easy in Drupal Gardens,
00:04but it's actually pretty hard with self-hosted Drupal because there you need to
00:08know PHP and some server maintenance skills. With Drupal Gardens you simply point and click.
00:14One curious thing is that Drupal Gardens handles this change very differently
00:18from how it's done in traditional theming.
00:20I'll show you that when we are done by exporting the theme it creates and
00:24opening the relevant text files.
00:25What I am talking about specifically is moving columns around.
00:29I'm going to actually hide this column in the right, so that we have more room in
00:33the center of the page, and that'll be true throughout the entire site.
00:37One place you will notice especially is on this About page. Right now we have
00:41this map in the middle, and it doesn't really have very much room to breathe;
00:44it's kind of crowded in there. But when we're done, it'll have this whole area on the this side.
00:48So first we click Home to go back Home, and then we launch the Theme Builder, as
00:53usual, by clicking Appearance.
00:56Once there, we click Layout.
00:58Now before I continue, I'm going to save a copy of this just to be safe.
01:03I am going to save this as ex_cal_010 to start a whole new series at 10, and OK, and publish it.
01:14Great! Now we're going to start moving those columns around, and when I click on them,
01:19you'll see pretty much what the result will be.
01:21I click here, and we have the two columns off to the right.
01:24You can see that better if you click the Minus sign here. Or you can actually
01:29remove columns entirely, so that we have just the left-hand column and the main
01:33content area without the right-hand column.
01:35That's actually what I'm going to do.
01:37I'll click All Pages, which will change every page on this site, and then once
01:41again I'll publish it. And to demonstrate that I'll close out the Theme Builder
01:46and start clicking around the site a little bit.
01:48Let's go back to that About page, for example. See? Much better.
01:53Even though the map is still small, and you can change that setting by the way
01:56by going back to the Google Maps page and fiddling around with the code, but at
02:01least it doesn't get crowded in by all the information over here.
02:05There is one strange thing about this though: we had a feed in this right
02:08column, and we basically just lost that.
02:11Don't worry, we didn't lose the information itself because you might remember
02:14it was contained within a block, and you can see that by clicking Structure and Blocks.
02:20As we scroll down, you can see that it's still contained within Sidebar B, and
02:24in fact if we were to change our layout back so that Sidebar B showed up on the
02:28right side, it would show up again. So we don't really have to worry about losing content that way.
02:33I am going to make one more change.
02:36One common site design is to make the front page different from all of the
02:39others, usually with more links and navigational stuff. That way when people
02:43drill down into other pages, one of the sidebars disappears so there's more room
02:48for the main content.
02:49I like that system, so here we go. The first thing I'll do is I'll close out this
02:54overlay and go back to our front page. Then I'll go back into our Theme Builder
02:59by clicking Appearance and back to Layout.
03:03This time I am going to return that B column to the right-hand side but click
03:08only on Just This Page, and then publish it. And just to be sure it's working,
03:15I'll hide the Theme Builder a little bit and click around, and that should
03:18disappear, and indeed it does.
03:21The About page is the same as it was with the open area on the right, while the
03:27front page has that right column.
03:28Now I want to export this theme just to show you how to Drupal Gardens does this.
03:34If you want to follow along and need help doing so, see the video about exporting themes.
03:39I'll export it as ExploreCalifornia2.
03:43As usual, Drupal Gardens packages that up and saves it.
03:48Now that it's downloaded you, have to uncompress it.
03:51If you have any problems doing that, see Garrick Chow's videos about computer
03:54literacy, also available on lynda.com.
03:57I've already done so, so we'll just double-click the folder, and there's our theme.
04:02The thing we are going to look at is that .info file, so let's see where that is.
04:07There it is, right near the top.
04:10I'll open that up in Notepad and scroll down a little bit.
04:14As I scroll down, you see this whole area here about configurations. These
04:18are all the different two columns, one on the right side, one on the left, and so forth.
04:22I'm only showing you this really to give you a sense of the pain that you're missing.
04:27You can do a lot more with themes by editing these files, but it is quite difficult.
04:31If you want to learn how, watch the lynda.com "Drupal: Creating and Editing Custom
04:36Themes," in particular the video "Creating a template to theme individual pages."
04:41One thing that you can do by watching that course is you can change every page
04:45that contains a certain content type-- for example, the tour page--so that it has
04:49a different layout from everything else.
04:51In Drupal Gardens you'd have to change each page individually, and that wouldn't
04:55take into account any new pages that you create of that content type. But for a
04:59graphical editor, it really does a lot, and the layout changes it does offer are
05:04enough for most kinds of sites.
Collapse this transcript
Adding background colors and images
00:00Now, we come to the most impactful video of the entire course:
00:04the one that lets you change background colors and images.
00:08I don't have to tell you what a difference it will make because you'll see;
00:10it will be absolutely obvious once we start.
00:13So, let's get to it.
00:15As usual, you launch the Theme Builder by clicking Appearance.
00:19Once there, you click Styles and Background.
00:23Now you'll notice that it shows the Background color is being black, but that's
00:27just because nothing is actually selected.
00:29So the first thing we do is we're going to select the entire page background.
00:33Just click anywhere in the background and then take a look at the selectors
00:37down here. And we see, yes, that's the entire page.
00:41If you hadn't turned on Power theming or Show CSS, it would have said, You are styling:
00:46The page, but I prefer to leave those on.
00:50We talked about the information in this bar in the video about refining
00:53selections in the Theme Builder.
00:55Let's go through a few different colors and see what it looks like.
00:58Right now, it shows no color.
00:59That's the little checkerboard pattern.
01:01It's sort of subtle, but if you look closely, you can see it.
01:04But we could change it let's say to brown, or green, or a light gray.
01:10The colors that you see here are the ones that came with this Kenwood color
01:13scheme that we selected in a previous video.
01:15You can also have a custom color if you like by just clicking this little Plus
01:19sign and moving around as you would in any other kind of color selector.
01:23Let's just say Add. Let's have a dark blue background.
01:26Ugh, that's terrible.
01:28Okay, we'll get rid of that and switch back to a light gray.
01:32One thing you might notice is that no matter what color we choose, it lowers the
01:36contrast throughout the page.
01:38The text isn't quite as easy to read when we have that color selected.
01:42Let's go back and select the area--make it like a green.
01:48Now you can't read anything at all.
01:50Even a gray makes it a little bit harder to read.
01:52So, I'm going to just go back to what we had before.
01:55One way of doing that is just clicking off, say over to this Close Theme Builder
01:59button, and we're back to white.
02:02Now let's move to putting in a graphic.
02:04Remember, as with any web graphic, you'll have to create and adjust it in an
02:08image-editing program.
02:10lynda.com has lots of videos that'll help you with this,
02:13one of them being "Photoshop for the Web."
02:16One popular kind of image to use as a background is a gradient, and so that's
02:20what I'm going to do. I have one right here.
02:23I'll just click Browse and then go into my exercise files and open
02:26page_background.jpg.
02:31As we scroll down this page, we see it gets lighter as we go.
02:34We also have it repeating.
02:36If we turn off the repeat so that it doesn't go left to right or right to left,
02:40we see the actual graphic itself is a very thin little thing over here.
02:45But the default repeat is for it to repeat in both directions,
02:48up and down and right to left.
02:50The problem with that though is if the page is long, as is true in our case, it
02:55then starts again right here.
02:56So instead, I'm going to have it only repeat horizontally.
03:00There, now it goes all the way from this dark blue down to white, and then since
03:06the rest of the page is white, it just blends in naturally.
03:10Now that we've done that, I'm just going to publish it.
03:14Then I'm going to close out the Theme Builder, just so I can take a clear look
03:17at exactly what I have. Yup!
03:20Looks pretty good.
03:21There is one thing that I don't like though, which is although it's nice to have
03:25this dark color up here,
03:27when we get in here we can't read any of the text.
03:29That's okay though.
03:31We can change all of this area in here, so it's white, and we just have the
03:35background around the edges.
03:36To do that of course, we go back into our Theme Builder, click Styles, and
03:43once again Background.
03:45Now I have to find the area that I want to change that I want to not have that background.
03:49So, I would start clicking around here.
03:51Well, that's just the header area, and again you see it here in the CSS selector.
03:56That's the main. Ah, but when I click main, I see it gets bigger and bigger.
04:00I'm going to try just this content area, and get rid of everything else.
04:06Then if I scroll around, I can see the boundaries of what that content area actually is.
04:10It's that solid blue border.
04:15Now, I've worked with these themes, and I happen to know that that's what I want,
04:18so that's what I'm going to do;
04:19I'm going to change that Background to be white over here. Say OK and once
04:26again I'll publish it.
04:29We're well on our way. And here is a little something that's really impactful:
04:33what I just showed you not only works for the pages background, and not only for
04:38large area backgrounds, but for any background.
04:41In fact, I'm going to put a graphic in at the top of the page.
04:46To do that, I select the area once again. And I happen to know that this one is
04:51going to be the header area, so that's the one I'll use.
04:54I'll go back in and browse as I did before, and choose this main_back-top
04:58graphic, and select Open.
05:01That looks pretty good.
05:03But in this case, the graphic isn't quite wide enough.
05:07Ideally, we would go back and fix the graphic, but let's say you don't have that option.
05:11You can also fix the spacing of that graphic, and I'll show you how to do that
05:14in the video about changing element spacing and borders.
05:17There is one last thing I want to mention about putting in colors or
05:22backgrounds, which is you have to be careful when you apply it to something that
05:26has a rollover, because the thing is you might change the background for one
05:30state of the rollover but not for another state.
05:33In that case, you have to start messing around with all of those pseudo-classes
05:37that I talked about before, and make sure that you have matching colors or
05:40matching graphics for both when you roll over and when you leave.
05:45The last thing I'll do of course is to publish this. And so that we can see what
05:51it looks like, I'll close out the Theme Builder.
05:54Boy, that made a big change, didn't it?
05:56Background graphics are great, but as you can see, they require a little bit of attention.
06:01You have to either edit them beforehand, so they fit your page, or change the
06:05spacing of your page afterward so it fits the graphic.
06:08We're actually going to do the latter in that video I mentioned about changing
06:11element spacing and borders,
06:12although that's backward from the way that traditional web design works.
06:16Usually, it's easier to edit the image than play with CSS, but with Drupal
06:20Gardens' Theme Builder CSS is so easily handled and so fluidly handled,
06:25I find that you can do either one just as easily.
Collapse this transcript
Changing element spacing and borders
00:00When we last left our web site, we had just added this background graphic
00:04that you see at the top.
00:06It's pretty, but the spacing is a little bit off, and we have got this line
00:09going through the guy's head.
00:10We can fix both of those things by changing the spacing and borders.
00:15To reach those controls, click Appearance to go into the Theme Builder, then
00:21click Styles, and then Borders & Spacing.
00:24Before we start making changes in earnest, let's take a look at the
00:27controls available to us.
00:29I am going to save a copy of our theme, so we can play around without
00:32hurting the original theme.
00:34The details on how to do this are in the video about switching, saving,
00:37and copying themes.
00:38I am just going to save this as exp_cal_ test, and then I'll publish it so that I
00:48am sure that that's the one I'm working with.
00:51As with all other controls under the Style tab, you first click an element on the page.
00:56I will just use this image right here and then start playing with the margins.
01:00Now there are two ways to change them:
01:02You can either click in this area; and that brings up his little slider bar; and
01:06you can adjust like that. Or you can actually type in directly numbers, so
01:10instead of 0, I will type in 10.
01:11Now as I do this, you'll notice the change right up above. As I make the
01:16margin bigger on the top, it brings the image down further on the page.
01:21If you want to change all of the margins around, just go into the corner here
01:25and then do your dragging.
01:27See how that moves the graphic down?
01:29Along with the margin, there is something called padding, and you might wonder
01:32exactly what the difference is between border and padding.
01:35Here I'll show you just what happens when I make the padding bigger.
01:38So you see that blue area around the graphic?
01:44That defines the elements borders, so to speak, the element's bounding box.
01:49When you make the padding bigger, it increases the space inside that bounding box.
01:53When you change the margin, it changes the space outside that bounding box.
01:58It's a very subtle difference, and mostly where you know it is in repeating
02:01things, such as on these menu items at the top.
02:04If I change the margin, it has a slightly different effect
02:09than if I were to change the padding.
02:13The best way to really understand this is to go back and play with it yourself.
02:18Finally, we have our border.
02:20I'll go ahead and click on that image again and then start adding a border.
02:25And you see it does exactly what you would expect it to do;
02:27it puts a border of a certain color around the element that you selected.
02:31You can change that color as usual, or interestingly,
02:35you can change its style. Now we have solid.
02:37There is also dotted, dashed, and interestingly these grooves and ridges and so
02:43forth, which has this kind of 3D effect that I really like.
02:46One thing to watch out for: when you add a border, make sure that the border that
02:51you're adding doesn't blend in with the background color.
02:53If it does, you might start adding the border and changing style and
02:56thinking, why don't I see it?
02:58Oh, it's because it blends in.
03:00The other thing to watch out for is make sure that the style is not set to None,
03:04because then you don't see it at all.
03:07So now that we know what we're doing, let's out of this test theme, go back into
03:11our production theme, and fix the gap
03:13that's up here next to the header.
03:16To do that, we go to our Themes > My themes, and back to the one I was using,
03:21which was exp_cal_010.
03:22Yup, I want to describe the changes I made.
03:29And then just to be sure it took, I click Publish.
03:34Usually when you have a problem like this, the hardest part is figuring out
03:37exactly which element that you need to style.
03:40I'll click on Styles here, so that you can see what I mean.
03:43Click on Borders & Spacing just to be ready.
03:46Now as I come up here, there are a whole lot of different styles that I could be changing.
03:50This one is the preheader- second-region. There is a header.
03:53There is a preheader.
03:55It's a little easier for us though, because we placed this graphic ourselves,
03:58and you might remember we placed it in the header area, so we know what we want to affect.
04:03So how do we change it?
04:05Well, let's start messing with the margins.
04:07I really want to get rid of the margin on the right-hand side, so I'll try
04:11bringing that in a little bit.
04:12Yeah, that works pretty well.
04:14Let's see what would've happened if I'd tried the padding.
04:16Now that's really not what I want to do, although I could do that instead if I wanted.
04:21I am going to keep it with margin, and that comes to let's just say 32.
04:29Now as the matter of style, I don't want to have this jagged, stair-step effect,
04:34so I am going to also change this area here.
04:37Once again, it's going to be difficult to figure out exactly what section we
04:40want to change, but as it happens, I know the CSS styles of Drupal Gardens
04:45themes fairly well, so I click, and I happen to know that it's the content area
04:49that I want to change.
04:51And I change that also to 32. And again, you can go and just type the number if you like.
04:57And we see, in fact it does line up. Terrific!
05:01The last thing we're going to do is get rid of this line that's going
05:04through the guy's head.
05:05Once again, you have to figure out which part of the page to change, so I will
05:09just start clicking around.
05:11That looks possible, so we click there.
05:13No, that wasn't it.
05:16There. Let's see. Ah, yes.
05:18There is a border at the bottom of this area, the preheader area.
05:22What happens if I make that 0? Yup, it disappeared. Terrific!
05:26I'm going to save that, and in doing so, it publishes that theme.
05:35And finally, I'll just close out my Theme Builder, so I can take a good clear look at it.
05:40Now as you can tell at this point, you could spend hours just on spacing, and in
05:44fact, that's what you end up doing when you're working seriously on the design.
05:48We will do a little bit of touch-up in the video about finessing theme design.
05:52I encourage you to start playing with borders and spacing on a variety of Drupal
05:57Gardens-based themes and just remember to save test versions of them so you
06:00don't hurt anything, and then just go wild with it.
06:03Because their style names are standardized, you will very quickly get a sense of
06:07what you have to select to affect a given element.
Collapse this transcript
Adjusting typography
00:00Modern CSS handles just about every aspect of page display, but early versions
00:05focused more on typography than on such matters as positioning.
00:09If you know how to handle type on a print layout program, such as InDesign or
00:13even on a word processor such as Microsoft Word, then you will be right at home
00:17with Drupal Gardens' controls.
00:19As usual, the hard part is making sure that you have the right CSS selectors
00:24before you start making changes.
00:26The only thing I am going to do on this page is to make these menu items look a
00:30little bit more classical, maybe give them a serif font, maybe put them in caps.
00:34But along the way, I will show you some of the other controls that you have for
00:37typography in Drupal Gardens.
00:40As usual, you bring up the Theme Builder by clicking Appearance, and then click Styles.
00:46We want to change the typography, so we will just leave it on Font.
00:49Then we go and find what exactly we want to change.
00:52Let's change these main menu items, as I said.
00:55Click there and then click Font, and you will notice that you actually have a
00:58large selection of fonts to choose from.
01:00I am going to take Georgia. I like its classic look.
01:03Once you have something selected, you will notice all of these things that you
01:06can change: underline obviously,
01:09italics, bold, any combination of those if you like.
01:13You also can change the alignment.
01:15Now it's not always obvious when you change alignment, because it changes it
01:18within its own little bounding box.
01:21Like if I make this align right, it doesn't actually change anything.
01:24You might think it would go all the way over here, but the individual
01:27bounding box is right here.
01:29It's not the entire bar.
01:30So I will change that right back to the way it was.
01:33And as I described, you can change it so it's all caps.
01:36One thing to watch out for: when you change something to all caps, it does
01:39make it larger over all.
01:41So sometimes it's a good idea to bring down the font size just a little bit.
01:45And I will publish that.
01:49Now, I didn't mention these two controls here which control leading and kerning.
01:53I will show how that works by going down to some body text here.
01:57Let's just actually select the main body text right here. And if I look at the
02:01selector, it's all field items that are in between p tags in the main area.
02:07Okay, so that would be anything that is right in the middle here.
02:10We are going to change it back, so it doesn't really matter.
02:13If we go and change the leading, you see that it actually changes the amount of
02:16vertical space between the lines that are within a paragraph.
02:20The kerning changes horizontal space between the letters.
02:24Generally speaking, you want to be very subtle with this, because as you can
02:27tell, it gets really ugly really fast.
02:30One thing that people sometimes do is they will do a very subtle kerning inward
02:33if they want to fit more text onto the page. But for us we are not going to do
02:38either of those things,
02:39so I am just going to leave the Theme Builder, discard my changes, and we
02:45are back as we were.
02:46Once again, I will go back in just to show one or two other things.
02:50I clicked Appearance to go into the Theme Builder, then Styles, and I am back at Font.
02:55Let's scroll down here and take a look in our right column.
02:58Let's say that we wanted to change just these titles in the left column.
03:03I will click there, and we see it's h2 in #sidebar-a.
03:07Now, we could say we want h2 that's only in a block in #sidebar-a by clicking
03:12there. Or we can make Drupal Gardens change all of the h2s throughout the page
03:17by removing the #sidebar-a.
03:19We learned about this in the video about selecting CSS, but just to review, let's
03:24take a look at what exactly that does.
03:25Well, that would affect this, and it would affect this, basically throughout the entire page.
03:31This is a good way to give your page a very consistent look.
03:35Like let's change that to Georgia now.
03:37Because we expanded what exactly we are selecting, we now have that Georgia
03:42look throughout the entire page. And I think it looks pretty good, but actually
03:45I am just going to close out and leave as it was with our main menu changed and nothing else.
03:51Now, I want to mention two more things to watch out for when you change font styles:
03:55First, if you're using the background graphic, and you make the type larger,
03:59text might end up running past the end of the background graphic, and that
04:03could look really bad.
04:04Second, be careful when you change font color, because it might disappear into a
04:09similarly colored background shade.
04:11That's especially tough to watch for when you change the style that shows up on
04:15multiple places on the page.
04:17As always, vigilance is the watchword, and it's a good idea to look at your
04:20site both as a visitor and in multiple browsers.
Collapse this transcript
Using fonts from outside sources
00:00I showed you how to change typography on your site using the Theme Builder and
00:03the forty or so fonts that come built into Drupal Gardens, but you can do much more
00:08by gaining access to external font libraries.
00:12Drupal Gardens comes with settings for two such popular libraries: Fonts.com and Typekit.
00:18The first thing we do is to turn on the Font Management module.
00:21You go up, click Modules, then scroll down to Font management, which is in
00:26the other group, down toward the bottom. Check its box, go to the bottom, and
00:32click Save configuration.
00:34Now you have to sign up for those font libraries, then configure them within
00:38your Drupal Gardens site.
00:40Don't worry about the sign up phase; both libraries have a free
00:43subscription level.
00:44I'll show you how it works with Fonts.com, because the system is similar for
00:48both it and Typekit.
00:50We go up to Configuration and then down to Font management.
00:56First thing we'll do is enable our Fonts.com web fonts.
00:59Then you'll notice that there are links all around here for where to go in
01:03order to get your Fonts.com account, and the same is true for Typekit down at the bottom.
01:07I'm going to Ctrl+Click, since I'm on Windows, to open that in a new tab;
01:11if you're on Mac, Command+click.
01:14Then I'll switched to that tab.
01:16I'm already signed in for this account, so I'll click Enter; otherwise, you would
01:21go through the normal account-creation process. And, again, there is a free
01:24level, as well as some more premium levels.
01:28For Project name, I'll call it Explore California, and then I'll paste in my
01:34domain, then click Save project.
01:39The next step is to select a font, but first I'm going to save my changes.
01:45Once that's done, I click Choose fonts.
01:48You'll notice that some of them simply say Add to project. These are the free
01:53fonts. The ones you have to pay for say Upgrade. I'll just pick the first one,
01:58Albertus, click Add to project, and it's done.
02:02All I have to do is publish it.
02:06Now I'll go back to my site, Before I can continue, I have to get
02:09my authentication key.
02:11The text down here explains how that works.
02:14You go to My account and then click the Account summary tab.
02:18I can do that, go back to Fonts.com, My account, and Account summary.
02:24Then down here I see my authentication key.
02:27I just copy the entire thing and go back to my site and paste it in that field.
02:32When I click outside that box, it looks up all the information from that
02:37account, and in fact fills in with the project that I have.
02:40If I had multiple projects, of course I would select the one that I wanted here.
02:44Then I go down and save.
02:46Now I'm ready to use my fonts.
02:48I'll close out this overlay, and then go to Appearance to launch the Theme Builder.
02:58You'll notice this new link, configure professional fonts.
03:02That leads us back to the Configuration page.
03:04We don't have to go there since we've already set it all up.
03:07To use a font, you simply select some text that you want to style, and as usual,
03:12choose the font from here.
03:14At the top we have all of the Drupal Gardens fonts and then at the very bottom
03:18we have the one we chose from Fonts.com.
03:20If I select it, we immediately see the change.
03:23I'm actually not going to keep it, so I'll just close this out. And yes, I'll discard.
03:31There is one downside that I don't like about using these external font libraries.
03:35We give this little ad for the libraries down here in the corner.
03:39To get rid of it, I'm going to go up to Modules and turn that off.
03:46We just scroll back down to the Font Management module, uncheck it, scroll all
03:51the way down, and Save configuration, and we're back the way we were.
03:57Once the screen reloads, that ad disappears.
04:00The magic that Fonts.com offers is in the wide selection of fonts that it has.
04:05The same is true for Typekit.com.
04:08I'll just go to that site as well, so you can see what it's like.
04:11Ultimately, it's very similar to Fonts.com, and your decision may be based on
04:15which ones you actually want, if there are specific fonts that you like.
04:19Both have a huge selection within their free plans and allow enough page views
04:23for most small personal sites.
04:25If your site grows, you'll have to upgrade your subscription, because it limits
04:29you not only on the fonts available, but also on the number of page views.
04:33There's one other thing I want to warn you about: using these external font
04:37libraries might slow down your site, as it will call that outside library every
04:41time a user visits the page for the first time.
04:44If that's a concern, try it out for a little while and see if the slowdown is onerous.
04:49Chances are you won't even notice it.
04:51The other thing I have to warn you of is to be judicious in your use of fonts,
04:55because designs can get pretty ugly if you use too many on a single page.
05:00But when you select smartly and use them with a keen eye, these additional fonts
05:04can really dress up your site.
Collapse this transcript
Inserting raw CSS code into themes
00:00There's one part of Drupal Gardens' Theme Builder I haven't showed yet--
00:03the Advanced tab.
00:05It's the most powerful feature, but it also takes the most knowledge of CSS.
00:10You could spend months studying exactly how CSS files interact with Drupal
00:14Gardens' themes, and obviously, we won't be able to do that here.
00:17But I will show you enough to be able to do little tricks, and then you can
00:20start flowering out from there.
00:23As usual, we go up to Appearance to bring up the Theme Builder, and then we go
00:28to the Advanced tab.
00:29Now what we're going to do with this is I am going to add a graphic very
00:33similar to this one on the top down here in the bottom, but I want that only
00:37to appear on the front page.
00:39Now, there is no way to do that directly with the Theme Builder in Drupal
00:42Gardens, but you can do that with custom CSS.
00:45There is a class that specifies that something goes only on the front page; it's .front.
00:51I will show you that in just a minute.
00:53But the first thing we need to do is figure out where exactly we're going
00:56to place that graphic.
00:58To do that, I am going to cheat a little bit and go into Styles and
01:01start clicking around.
01:03One good thing about the Style selector is that you don't actually have to make any changes;
01:07you can use it to figure out how your Drupal page is constructed.
01:11So I know I want it somewhere in here.
01:12Let's see, content-inner, content looks like it's probably the thing.
01:18I'll try it there, and then if I need to, I will adjust it after it's in.
01:22First, I want to prove that we can change that area by affecting only the front page's color.
01:27Before we do that, I'm going to save as and call this exp_cal_11.
01:34Again, it's always a good idea to save many versions of the theme as you work on
01:38it, and then I'll publish it.
01:42Great, now we will start playing around in the Advanced tab.
01:45We will start out by just adding a background color to that area with #content
01:52curly brace, background-color, and you notice that it gives you a little cheat sheet here,
01:58which is really nice.
01:59Say colon and let's make it this color. And it changed it already.
02:04It does it right away.
02:05I will just close that, add my proper semicolon, update, make sure it's all good,
02:11publish, and then I am just going to take a look around the site.
02:16Close out the Theme Builder and click around a little bit.
02:19Let's see our About page. Yeah, it works on every page right now.
02:24But we only want it on the front page.
02:26So once again, we go back to Appearance to bring up the Theme Builder and then
02:30back to our Advanced tab.
02:32But this time, we only want it on the front page,
02:36so I will add that up here .front and then Update, Publish, and then go back to
02:44our site. Go back to our front page.
02:47There's our background color.
02:51And as you'll notice, when it redraws us About us page, it's not on the About us page;
02:55it is only on the front page, which is exactly what we wanted. Great.
02:59So we have already done something that can only be done through the Advanced tab.
03:02Now, I am going to go ahead and add in that graphic.
03:06Now, this is the part that's a little bit hard.
03:09The thing is, we have a graphic on our own computer, and we want to put on Drupal
03:13Gardens' server, but we don't have a direct way of doing that.
03:16So I'm going to use a little bit of a trick that I learned earlier in core Drupal.
03:20What I will do is I will close out the Theme Builder for now.
03:23I'm simply going to add a Junk node, I'll call it.
03:28It will be a Basic page, it doesn't really matter.
03:30I'll call it JUNK NODE, so that I remember that.
03:33And then down here I'll add my media, browse for it, and then select it.
03:40It's this main_back-bottom graphic and Open and finally Upload. We'll leave it in its
03:50original format, and submit.
03:52And there it is. Then I save that node.
03:54But before I do, I just want to un-publish it. It is a junk node.
03:57We are only doing this, so that we can get the graphic onto the site.
04:01Once it's there, click Save, and we see our graphic.
04:05Now here's the trick:
04:07I right-click on the graphic and say View Image.
04:11What that does is it tells us exactly where on the server that graphic is found.
04:15I will copy everything here;
04:18it's going to be explorecalifornia.drupal .gardens.com/files, et cetera, et cetera--
04:22actually, I will copy the whole thing.
04:24I might have to play around with this a little bit once I go back into my site.
04:28But then I can go back, go into Appearance--and actually we can delete this node
04:33if we want, but I will leave it since it's unpublished--
04:35go into Appearance, and then go back to our Advanced tab.
04:42Now, it's a simple matter of replacing that background color with the graphic itself.
04:47That's going to be background-image url (', paste in that url, and ');. And then just
05:01so it doesn't repeat, we will make it background-repeat.
05:04Oops, I forgot to put back my colon there but background-repeat: no-repeat.
05:12Now, let's take a look at that.
05:13Again, we might have a bit of a problem with this url here;
05:17we might have to cut it down to files and so forth.
05:19Again, after you've done this a little while, you will find out exactly the
05:22right way that Drupal wants it.
05:25Click Update, Publish, then go back to our front page and see if it works. Nope, not quite.
05:35That's okay; we can just go in and continue to fiddle around with it.
05:38Let's go back up to Appearance and again to the Advanced tab.
05:43One thing that I've noticed about the URLs in Drupal generally, and Drupal
05:47Gardens as well, is that it very often needs to have a leading slash.
05:51So let's try that and see if that works.
05:54Ah! Even before we click Update, it automatically updated and showed that that was in
05:58fact what we were missing.
06:00Click Update anyway and then Publish.
06:03And then just to be sure that it's only on the front page, I am going to close this X here--
06:08that will get us out of the Theme Builder--and click onto a different page,
06:11let's say the blog.
06:13Yep, it only shows up on the front page.
06:16Now, when we go back Home, you see what it looks like.
06:19And you have to admit the site is looking pretty good now, right?
06:22I know we have a lot of text overruns, and this isn't quite matching up to the
06:25left-hand side, but we are starting to get there, and these are some of the
06:29things that we're going to fix in the video about finessing the theme design.
06:34By the way, the CSS code that you enter in that Advanced tab, it overrides all previous CSS.
06:41It's the last thing that the page renders, so to speak.
06:44When you export the theme, all the custom code you entered here ends up nicely
06:48segregated into a file called Advanced CSS; and if you were to take a look at the
06:53info file, that's the last thing that's loaded.
Collapse this transcript
Adding visual effects with JavaScript libraries
00:00Because of how it's set up, Drupal Gardens can't be as flexible as the core
00:04Drupal that you download and host yourself.
00:06The biggest difference is that you can't add modules or custom code to your
00:10Drupal Gardens site-and with very good reason.
00:12If you could, then Acquia--which is the company that makes Drupal Gardens--would
00:17have to support all those additions that thousands of customers added, which is
00:21just an impossible task for such a low-cost platform.
00:24But Drupal Gardens does make concessions for the geekiest among us by, for
00:28example, making it easy to turn on some often-used JavaScript libraries that
00:32deliver cool visual effects.
00:34Here's how you do it.
00:35The first thing you have to do, as usual, is to enable a module.
00:39Go up to Modules, then scroll down to JavaScript libraries.
00:45It's under the Other group down here.
00:49Enable it, scroll to the bottom, and click Save configuration.
00:55Then you add the libraries you need by clicking Configuration and
01:00JavaScript libraries.
01:04I'll enable jQuery UI:Core and jQuery UI: Tabs. Then I'll click Save.
01:11Now, because I'm not a programmer, I'm going to use some example code that
01:15Drupal Gardens provides.
01:16I'll go up to Help and search for jQuery content.
01:21This just happens to be some stuff that I know they have.
01:28And there it is, Adding tabs to your content using jQuery.
01:32What I'm going to do is I'm going to use JavaScript to show information using a
01:36neat effect, which is made possible only because we turned on those libraries.
01:41First, I'll create an HTML page. Then I'll upload a file containing a
01:45little JavaScript code.
01:46You will find both pieces on this page.
01:49I scroll down, and here's my HTML, which I'll simply copy.
01:55I'll then go back to my site and create a new node.
01:58I don't need this Help open anymore, so I'll close that. Click Add content.
02:04I'll make it a Basic page.
02:07Title will be JavaScript test, and then I'll paste in the code here.
02:12But there is a little thing you have to watch out for.
02:14It needs to be in HTML and Full HTML.
02:18Now, watch out, because when you switch to Full HTML, Drupal Gardens
02:21switches back to WYSIWYG.
02:23So you want to make that switch to Full HTML, then click HTML. Now you can paste.
02:30I'll scroll to the bottom, and publish it. Good!
02:36There's our page.
02:37It doesn't look like much yet, does it?
02:39Now we create our JavaScript code as a separate file that we'll upload.
02:43Note that you have to do this in a text editor that saves plain text, not the
02:47styled text that a word processor saves.
02:50Some free programs that do that are Notepad, which is built into Windows, and
02:54TextEdit, which is built into the Mac OS.
02:56To get our code, I'll go back to this page, scroll down, and copy it.
03:03I'll then go to my text editor.
03:05I happen to have one open already called Notepad++. Paste the code.
03:10Then I'll Save it to the Desktop as mytabs.js, and save.
03:22I can close out this window, and finally add that file as a custom library.
03:27I go back to the site and click Configuration.
03:32Go back to JavaScript libraries, and click the Custom tab.
03:36This is where you upload any code that you've written.
03:40Add JavaScript, and I'm going to add the file that we created. Choose it, go to
03:46my Desktop, and there it is. Open.
03:51You might wonder whether to put it in the Footer or the Head or leave it Disabled.
03:56Differing programming needs determine what part of the page should contain
03:59that custom script.
04:00If you put it in the Head, then of course it loads earlier than if you put it
04:04elsewhere. But by putting it in the Footer, we're displaying the content first
04:08and then adding the effect.
04:09That makes a difference if the page loads slowly.
04:12I'll leave the Description empty and click Save.
04:15The last thing we need to do is sort of clear the site's throat, so to speak.
04:21You see, Drupal Gardens aggregates JavaScript files and caches certain
04:25information to make sure that your site runs faster.
04:28The downside of that is it sometimes doesn't notice when you add new JavaScript files.
04:33We can fix that by going to the Performance page.
04:36We click Configuration and Performance.
04:39I'm going to go down here and dis-aggregate CSS and JavaScript.
04:47Incidentally, these will come on again in a little while when Cron next runs on Drupal Gardens.
04:53I'll save that.
04:54And then finally, I'll clear the caches. Now we're ready.
05:01When I close this overlay, we see the page with the neat effects in place.
05:09That's pretty cool, isn't it?
05:11Now, the thing is, I use some code that was tested on Drupal Gardens.
05:14There is additional sample code out there, but I personally had some
05:18troubles getting it to work.
05:19If you're a JavaScript programmer, however, you'll probably have better luck debugging it.
05:24I'll show you where that stuff is.
05:26Go up to Configuration and JavaScript libraries. And if you Command+Click to
05:32open a new window on any one of these, it will take you to a page where there's
05:36some sample code and some really neat effects that you can work into your own
05:40site--again, if you're good enough with JavaScript to make it work properly.
05:45This gives you a very basic introduction to how to implement JavaScript
05:48libraries in Drupal Gardens, but as is usually the case with programming, the
05:54devil is in the details.
05:55For more information, see this page on Drupal Gardens documentation.
06:00It's called Extending your site using third-party JavaScript libraries, at this
06:04URL, drupalgardens.com/ documentation/adding-custom-javascript.
06:11And of course, there's no better way to learn programming then to watch
06:15lynda.com's videos on the subject,
06:17for example, JavaScript Essential Training and jQuery Essential Training.
Collapse this transcript
8. Perfecting Site Designs
Finessing theme design
00:00Now is that magical moment when we bring together all that we learned to make
00:05our site truly complete.
00:07We have all the pieces here, and normally you'd be perfecting more as you went.
00:10But in my rush to demonstrate how things worked, I have left some pretty ragged edges.
00:15Let's be honest, the site is not really functional right now.
00:19This video cleans up all those edges, and gives us a site that we can truly be proud of.
00:25Now, I'm going to do all of this very quickly, both to save time and to give
00:28you an idea of what working with Drupal Gardens is really like in a production environment.
00:32I've already done a little bit of it.
00:34For example, I removed some blocks that are here in the left-hand column.
00:39We're going to keep this Need guidance, and Newest tours block, but we'll get
00:42rid of the rest of the stuff.
00:44What I really want in the middle of the page is just this one bit of information
00:48here, Explore our world your way.
00:51So first we'll get rid of this bit of text up here by editing it and removing
00:57it from the front page.
00:58Of course, you could also un- publish it or delete it, but this is how
01:02I'll handle it here.
01:04I don't think that I want to have anything in the right column.
01:07I'm going to really open this up.
01:08So I'll take this block and Configure block, and move that out of Sidebar B.
01:14Now I want to mention another way of doing this would be to go up to
01:18Structure and then to Blocks, and then you can move a whole bunch of blocks
01:22around all at once.
01:23But I've already done most of that work.
01:26I'll refresh the screen. Great!
01:28It's already looking a little better.
01:30Now one other thing I noticed when I went back to Google Chrome, as I'll do
01:34right now, is that because it doesn't have that information up here that shows
01:38up when you're logged in,
01:39this guy's head turned into a little like mushroom head, instead of being like this.
01:44So I'm actually going to remove this user menu from here.
01:47Of course, as we were creating this site, what we should be doing is looking at
01:51it in a variety of browsers while logged in, while not logged in, and so on.
01:56But for now, I'm just going to remove it. Go down and save.
02:05Now every time I come back to this page, I have this little help message.
02:09That's something that's not normally going to be showing to people,
02:11so I always reload after I see that so I can see the page more the way people
02:16will actually see it.
02:18Now let's take care of some things that have been bothering us for a while.
02:21For one thing, the sidebar should really end with this graphic line here.
02:26So I'll click Appearance and change some of the borders and spacing.
02:29I'm going to do that in a few different phases.
02:31This is where I start playing around with the way that the page is actually laid out.
02:35I actually find it a lot of fun, but it can be frustrating because
02:39you'll change one thing,
02:40you'll go back, you'll change it again, and you'll see that it changed more than
02:44you expected, as you'll see in a moment.
02:46I click Styles > Borders & Spacing, and then again, I have to find the
02:52correct area to do.
02:53I happened to know that it's the content area. And let's play with the padding a little bit.
02:58Nope, that's the whole thing. So let's try the margin. Aha!
03:02I have the wrong part.
03:04So what I need to do is look in here. Yup!
03:06That's what I want: main, not content.
03:09Maybe it's the margin. Is that what I want?
03:11No, maybe it's the padding. Yup!
03:13That's what I want.
03:15As long as I'm doing that, I'll add a little bit of padding on the right-hand side.
03:20That makes the text rewrap, and gives us this nice little bit of white space over here.
03:26I'll publish that, and then before continuing on, I'll do something that I
03:30always like to do once in a while.
03:31I'll save it under a different name.
03:36This will be called exp_cal_final_01.
03:42Of course, the way things work out there'll probably be final_02, final_03,
03:46and then final_final.
03:48You know how this goes.
03:51You know, now that this site is more together,
03:54I think that I would rather not have that logo in the side.
03:57I want to have it back in its original position.
03:59Now you remember, we moved it down there for design reasons, but designs change.
04:04So the first thing I'll do is I'll close out of my Theme Builder, go back to
04:09my page and remove that block, scroll down, and move it out of Sidebar A.
04:18Reload the page again.
04:20Already it's looking a lot better,
04:22but I still do need that back up here in the corner.
04:24I click Appearance, and I'll put it back to its traditional location--
04:32that is to say the natural location that you get by clicking Appearance and
04:36then Brand and then Logo.
04:38Now, I cheated here a little bit as well.
04:41The original logo was actually taller than these people's heads at the top, and
04:46so we ended up with a big gap underneath it.
04:48So what I did was I went into an image-processing program and I made a slightly
04:52smaller version. And that's going to be our final logo, and publish it.
04:59Now let's see how that looks.
05:01Close out the Theme Builder and then reload the page. Aha!
05:07Now we're getting somewhere,
05:09but in doing so, we exposed the little bit of a flaw with this header graphic.
05:14You see we have it on repeat, and furthermore we have a little bit of space
05:17down here we don't want.
05:19We also have a gap here that really shouldn't be there.
05:22So what we have to do is pull all of this stuff together, and then I think
05:25we're pretty much done.
05:26Let's go back into Appearance, and once again we're going to be playing with the
05:30borders and spacing.
05:33We click Styles > Borders & Spacing, and then we have to play around again, as usual.
05:39Let's see. We don't see any padding here in this header-inner, so we will remove a
05:45little bit of the styling.
05:47We have a margin up here at the top.
05:49That's probably the margin above here.
05:50Let's see. It starts out as 9.
05:51Yeah, oh I think I'll leave it at 9.
05:55That doesn't look so bad.
05:56Let's try the header itself.
05:58Now we have some extra padding down here at the bottom.
06:01Let's see what happens when we change that. Yup!
06:03That helped a bit.
06:04Of course, we added some margin over here, that 32 margin, in order to fix the graphic.
06:09If we take that out, you'll remember.
06:11So we'll leave that as it is.
06:13So we keep clicking around.
06:15Sometimes if you have extra space and you don't see it in the part that's above,
06:19sometimes you'll find it in parts that are below, like this navigation bar, or even down here.
06:25There could be some extra padding in there.
06:27So let's take a look all around there.
06:28The navigation Bar, well, there is nothing around the navigation region.
06:33Let's take away this content and ul, nothing there, and maybe navigation. Aha!
06:37We have an extra 54 pixels there, so I'll bring that up.
06:44Now, we're in business.
06:45We still have this thing below.
06:47So once again, I click below, and indeed we have additional margin there, and a
06:53border we don't need.
06:54At this point, I'll publish it again, just to see what it looks like, and close it out.
07:02We actually look pretty good at this point it.
07:05Now let's be honest, the site still isn't perfect.
07:09It's clear that we could go on like this for quite a while, honing the site's
07:13edge until it's razor-sharp.
07:14For example, we didn't really go in very deep with the content, and the menu
07:19system could really use an overhaul.
07:21But I meant to make this video just as something of an inspiration.
07:25You now have all the skills you need to make a truly professional-quality web
07:30site with Drupal Gardens, or to convert a comp design, or a wireframe into
07:35something that really works.
07:37There are still some important maintenance skills to learn,
07:40but if you've watched this entire course from the beginning, you should feel
07:43really good about what you've done so far.
07:45The sites you'll soon create for yourself are proof of your accomplishments.
Collapse this transcript
Eight ideas for modifying themes
00:00Now, I'll admit it:
00:02even though I have been working with Drupal for about three years, I never
00:05made a serious attempt to create themes until I got hold of Drupal Gardens' Theme Builder.
00:11Once I started, I discovered some tricks that are specific to Drupal theme
00:14design, and augmented them with guidelines I learned from print and
00:17traditional web design.
00:19What I have done here is I have started a brand-new Drupal Gardens site based on
00:23the Campaign template, just to show you eight of these tips I have picked up.
00:27First, less is more.
00:29Studies show you only have a few seconds to grab people's attention.
00:32I like that Drupal Gardens gives you all of the sample stuff down here when you
00:36create a new site, but in practice it's just too much stuff.
00:40For example, nobody is going to read and understand these seven menu items in
00:44the first few seconds, so cut down as much as possible.
00:47There are several ways of doing that.
00:49One is, as you saw in the finessing video, to get rid of some of these blocks.
00:54You don't necessarily need to have all of these comments on the front page, or blog posts.
00:59Even once your site is lively it's not necessarily a good thing to have all
01:03of that information thrown in people's face once they get there, so start cutting back.
01:08Another way to simplify is by going up to Appearance, to open up the Theme
01:14Builder, and switch from the Campaign design to something a little bit simpler.
01:19One that I like is Minima.
01:20That was the one that we used to build our old site, the Explore California site
01:24you saw throughout this course.
01:26There are others, though.
01:28The Bare Bones one is specifically made to be very, very simple, and to give
01:33you only a little bit of stuff so that you can then create your style exactly your way.
01:38My third tip is to expand and narrow CSS selectors, so you're changing the
01:44styles of things exactly as you want, and not doing more or less than you mean to.
01:49The way to do that is by clicking Styles in your Theme Builder, and then let's
01:53click around a little bit.
01:54Once you have something selected, turn on Power theming and Show CSS.
02:00Now have a lot more control.
02:02If you don't want use the CSS names, you could just have Power theming on, but
02:06the important thing is that you would be able to click to add and subtract
02:10these different parts.
02:11For example, if we look up here at this title, it has The header inner, The
02:16site name, All links.
02:17Well what exactly is it you're trying to style?
02:20By removing some of these or adding others, you can narrow it down or broaden
02:25it out as you like.
02:26My fourth tip is to move the logo out of its traditional position.
02:30In traditional core Drupal when you're looking at the site--and I'll close
02:34out the Theme Builder to give you an idea-- you would have a logo up here in
02:38the corner, and to be honest I'm glad that they took that out of Drupal
02:42Gardens so that you don't have this default logo that you accidentally leave into your site.
02:47But you know not every logo has to be up there, and I showed you this in a different video:
02:51"Changing the site's main logo and favicon."
02:54I kind of like having the logo down here in the left-hand column, or even in
02:59the right-hand column.
03:01Whatever you do, just make it fit in with the rest of your site.
03:04On the same note, I recommend that you hide the site's title once you have a logo up.
03:09People understand that a logo is your name and usually will click on it to go back home.
03:14My next tip is to use borders and backgrounds creatively.
03:19You can apply borders and backgrounds to everything with the Theme Builder.
03:23It's easy to overdo, but a few judicious touches can really make an impact.
03:28And I'll show you that by again going into the Theme Builder, scrolling down on
03:33my screen so I see a little bit more of the content, and then go into the Minima theme.
03:38Let's take, for example, this article content here.
03:41I'll click Styles > Borders & Spacing, and then I'll select this right here.
03:47Take a look at this.
03:52You could actually make this interesting way of having text stand out by
03:56adding a border there.
03:58You could do the same thing with graphics, add a little bit of a border around them.
04:03Well, that's not the most tasteful border, but you get the idea: have fun with it.
04:07Play around with the spacing as well.
04:09My next tip is to use repeating backgrounds.
04:12We did that in our earlier site, and you saw how it created this nice little
04:16fade from the top to the bottom, with just a very small graphic.
04:20You can get a lot of punch out of those little graphics by designing one that
04:24repeats in background areas.
04:26It's not that hard to do, but it does take a little practice.
04:29The way I learned how to do it was by watching Jan Kabili's course Photoshop for the Web.
04:34My next tip is to use main graphics boldly, and to demonstrate this I am going
04:40to take a look at our completed site, just to remind you what it looked like
04:43before we put in our main graphic.
04:45To do that we'll go back to explorecalifornia.drupalgardens.com, go up to our
04:52Theme Builder > Styles > Background, and select that header there.
05:01Now when we remove that, you can see it completely changes the feel of the
05:06site, so don't be afraid to use them, especially as light backgrounds, like you have back here.
05:13Finally, I would recommend that you do something special on the front page.
05:17In the video we showed, "Inserting raw CSS code into themes," I showed you how
05:21to use that .front selector to make something appear only on the front page.
05:25That's not the only way to do it, though.
05:27If we go up to Structure and Blocks, you can make blocks appear only on the
05:33front page or on every page but the front page.
05:36To do that--and I'll just down and edit one.
05:37Let's say this Need guidance block.
05:40Click Configure, scroll down, and here you can say which pages you want it to appear on.
05:46If it should only be on the front page, you would say Only the listed pages, and then front.
05:52All of this is explained in the text below it, and you can do some pretty
05:56complicated rules so it will little show up on all pages that have a URL that
06:00starts with a certain word, or anything like that.
06:03These are just a few ideas of how to use the Theme Builder and the rest of
06:07Drupal Gardens to make your site truly yours, but more important than learning a
06:12few tricks is to spend time using it.
06:15Don't be afraid to experiment;
06:17you won't destroy anything.
06:18And if you save backups, as you learned in the video about switching, saving and
06:22copying themes, you can always undo errors and try something new.
Collapse this transcript
9. Managing Sites
Monitoring sites
00:00When you host a Drupal site yourself, you find yourself constantly checking on it.
00:05You need to make sure all the modules are up to date, the changes on the server
00:09haven't created new problems, and on and on and on.
00:12With Drupal Gardens though, nearly all of these worries are taken from you.
00:17You still have to check for spam and abuse, and that people aren't signing up
00:20that you don't want to sign up, but those are people problems.
00:23Solving machine problems isn't your responsibility.
00:27Nonetheless Drupal Gardens does give you a few tools, so you can keep an eye on
00:31things, if you decide you want to.
00:32Here are some of those tools.
00:34You'll find all of them up underneath this Reports link.
00:38The first one is Status report.
00:40When you host your own Drupal site, you find yourself checking this constantly,
00:44but the truth is, in Drupal Gardens there is not much you can do if you find a
00:47problem here. And you almost never do find a problem here because they run the
00:51system very well on the Acquia side.
00:54So we'll just go on to the next one.
00:56Recent log messages tells you all of the unusual activity that's been
01:00happening on your site.
01:02It doesn't tell you, for example, when somebody accessed a certain page;
01:05that's a little bit more detail than you need. But it does tell you if, for
01:09example, somebody was trying to get into a page they shouldn't have, such as
01:13here, someone was trying to change the permissions, some anonymous user.
01:17You can cut down on the number of messages that you see here by clicking this
01:21Filter Log Messages, and let's just take a look at the alerts, for example. Filter, Ah!
01:26Good, there were no alerts that we had to worry about.
01:30But we could also see, for example, what the Aggregator has being doing.
01:34Go ahead and click Aggregator.
01:35I removed the alert by Ctrl+ Clicking on it. Filter. Good!
01:40It tells us that our Aggregator is picking up information regularly as it should.
01:44To reset that filter, just click the Reset button right there.
01:49The next report is the Field list.
01:54This is sort of an unusual one.
01:56You might remember that when we are creating content types you could add
01:59various fields to content types, and then you could share those fields
02:02among content types.
02:05The body, for example, is found in every content type.
02:08Whereas the one we created for Tour, field_length, is only found there.
02:12This Field list is useful, especially if you go in and try to create a field, and
02:16are warned that you can't do that because the field name already exists.
02:20Sometimes if you've been working on a big site, you've created dozens and dozens
02:24of fields, and you won't remember where you put them.
02:27Well, this screen will tell you.
02:30Continuing on, we have Mollom statistics.
02:32Now you've learned about Mollom in the video about slowing spam.
02:36Our site, however, isn't a live site.
02:39We are not actually interacting with the public, so there is not much to see here.
02:43But if you are interacting with the public and people are trying to post spam to your site,
02:47you'll see this graph that shows you exactly how many people tried to post and
02:51weren't able to, as well as the ones who were successful.
02:55That way you get a sense of what percentage of attempts are true and which are spam.
03:01The next two, access denied and page not found errors, tells you if people who
03:05are trying to get to pages that either they shouldn't get to, or that they
03:09should be able to get to but they just aren't there.
03:12If, for example, you created a page called Big Sur Tour, but you accidentally
03:17link to it from somewhere else under a different URL, well, they will get a page
03:22not found error, and you can find that out by just clicking on this link here,
03:26taking a look and saying, I see, there should be a page there or there's an
03:29incorrect link or something like that.
03:33The last of the reports is the Top search phrases.
03:36This gives you an idea of what people are looking for on your site when they
03:40type something into that Search box.
03:41It's a good marketing tool because let's say you find that hundreds of people
03:45are searching for restaurants, but you don't have any information on your
03:48site about restaurants.
03:50Well, that tells you that you should, and that's the end of the reports on Drupal Gardens.
03:55As I said, there is really not that much to monitor on a Drupal Gardens' site.
03:59But really that's good. Because you don't have to worry about these technical details,
04:04you're free to create content and attend to users and do all of the other things
04:08that make a good site great.
Collapse this transcript
Duplicating and deleting sites
00:00There are several reasons why you might want to duplicate a Drupal Gardens site.
00:04For example, you could build a template site that you then use to build a suite
00:08of sites with the same look and feel.
00:10Or you could duplicate an existing site,
00:12change it a little bit, and present the new look for user testing and possible adoption.
00:17Or you could simply use duplications as an easy way to back up your site.
00:22In fact, that's exactly what I did while I was making this course.
00:25After each video, I would back up the site by duplicating it.
00:29But whatever your reasons, Drupal Gardens makes site duplication easy.
00:33It's just a few clicks.
00:35The way you do it is you go up to My sites while you're logged in as the Administrator,
00:40go to the site you want--in this case we have only one in our Site manager--and
00:44go over to his More link here.
00:46From there, you click Duplicate Site.
00:50You then enter whatever name you want to have for it.
00:53I am going to say explorercalifornia02. There is one thing to know though:
00:59you can't put in any kind of punctuation here or unusual characters.
01:04If you try to, it'll stop you at some point.
01:07So I'll just say explorecalifornia02 and duplicate site.
01:11Do note the warning up here:
01:13User accounts with site owner or administrator will be copied to the new site
01:17but nobody else will,
01:19neither the user accounts nor the content that they create.
01:23So this is not a good way to keep all of the content that somebody's created
01:27and put on your site.
01:29If you want to do that, the best thing to do is to export the site and then host it yourself.
01:34Unfortunately, there's no way for you to duplicate it and keep it on Drupal
01:38Gardens with all of that user-created content.
01:41Once it's ready, you'll be told that your site is being duplicated.
01:45This will actually take a while,
01:47but eventually an e-mail will appear in your mailbox.
01:50To see it, I go up to my mailbox here.
01:53It typically takes a few minutes for that e-mail to arrive, but once it's there,
01:57you open it, and it will give you a little bit of information about the site
02:01having been created.
02:02If you go back to your Site manager and reload the page by clicking on My
02:06sites, you then see your new site, which you can log into, as usual, by clicking on the link.
02:12Again, it'll look like your old site, but it won't have any of your old users
02:16or your old user content. Nice feature, huh?
02:19Let's go back and take a look at all of my sites.
02:22Click on My sites up here, and we see it again.
02:26Now, let's say that you've been duplicating and duplicating sites, and eventually
02:30this list is much longer than you really want it to be.
02:32Well, it's easy enough to delete sites.
02:34You go to More and then down to Delete Site.
02:37Here it gives you the typical warning that you really are going to delete it, and
02:41not only is it going to delete all of the content and all of the users from your
02:45site, but it'll also make that URL available again.
02:48So if I wanted to protect that explorecalifornia02 domain, I really shouldn't
02:53delete it; instead, I should take it off-line, and there is a link here that
02:56shows you how to do that.
02:58But let's say I really do want to delete it.
03:00Click Delete and I get this warning that it's not yet deleted.
03:05That's because, once again, it's going to send an e-mail to me to confirm that I
03:09really want to delete it.
03:10This e-mail tends to take a lot less time than it does when you duplicate a site.
03:15That's because it takes less work apparently to clear that site from the servers,
03:20as opposed to creating a new site.
03:23So I switch back to my mail program, click to see if I have any new mail,
03:27and indeed there it is.
03:28Confirm deletion of your site. I click that and I see a link in here.
03:32Now remember, the site doesn't get deleted until I actually click that
03:36link. And in fact, if I don't click it within 24 hours, then the request to
03:41delete it just goes away.
03:42So I click it and Drupal Gardens just says, there. It's gone!
03:49Nice features, huh?
03:51Now because Drupal Gardens allows you to create these sites and delete them so
03:55easily, I'd like to suggest that you start from the very beginning with a good
04:00plan of how you're going to name the sites.
04:02If you're doing it as backups, for example, it's a good idea to do it in some
04:06sort of serial-number fashion, perhaps with a date or the time of day;
04:10otherwise, you might find that you have 20 or 30 sites listed and not know which
04:14one is the most recent.
04:16In any case, I really appreciate that Drupal Gardens offer these features because
04:20they help me keep my sites in my control.
Collapse this transcript
Adding custom domains
00:00Once your site is up and running, you'll probably want to give it a domain name
00:04that's easier to remember than blah-blah-blah-drupalgardens.com.
00:08You can do that, but it takes three steps.
00:10The first is to register to the domain you want with a registrar.
00:14Now I won't go into the details of this at all in this video, but if you want to
00:17learn more about that, see the Web Design Fundamentals course on lynda.com.
00:22Now after you register that domain, you are going to have to wait, because it
00:25takes a while--typically about 24 hours--for that domain name to propagate
00:30throughout the Internet so everybody knows where it is.
00:32The second step is to change a certain record in your DNS records--called the
00:37CNAME record--with your registrar, and then again, you are going to have to wait.
00:41I'll show you how to do this, but for more details on that on that see the
00:45video "Using a personal domain name" in the course "iWeb '09 Essential Training," also on lynda.com.
00:50I have brought up a control window of my own web host here, and I have
00:54already set up a subdomain, explorecalifornia.tomgeller.com.
00:59Then in the CNAME area, type in explorecalifornia.druaplgardens.com, or whatever
01:05the domain name is that you have in your Drupal Gardens site.
01:08Then once you have done that, continue the process however your web host
01:11directs you to do it.
01:12Now I am doing this on my own web host, which is webfaction.com.
01:16It'll be very different depending on your web host.
01:18So if you have any problem with this step, talk to your web host provider.
01:23So, that's the second step.
01:25The third step is to go back to Drupal Gardens and tell it to expect all of the
01:29traffic from this domain, so we go back to our site and click My sites.
01:35Once you see the domain that you want to have as the target, click Manage Domains.
01:39There is a fair amount of information here at the top of the page.
01:43Most importantly, they have their own documentation.
01:46I'll just open that in a new tab, so you can see.
01:48This is a somewhat complex process, and there is a lot that can go wrong, so if
01:52you have any problems, just go ahead and take a look at their documentation.
01:55It's pretty good, and in fact, there are two ways of doing this.
01:59The way I am doing it with the CNAME is the one that they prefer that you use;
02:03it's more stable and secure.
02:05The other way affects the ANAME, which is the address name of your DNS record.
02:10It's not as reliable, but some people prefer to use that. Anyway, their
02:14documentation will tell you both methods.
02:17Once you are on this page, type in the domain that it's going to be coming
02:20from--again, in my case, that does explorecalifornia.tomgeller.com--and click Add Domain.
02:26Incidentally, there is a charge for this, so take a look at the documentation on
02:31Drupal Gardens to find out exactly how much it is.
02:33Once it's done, you see down here the two different ways that you can reach this site.
02:38You can check to see if those domains are working by simply clicking on them, and
02:41indeed it works already.
02:43That's actually fairly unusual.
02:45You typically have to wait at least a few hours before the connection will go through.
02:50I do want to mention, you can still reach the site through the old domain name,
02:53explorecalifornia.drupalgardens.com.
02:58Now as I went through this, I said one word several times: wait.
03:02When you first register a domain, it can take up to two days for notice of that
03:06registration to propagate to all of the important servers on the Internet, and
03:10then again, when you change the CNAME record, there is an another wait.
03:13It's usually not as long as the first one, but still, plan for this to take
03:17some time; don't expect to just be able to jump right in and have your site live immediately.
03:21Ultimately, a lot of this process is going to involve the domain
03:24registration company you choose.
03:27The process is different at each one of them, so I am afraid you are going to
03:30have to turn to them for technical support. But once again, the page on Drupal
03:34Gardens I showed you earlier, which is
03:36drupalsgardens.com/documentation/ custom-domains is a great place to get
03:42information that will help you to get out of trouble before you hear back from
03:45your registrar's help desk.
Collapse this transcript
Using exported sites outside of Drupal Gardens
00:00When you create an online property, whether it's a web site or an account on
00:04a social network, it's easy to get caught up in the excitement of starting something new.
00:09Too often lost in the excitement is what you're going to do in 3 or 6 or 12 months later.
00:14What happens if you want to move that property to another host?
00:17Will you be able to?
00:18Well, you can with Drupal Gardens, and in fact, the process is quite easy.
00:23At least, it's easy to get the site out of Drupal Gardens.
00:27Moving it into another environment is a different challenge, but first things first.
00:31We are here on our site, and we want to move this to our own host.
00:34The first thing to do is click My Sites.
00:38Once there, click More next to your domain name, and go to Export Site. So far pretty easy, huh?
00:46On this page, you see quite a bit of information about what happens to your site
00:50when it gets exported.
00:51I am going to just summarize it, although of course you should read through this
00:54thing entirely from beginning to end.
00:57Essentially when you do the export, you will get a notification by e-mail.
01:01Then some things will happen with the users.
01:04First of all, user number 1, which is Drupal Gardens--that's the entire site
01:09owner, the supper user, so to speak of the site--will get a random username and
01:13password, and that gets put into a text file, which I will show you.
01:16The site owner also gets a random password, although does keep the same username.
01:21Finally, other authenticated users-- that is, people who signed up for your site--
01:24will need to reset their passwords when they log in to your site.
01:28Again, for complete instructions on what happens, go to the documentation on
01:32Drupal Gardens, but that will give you an overview.
01:35Back to the process. You go through this and you click Export.
01:39Drupal Gardens takes a while to package up this site.
01:42You might remember when you exported a theme it also took a little while for it
01:45to put everything together into a package and then download it.
01:48Well in that case, you were just downloading the design; here, you are
01:52downloading the design and all the content and the software to run it.
01:57So, it actually takes a fair amount longer.
01:58I'll save that to my Desktop.
02:01Then once it's done, you are going to have to uncompress the file, and in fact,
02:05it goes through two levels of un- compression, you open up folders and so forth.
02:10I have already done that on my computer.
02:12If you need any help doing that yourself, watch the courses on computer
02:15literacy on lynda.com.
02:18When you are all done with all the uncompressing and pulling things out of
02:21folders, you will end up with a folder called docroot.
02:25Go ahead and name that whatever you want your site to be called.
02:27I am going to call it "ExpCalExport."
02:32Let's take a look at what's in there.
02:34If you use Drupal in a self-hosted environment, you will notice a couple of
02:38things that are different about this, but for the most part it's just ordinary Drupal.
02:43The first different part is this credentials file.
02:47Double-click the file to open it.
02:49This credentials file tells you all of the usernames and passwords for your site.
02:54I mentioned that user 1, which is the super user, gets a random username and
02:58random password. And then here is what was formally my username, and it gave me
03:03a new password as well.
03:04I will just close out that file.
03:07The other thing that's unusual in this folder is this .SQL file.
03:12Now, this is actually all of the content and all of the settings on your site.
03:17I will open that up, and you see that it's all SQL instructions.
03:22It's not important that you understand all of this, but you need to hold on to
03:25this file, because that's what you are going to import when you create your site
03:29in its new location.
03:31That wasn't too hard, was it?
03:33The next step though--importing it into a self-hosted environment--it's a little
03:37harder. But to tell you the truth, it's still not that bad, and I will show you
03:41how to do it in the video about hosting exported Drupal Gardens sites.
Collapse this transcript
Hosting exported Drupal Gardens sites
00:00In the video "Exporting sites," I showed you how to get your site out of Drupal Gardens.
00:05We now have all the files we need in this folder, which we've
00:08named "ExpCalExport."
00:11I also have the Acquia Drupal Stack installer, or DAMP, running on my computer,
00:15and that's where we'll be importing our site into.
00:18If you need any help with DAMP, watch the videos about it in either of
00:21my lynda.com courses,
00:23"Drupal 7 New Features" or "Drupal Essential Training."
00:27Here, I'm bringing things into DAMP, which is running on my Desktop computer.
00:31I won't talk about how to move things to a remote server because there are
00:35simply too many variations.
00:37Again, "Drupal Essential Training" and other lynda.com courses are the places to go
00:41for more about that.
00:42I just want to take another look inside this folder to see what we have here.
00:47The entire folder is the Drupal software.
00:50Inside there is the sites folder, and inside there is default.
00:55This is what our site actually is, all of the files of our site, that is.
00:59If we open the files folder, we see the pictures that we imported and the
01:04xmlsitemap and some other things like that.
01:08The information about our site, however, is in the database, which is this
01:12Explore_California.sql.
01:15Finally, we have passwords for the two administrative users in this
01:19credentials folder.
01:20Okay, let's get going.
01:23We go into the Acquia Drupal Stack Installer, and we go to the Sites pane.
01:27Now, there is a couple of ways of doing this.
01:28You can either click Settings and then click around.
01:31My favorite way of doing it is to use this pop-up menu and go to More.
01:34That takes us straight here.
01:36You might think we were creating a new site, but what we're actually doing is
01:39importing these files and that database file.
01:42So I click Import and browse to look for the files. There it is,
01:47ExpCalExport. Click OK.
01:50And then I look at the Database area.
01:53I do have a database dump, so I'll go ahead and find that.
01:56There it is, .SQL, and open it.
01:59Finally, we have to give this database a name.
02:01I'm just going to all it ExpCal, and for the Server, it's ExpCal.
02:06Again, you can use any name that you like. Then click Import.
02:10This process will take a little while, and it's done.
02:15To go to the site, click it here, and then click Go To.
02:19Your web browser will open.
02:22It came up, but it didn't actually load all of the theme information.
02:26I found that this sometimes happens, but it's easy to correct.
02:28Just reload your browser.
02:29I did that by hitting Ctrl+R on Windows, or Command+R on Mac, and there we are. One thing though:
02:37we're looking at this as an anonymous visitor.
02:40You might remember that I remove the user login block when I did this design earlier.
02:44If this ever happens to you, it's easy to get back to.
02:47Just go up to the URL, and add "user" to the end, and now we can log in.
02:53So let's do my old username, explorecalifornia, and my old password. Oh!
03:02It didn't work. Remember, when you export a site, it gives you new passwords.
03:07So I'm going to go back to my Desktop and take a look at what exactly
03:10those passwords are.
03:11I open the folder, go to this credentials file, and open it up with my favorite
03:17editor, and there it is.
03:19This is my new password. So I'll copy that,
03:22go back to my site, and just paste it in the Password field, and log in, and there we are.
03:28I don't have to remember that password.
03:31Now we're in the site just as we were before on Drupal Gardens.
03:34There are a few things you should do here though, before you go on.
03:37First of all, you're going to want to change the password to something that you can remember.
03:42So I'm going to change it back to what it was on the Explore California site on Drupal Gardens.
03:47So I paste that password in there, and then I enter my new password here, and confirm it.
03:54Yup! They match, and I am all set to go.
04:00Our site is now up and running. Congratulations!
04:03I just want to go back and point out a few differences between how the site ran
04:07on Drupal Gardens and how it's running now.
04:10First, let's go up to People.
04:12As we scroll down, we see that our old user califanjoe, he came over just fine.
04:17There is one thing about that though: his password changed,
04:20so when he tries to log in, it's going to actually reject him.
04:24It's a good idea when you move your site to put something at the top of the page
04:28that says, hey, we moved off of Drupal Gardens, or just, we move this site, and
04:32you're going to have to reset your password.
04:34It's fairly easy for them to do.
04:36When they try to log in, they'll be rejected, and there'll be a link that says
04:39create a new password.
04:41You'll also notice we have this user1 with the random string after it.
04:46This is actually the super user of the site.
04:48You, explorecalifornia, are no longer the super user.
04:52You might want to start using this user1 user instead of this one, because that
04:57user1 person is going to have all of the access that you would want to have as
05:02the site administrator.
05:03To do that, you would of course change this person's password and username,
05:07delete the old explorecalifornia user.
05:10However you decide to do it, it's not a bad idea.
05:13If you want to change the username and password, just click on Edit next to the
05:17name, as I just did here.
05:19After you've finished importing your site and changing passwords and usernames,
05:23be sure you delete those two special files from your Drupal installation.
05:27The first one, remember, is that credentials file, which includes the
05:31usernames and password;
05:32and the second is the SQL file that ends in .SQL.
05:36If you don't do this, and somebody knows the names of those files, they may be
05:40able to get information that will let them control your site.
05:43There are two other large changes I want to point out.
05:46First of all, you're used to clicking on Appearance and getting that Theme Builder.
05:50Well, no more. Now you get the natural Drupal Appearance page, and here is the theme that we
05:55designed, along with Seven--
05:58the administrative theme--and some other ones that we started to use when we
06:04were designing our site.
06:05You could of course switch among these themes however you want.
06:08The important thing is you don't have access to the Theme Builder anymore.
06:11If you want functions similar to the Theme Builder, there is a module called
06:15Sweaver, which we'll find it drupal.org/project/sweaver.
06:21Download and install that, and then you'll have something Theme Builder-like.
06:24And if you need any help with that, watch my Drupal Essential Training course.
06:28The last difference I want to show you is under Modules.
06:32There is a lot of new stuff up here that you wouldn't have seen in Drupal Gardens.
06:37That's because those modules were installed, but they were hidden from you.
06:40Well, now that you have complete control of your site, they've been made
06:44more available to you.
06:45Let's just take a quick look down here, and we'll see some of them.
06:49This Email Login that's part of Login Toboggan is something new.
06:54Some of this Media stuff is new.
06:56There is an awful lot of stuff here, and again, I won't go into all of the details.
07:00But if you won't find out about these modules, take a look at the drupal.org site.
07:05Congratulations!
07:06If you've followed this course from the beginning, you've taken the site from
07:09conception to completion.
07:12You now know more than just how to create a great site on Drupal Gardens;
07:15you know a little about CSS, web design, and core Drupal management.
07:20Whether you decide to build one site or a thousand, to move them off of Drupal
07:24Gardens and into self-managed hosting, or just to leave them there, you're now
07:28ready to take the next steps.
Collapse this transcript
Conclusion
Goodbye
00:00Thanks for watching "Drupal Gardens Essential Training."
00:03I hope you're as excited as I am about all you can do with Drupal Gardens, and I
00:07can't wait to see the great things you do with it.
00:10If you're still hungry for more information, here are some resources.
00:13First of all, take a look it what's on drupalgardens.com.
00:17They are continually expanding their documentation, and a lot of it is quite useful.
00:21To help you get around a little bit better within Drupal Gardens, I
00:25also recommend other lynda.com Drupal courses, in particular "Drupal
00:28Essential Training."
00:30Finally, for design help, I recommend the many, many CSS courses that you will
00:35also find on lynda.com.
00:37In particular, I like "CSS2 Essential Training" and "CSS for Designers."
00:41CSS3 is coming out soon, so watch for that video as well.
00:45I hope this course has giving you what you need to get out and rock the web.
00:49See you there.
Collapse this transcript


Suggested courses to watch next:

Drupal 7 New Features (2h 38m)
Tom Geller

Dreamweaver with PHP and MySQL (4h 55m)
David Gassner


Drupal 7 Essential Training (7h 23m)
Tom Geller

Web Site Strategy and Planning (1h 37m)
Jen Kramer


Are you sure you want to delete this bookmark?

cancel

Bookmark this Tutorial

Name

Description

{0} characters left

Tags

Separate tags with a space. Use quotes around multi-word tags. Suggested Tags:
loading
cancel

bookmark this course

{0} characters left Separate tags with a space. Use quotes around multi-word tags. Suggested Tags:
loading

Error:

go to playlists »

Create new playlist

name:
description:
save cancel

You must be a lynda.com member to watch this video.

Every course in the lynda.com library contains free videos that let you assess the quality of our tutorials before you subscribe—just click on the blue links to watch them. Become a member to access all 104,069 instructional videos.

get started learn more

If you are already an active lynda.com member, please log in to access the lynda.com library.

Get access to all lynda.com videos

You are currently signed into your admin account, which doesn't let you view lynda.com videos. For full access to the lynda.com library, log in through iplogin.lynda.com, or sign in through your organization's portal. You may also request a user account by calling 1 1 (888) 335-9632 or emailing us at cs@lynda.com.

Get access to all lynda.com videos

You are currently signed into your admin account, which doesn't let you view lynda.com videos. For full access to the lynda.com library, log in through iplogin.lynda.com, or sign in through your organization's portal. You may also request a user account by calling 1 1 (888) 335-9632 or emailing us at cs@lynda.com.

Access to lynda.com videos

Your organization has a limited access membership to the lynda.com library that allows access to only a specific, limited selection of courses.

You don't have access to this video.

You're logged in as an account administrator, but your membership is not active.

Contact a Training Solutions Advisor at 1 (888) 335-9632.

How to access this video.

If this course is one of your five classes, then your class currently isn't in session.

If you want to watch this video and it is not part of your class, upgrade your membership for unlimited access to the full library of 2,025 courses anytime, anywhere.

learn more upgrade

You can always watch the free content included in every course.

Questions? Call Customer Service at 1 1 (888) 335-9632 or email cs@lynda.com.

You don't have access to this video.

You're logged in as an account administrator, but your membership is no longer active. You can still access reports and account information.

To reactivate your account, contact a Training Solutions Advisor at 1 1 (888) 335-9632.

Need help accessing this video?

You can't access this video from your master administrator account.

Call Customer Service at 1 1 (888) 335-9632 or email cs@lynda.com for help accessing this video.

preview image of new course page

Try our new course pages

Explore our redesigned course pages, and tell us about your experience.

If you want to switch back to the old view, change your site preferences from the my account menu.

Try the new pages No, thanks

site feedback

Thanks for signing up.

We’ll send you a confirmation email shortly.


By signing up, you’ll receive about four emails per month, including

We’ll only use your email address to send you these mailings.

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.

By signing up, you’ll receive about four emails per month, including

We’ll only use your email address to send you these mailings.

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

   
submit Lightbox submit clicked