Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Creating and managing content

From: Drupal Gardens Essential Training

Video: Creating and managing content

We are still looking at our site as we first launched it, with just a few tweaks that we did in the video about configuring the site. There is still a lot of sample content. Now it's a time to get rid of all that and replace it with some of our own stuff. Along the way, I'll show you, also, how to add raw HTML code and put images into the content, and also how to make page summaries. Now we won't have time to look at all the different ways you can affect content in Drupal Gardens. I'll just show you the most important parts. But remember, Drupal Garden is built on Drupal, and this is one area that's almost exactly the same between the two.

Creating and managing content

We are still looking at our site as we first launched it, with just a few tweaks that we did in the video about configuring the site. There is still a lot of sample content. Now it's a time to get rid of all that and replace it with some of our own stuff. Along the way, I'll show you, also, how to add raw HTML code and put images into the content, and also how to make page summaries. Now we won't have time to look at all the different ways you can affect content in Drupal Gardens. I'll just show you the most important parts. But remember, Drupal Garden is built on Drupal, and this is one area that's almost exactly the same between the two.

So if you want to learn more, just watch relevant selections from my lynda.com course, "Drupal Essential Training." First, let's go to a page that will be seeing a lot of once you get your site going, the Content page. To get there, just go up here, and click Content. Each line on this page is an individual piece of content, known as a node in Drupal jargon. Nodes are defined by their content type, which you see here in this column. We'll talk a more about content types in the video about content types, but for now, those don't matter. You will manage them all pretty much the same way, no matter what the content type is.

Also in each line of this page is the author of that particular node, and if you click on that, you'll go that user's profile, whether or not the node is published, when it was last updated, and links to directly edit or delete the node. Although a particular node might appear in different ways throughout the site, they all have a basic form, which you can see by clicking on their names. I'll show you the node This is a sample article, which is a News item type. Once we are there, we can click on Edit to actually change what's in that node.

There are few different things to see here. The Title and Body are common to all nodes. Some of them also have Tags, which you might know from, for example, WordPress and other web sites. We'll talk more about tags later on in this course. Part of the Body field is this little pop-up which tells you the different text formats that are available. Safe HTML prevents other people from changing the node in a way that could be damaging to your site. You could, however, allow for more HTML tags by changing it to Full HTML or forbid all HTML tags by changing it to Plain text.

Down at the bottom of the page, we have what are called vertical tabs. Clicking on each one of these brings up a different set of controls. We will talk about these other tabs later on in the course, but for right now, I am just going to look at Publishing options, which is, generally speaking, the most important one. Here you can change whether or not a node is published--that is, whether it shows up on the site to anybody except for administrators. You can also make it either promoted to the front page, or remove it from the front page. Finally, you can make it sticky at top of lists.

Now I know that doesn't make much sense for right now, but I'll give you an example of what that actually means. I'll do that by closing out this content- creation form and go into our front page. As we scroll down, we see this article here, This is a sample article. Now that's the one we were just editing. If we click to go back there and edit it again, we see that its both promoted to the front page and published, but it's not sticky at top of lists. If there had been multiple nodes there and this one was the only one sticky at the top of lists, it wouldn't matter how recent those other nodes were.

This one would always show up at the top. I am going to close out this overlay because I want to show you one other thing about nodes, particularly that shows up when they are collected on a page with other nodes--for example, on the front page, or on the News or Blog pages. As I bring my cursor down over this news item, you'll notice this little widget pop up. That's a direct access widget, which lets you either edit or delete the node directly from that page. It's very handy. But let's get back to the Content page and start removing some of that extra stuff we don't want.

I am going to remove everything from this site except for that About us page that we changed a little bit earlier in this course. To do so, I am going to select everything by checking this box, and then unselect that one. As you can guess, you can select these individually or unselect them. I'll then go up to Unpublish selected content. I just want to mention something: you have the options both to unpublish and delete content. Unless you are certain that you absolutely don't want that content back, I recommend you always unpublish.

All that that does is it removes it from everybody else's view, but then if you want to bring it back later, you can. I'll then click Update, and it's done. You'll notice that this status has been changed to "not published" for all that we had checked earlier. Now if go to the front page, scroll down a little bit, we see that no front page content has been created yet. So let's go ahead and do that. I have created some text that you will find in your exercise files, which you received if you are a premium member of lynda.com or received this course on a disc.

