Difference between revisions of "Drupal/C2/Creating-Dummy-Content/English"
Nancyvarkey (Talk | contribs) |
|||
Line 344: | Line 344: | ||
− | These are called''' Contributed Modules''' | + | These are called''' Contributed Modules'''. We will learn about this later. |
Revision as of 21:25, 18 July 2016
Title of Script: Creating Dummy Content
Keywords: video tutorial, drupal, devel, dummy content
|
|
Slide 1:
Creating Dummy Content |
Welcome to the spoken tutorial on Creating Dummy Content. |
Slide 2:
Learning Objectives |
In this tutorial, we will learn to
|
Slide 3:
System requirement
|
To record this tutorial, I am using
You can use any web browser as per your choice. |
Let us open our website which we created earlier. |
Part 1 | |
Time | Narration |
00:05 | One of the things we need when we are building our Drupal site is to have a lot of content.
|
00:16 | But ideally, we shouldn’t use real content.
|
00:31 | But this step is very important.
|
00:39 | We have only covered a few kinds of fields till now. |
00:44 | Here is our Cincinnati node.
|
00:55 | We can use a decimal for money, or an integer which is a whole number. |
01:04 | Say, you chose an integer, because they only charged 10 dollars.
|
01:14 | An integer cannot be changed into a decimal, especially after we have already added content. |
01:23 | And so these are the things that need to planned out beforehand. |
01:30 | We can test all of this by using some fake content.
|
01:41 | Remember this - we don’t need hundreds of real contents but only a few fake content. |
01:50 | The solution to this problem is the Devel module. |
02:03 | Go to drupal.org/project/devel.
|
02:15 | But here, we will learn to install Devel Module and use it.
|
02:23 | Scroll down to the bottom and locate the Download section.
|
02:34 | Drupal 8 dot x version could be up in the green region.
|
02:41 | If not, then click the Development release. |
02:44 | Now there are two ways to do this.
|
02:51 | Or we can right-click.
|
03:00 | Either way, click the link to the .tar file or the .zip file.
|
03:15 | Once we have got that, come back to our site.
|
03:25 | Now paste the URL into the Install from a URL field.
|
03:32 | Now, click on Enable newly added modules. |
03:41 | Click on the word CORE to minimize it.
|
03:53 | Put a checkmark in Devel and Devel generate.
|
04:05 | Remember that in Drupal, we always have to make sure that we click on Save, Install, etc. |
04:16 | We should get a green message here – 2 modules have been enabled |
04:19 | Don’t worry if you see any caution message in red color, as long as it’s not a serious error. |
04:27 | To generate a whole bunch of content, click on Configuration.
|
04:41 | Now, we will be able to generate as much content as we want, to do the required testing. |
04:49 | We will choose Events and User Groups, because these are the 2 Content types we need to test. |
04:55 | Notice here, there is a Delete all content in these content types before generating new content.
|
05:02 | Let’s put a check mark there and generate 0 nodes.
|
05:11 | This will also include the ones that we created ourselves.
|
05:22 | Let’s generate 50 nodes. |
05:26 | Go back a year. |
05:30 | We don’t have comments on our nodes. |
05:33 | Change the Maximum number of words in titles to 2.
|
05:43 | Click Generate. |
05:49 | Immediately, we get a success message.
|
05:57 | Here’s a list of 50 new nodes - half Events and half User groups. |
06:04 | Click on any one and we will see that Devel has generated -
|
06:23 | We can now do our layouts, our views and all the other things we need to do with our site.
|
06:38 | This is a great feature of Drupal, provided from a Module downloaded at drupal.org.
|
Slide 4:
Summary
|
Let us summarize.
|
Slide 5:
Acknowledgement |
This video is
|
Slide 6:
Acknowledgement
|
The video at this link summarises the Spoken Tutorial project.
|
Slide 7:
Spoken Tutorial Workshops
|
The Spoken Tutorial Project Team conducts workshops and gives certificates.
|
Slide 8:
Acknowledgement
|
Spoken Tutorial Project is funded by
Government of India. |
This is Varsha Venkatesh signing off.
|