I have them right here on my Desktop, so I'll open up exercise files and createcontent, and then frontpage. I am going to copy all of this text and then return to my site. Click Add new content. You can either do that here, or more commonly, you'll do that up here in the shortcut bar. Now I am going to make that a basic page. These are all different content types, again, which we will describe later on in the course. But for now, we just want a basic page. I'll paste in the information that I copied.

I'll put the title up here in the Title field, get rid of the little extra cruft here, scroll down to the bottom, and remember, we want it on the front page, so under Publishing options, it's go Promoted to front page, and Save. Now when we go back to our front page, scroll down a bit, there it is. We now have a homepage. I am going to create one more, just to show you a few features we didn't want to put on the homepage--which in Drupal, by the way, is called the front page. I'll do it on another page, which we will called mission.

The text is from the example file called mission.text, and I am also going to add a graphic, which is mission.jpeg. Again, I go up to Add content and Basic page. I go back to my sample files, open up mission, copy it, and paste it, get rid of the extra bits here, put the title up here.

We could publish this just the way it is, but I want to add that graphic, so I am going to click down here and click Add media. I will navigate back to that graphic file that I have, go up to the Desktop, go to Exercise Files, createcontent, and mission, and Upload. You then have a few options such as what the description should be, and how large you would like that graphic to be. I just change the Description, "Beautiful California beaches," and submit, and there is our graphic.

I will put a little bit of space between the text and the graphic, and here, of course, you could style this however you like. We could add a little bit of italicization. All of this works very much like a word-processing program. You can bold the things, and so on. The last thing I am going to do is I am going to change one of these vertical tab's setting so that we have menu link that goes directly to this. We will do that in the menu setting tab and click Provide a menu link. The main menu item is just going to be called Mission, and the Description will be "What makes us different," and that goes into the Main menu.

Then I'll just go down and save. Now, when we go around our site, you'll notice we have this extra button up here, Mission. Click on it, and it takes us directly to that page. You'll learn more about menus in the video about understanding menus. Now what I just showed you here only took a minute, but it's actually quite a big deal in core Drupal. Drupal Gardens, it's easy; core Drupal, it's hard. That's one more way that Drupal Gardens is easier then core Drupal. I want to go just a little bit further. What if you know HMTL and wanted to do that's not possible using the style text editor? Well, that's not so hard.

We'll click Edit and change from WYSIWYG to HTML. Here, you can make any sorts of HTML changes you like. When you do so, however, you may need to change this from Safe HTML to Full HTML if you find that it's not showing up the way that you want. There is one other thing I want to show you which will save you from a lot of heartbreak. Down here this Revision information, right now when you change a node, you are not saving any old copies of the node, but you can, by simply clicking Revision information and Create new revision, and say "Added a bit of text" or any other sort of description that you would like to add.

Then when you say Save, you can now revert to an old version if that's what you want to do. You see this Revisions tab right here. When you click it, you can go back to the old version before you made the change. There is one last thing that I want to mention, and that's summaries. To do that, I am going to go back to our Content page, and let's just republish a blog post, let's say the sample blog post. I am going to mess with this blog post a little bit, and then I'll unpublished it again. So first, I will publish it and then go back in and edit it.

Now you'll notice at the beginning we have this Edit summary. In order to demonstrate that, I am first going to take this text, and I am going to copy it and paste it a whole bunch of times. Now, if we were to promote this to the front page, as I'll do down here, we really don't want to have that much information showing up on the front page, even though it's important information to have perhaps elsewhere in the site. As we scroll down, we see, this is the beginning of it. Drupal knows to show only a little bit of the text, but you can control how much of that text actually shows.

Let's say we only want to have this first sentence showing. Let's go back and edit it, and we will edit the summary, and then only select that first sentence, like so, copy it, bring it up, and paste. Scroll down and again I make a revision and say "Changed summary," and Save. Now when we go back to our front page, we see it only shows that first paragraph. Once again, I am just going to go in and unpublish that again because we don't really need that garbage stuff on our site. Unpublish and Update.

There. You have just learned an often a lot about creating and managing content in one video. Now that you know all this stuff, you could actually stop the series and just go ahead and create your site. You could fill your site with all of your pictures and text that you need. In fact, we are getting pretty close to the limits of simple competing CMSes like WordPress, but if your aims are more ambitious, keep watching; there is lot that Drupal Gardens can do.

Show transcript

This video is part of

Image for Drupal Gardens Essential Training
Drupal Gardens Essential Training

65 video lessons · 11808 viewers

Tom Geller
Author

 
Expand all | Collapse all
  1. 29m 56s
    1. Welcome
      1m 39s
    2. Previewing the finished project
      1m 29s
    3. What's new in the late 2011 update?
      5m 28s
    4. What is Drupal?
      5m 8s
    5. What is Drupal Gardens?
      5m 57s
    6. Getting started with Drupal Gardens
      5m 35s
    7. Getting help
      4m 1s
    8. Using the exercise files
      39s
  2. 17m 40s
    1. Using the administrative overlay
      2m 54s
    2. Using the dashboard, toolbar, and shortcut bar
      5m 36s
    3. Touring the newly created site
      3m 55s
    4. Configuring the site
      5m 15s
  3. 59m 47s
    1. Creating and managing content
      11m 11s
    2. Creating and managing content types
      10m 35s
    3. Embedding YouTube videos and other media
      4m 5s
    4. Subscribing to RSS feeds
      4m 49s
    5. Categorizing RSS feeds
      5m 1s
    6. Managing tags and taxonomies
      5m 50s
    7. Creating dynamic pages with simple views
      4m 29s
    8. Creating complex information collections with Views
      8m 59s
    9. Creating image galleries
      4m 48s
  4. 37m 50s
    1. Working with blocks
      10m 26s
    2. Setting up rotating banners
      7m 45s
    3. Understanding menus
      7m 27s
    4. Setting up contact forms
      7m 7s
    5. Adding and removing functionality
      5m 5s
  5. 54m 54s
    1. Managing users
      6m 28s
    2. Adjusting user permissions
      6m 35s
    3. Managing comments
      7m 7s
    4. Slowing spam
      5m 20s
    5. Starting discussion forums
      9m 3s
    6. Creating blogs
      4m 41s
    7. Setting up mailing lists
      4m 50s
    8. Allowing users to rate content
      4m 21s
    9. Using best practices for online clubs
      6m 29s
  6. 44m 35s
    1. Getting feedback with webforms
      6m 14s
    2. Publishing RSS feeds
      6m 40s
    3. Taking advantage of social media
      9m 33s
    4. Emphasizing external links
      2m 44s
    5. Improving search engine optimization (SEO)
      7m 30s
    6. Internationalizing sites
      8m 6s
    7. Tracking site usage with Google Analytics
      3m 48s
  7. 34m 40s
    1. Understanding Drupal themes
      5m 44s
    2. Understanding the Theme Builder
      5m 25s
    3. Switching, saving, and copying themes
      7m 13s
    4. Introducing custom CSS
      6m 51s
    5. Refining selections in the Theme Builder
      5m 48s
    6. Exporting themes
      3m 39s
  8. 48m 31s
    1. Changing the site's color palette
      2m 32s
    2. Changing the site's main logo and favicon
      5m 22s
    3. Changing the column number and arrangement
      5m 7s
    4. Adding background colors and images
      6m 29s
    5. Changing element spacing and borders
      6m 11s
    6. Adjusting typography
      4m 24s
    7. Using fonts from outside sources
      5m 7s
    8. Inserting raw CSS code into themes
      6m 57s
    9. Adding visual effects with JavaScript libraries
      6m 22s
  9. 14m 18s
    1. Finessing theme design
      7m 51s
    2. Eight ideas for modifying themes
      6m 27s
  10. 23m 38s
    1. Monitoring sites
      4m 11s
    2. Duplicating and deleting sites
      4m 23s
    3. Adding custom domains
      3m 48s
    4. Using exported sites outside of Drupal Gardens
      3m 46s
    5. Hosting exported Drupal Gardens sites
      7m 30s
  11. 51s
    1. Goodbye
      51s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

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

Can I take this course without the exercise files?

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

Become a member Download sample files See plans and pricing

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

Exercise files video

How to use exercise files.

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


Exercise files

Exercise files video

How to use exercise files.

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

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

Join now "Already a member? Log in

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

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


Mark all as unwatched Cancel

Congratulations

You have completed Drupal Gardens Essential Training.

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


OK
Become a member to add this course to a playlist

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

Get started

Already a member?

Become a member to like this course.

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

Get started

Already a member?

Exercise files

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

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

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

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

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

Continue to classic layout Stay on new layout
Exercise files

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

Mark videos as unwatched

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

Control your viewing experience

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

Interactive transcripts

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

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


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

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

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

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

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

   
submit Lightbox submit clicked
Terms and conditions of use

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