Difference between revisions of "Drupal/C2/Creating-Dummy-Content/English-timed"

From Script | Spoken-Tutorial
Jump to: navigation, search
(Created page with "{|border=1 |'''Time''' |'''Narration''' |- | 00:01 | Welcome to the spoken tutorial on''' Creating Dummy Content.''' |- | 00:06 | In this tutorial, we will learn to* Create...")
 
 
(4 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
|-
 
|-
 
| 00:01
 
| 00:01
| Welcome to the spoken tutorial on''' Creating Dummy Content.'''
+
| Welcome to the '''spoken tutorial''' on''' Creating Dummy Content.'''
  
 
|-
 
|-
 
| 00:06
 
| 00:06
| In this tutorial, we will learn to* Create dummy content using '''devel module'''.
+
| In this tutorial, we will learn to create dummy content using '''devel module'''.
  
 
|-
 
|-
 
| 00:12
 
| 00:12
| To record this tutorial, I am using
+
| To record this tutorial, I am using:
* '''Ubuntu Operating System'''
+
'''Ubuntu Operating System'''
* '''Drupal 8''' and
+
'''Drupal 8''' and
* '''Firefox''' web browser
+
'''Firefox''' web browser.
 
+
 
You can use any web browser as per your choice.
 
You can use any web browser as per your choice.
  
 
|-
 
|-
 
|00:25
 
|00:25
| One of the things we need when we are building our''' Drupal site''' is to have a lot of content.This will help us to understand''' layouts''',''' views''' and''' designs'''.
+
| One of the things we need when we are building our''' Drupal site''' is to have a lot of content. This will help us to understand''' layouts, views''' and''' designs'''.
  
 
|-
 
|-
 
| 00:36
 
| 00:36
| But ideally, we shouldn’t use real content.Say, we need to change a''' Content type,''' or a''' field.'''
+
| But ideally, we shouldn’t use real content. Say, we need to change a''' Content type,''' or a''' field.'''
  
 
|-
 
|-
 
| 00:44
 
| 00:44
| The problem is we have to go in and edit the real content, which is a waste of time.
+
| The problem is we have to go in and edit the real content which is a waste of time.
  
 
|-
 
|-
Line 38: Line 37:
 
|-
 
|-
 
| 00:57
 
| 00:57
| We have only covered a few kinds of '''fields''' till now.
+
| We have only covered a few kinds of fields till now.
  
 
|-
 
|-
 
| 01:01
 
| 01:01
| Here is our''' Cincinnati node.'''Let’s say the''' Cincinnati group''' wants to charge a fee for their meetings.
+
| Here is our''' Cincinnati node.''' Let’s say the''' Cincinnati group''' wants to charge a fee for their meetings
  
 
|-
 
|-
 
|01:07
 
|01:07
|And they want to put this on the''' site'''.
+
|and they want to put this on the''' site'''.
  
 
|-
 
|-
 
| 01:10
 
| 01:10
| We can use a''' decimal''' for money, or an''' integer''' which is a whole number.
+
| We can use a decimal for money or an integer which is a whole number.
  
 
|-
 
|-
 
|01:15
 
|01:15
| Say, you chose an''' integer''', because they only charged 10 dollars.But later on, they decided to charge 10.99 dollars.
+
| Say, you chose an integer because they only charged 10 dollars. But later on, they decided to charge 10.99 dollars.
  
 
|-
 
|-
Line 62: Line 61:
 
|-
 
|-
 
| 01:26
 
| 01:26
| An''' integer''' cannot be changed into a''' decimal,''' especially after we have already added content.
+
| An integer cannot be changed into a decimal, especially after we have already added content.
  
 
|-
 
|-
 
| 01:32
 
| 01:32
| And so these are the things that need to planned out beforehand.
+
| And so, these are the things that need to be planned out beforehand.
  
 
|-
 
|-
 
|01:37
 
|01:37
| We can test all of this by using some fake content.These can be easily inserted, and easily deleted, when we are done with our testing.
+
| We can test all of this by using some fake content. These can be easily inserted and easily deleted, when we are done with our testing.
  
 
|-
 
|-
 
| 01:48
 
| 01:48
| Remember this - we don’t need hundreds of real contents but only a few fake content.
+
| Remember this - we don’t need hundreds of real contents but only a few fake contents.
  
 
|-
 
|-
Line 82: Line 81:
 
|-
 
|-
 
| 02:02
 
| 02:02
|Till now, we haven’t actually talked about''' Modules''' or extended our''' Drupal''' website yet.We will do that in the upcoming tutorials.
+
|Till now, we haven’t actually talked about''' Modules''' or extended our Drupal website yet. We will do that in the upcoming tutorials.
  
 
|-
 
|-
 
| 02:11
 
| 02:11
| But here, we will learn to install''' Devel Module''' and use it.This will give an idea of some of the power that''' Drupal Modules''' can give us.
+
| But here, we will learn to install''' Devel Module''' and use it. This will give us an idea of some of the power that''' Drupal Modules''' can give us.
  
 
|-
 
|-
 
| 02:21
 
| 02:21
| Scroll down to the bottom and locate the''' Download''' section.This screen might look very different for you.
+
| Scroll down to the bottom and locate the''' Download''' section. This screen might look very different for you.
  
 
|-
 
|-
 
|02:28
 
|02:28
| '''Drupal 8 dot x''' version could be up in the green region.So, make sure you click that one.
+
| '''Drupal 8 dot x''' version could be up in the green region. So, make sure you click that one.
  
 
|-
 
|-
 
| 02:34
 
| 02:34
| If not, then click the''' Development release'''.
+
| If not, then click the''' Development releases'''.
  
 
|-
 
|-
 
| 02:38
 
| 02:38
| Now there are two ways to do this.We can download it, but that will give us many unnecessary files on our desktop.
+
| Now, there are two ways to do this. We can download it, but that will give us many unnecessary files on our desktop.
  
 
|-
 
|-
 
|02:44
 
|02:44
| Or we can right-click.And depending on our browser, we will see either''' Copy Link''' or''' Copy Link Location'''.
+
| Or, we can right-click. And depending on our browser, we will see either''' Copy Link''' or''' Copy Link Location'''.
  
 
|-
 
|-
 
| 02:53
 
| 02:53
| Either way, click the link to the .'''tar''' file or the .'''zip''' file.But don’t click on this''' dev''' file, because that won’t work.
+
| Either way, click the link to the '''.tar''' file or the '''.zip''' file. But don’t click on this''' dev''' file, because that won’t work.
  
 
|-
 
|-
Line 118: Line 117:
 
|-
 
|-
 
| 03:04
 
| 03:04
| Once we have got that, come back to our '''site'''.Click on''' Extend''' and then on''' Install new module'''.
+
| Once we have got that, come back to our '''site'''. Click on''' Extend''' and then on''' Install new module'''.
  
 
|-
 
|-
 
| 03:11
 
| 03:11
| Now paste the''' URL''' into the''' Install from a URL''' field.If you have a good internet connection, you can install from the URL.
+
| Now, paste the URL into the''' Install from a URL''' field. If you have a good internet connection, you can install from the URL.
  
 
|-
 
|-
Line 130: Line 129:
 
|-
 
|-
 
| 03:31
 
| 03:31
|Please download it and upload it using the '''Choose File''' option here.Lastly, click''' Install.'''
+
|Please download it and upload it using the '''Choose File''' option here. Lastly, click''' Install.'''
  
 
|-
 
|-
Line 138: Line 137:
 
|-
 
|-
 
| 03:45
 
| 03:45
| Click on the word''' CORE''' to minimize it.Then scroll down.
+
| Click on the word''' CORE''' to minimize it. Then scroll down.
  
 
|-
 
|-
 
| 03:50
 
| 03:50
|Under the''' DEVELOPMENT block,''' we can see''' Devel''' and''' Devel generate'''.Ignore the others for now.
+
|Under the''' DEVELOPMENT''' block, we can see''' Devel''' and''' Devel generate'''. Ignore the others, for now.
  
 
|-
 
|-
 
| 03:57
 
| 03:57
| Put a checkmark in''' Devel''' and''' Devel generate.'''Then, scroll down to the bottom and click''' Install'''.
+
| Put a check-mark in''' Devel''' and''' Devel generate.''' Then, scroll down to the bottom and click''' Install'''.
  
 
|-
 
|-
 
| 04:05
 
| 04:05
| Remember that in''' Drupal,''' we always have to make sure that we click on''' Save, Install''', etc.
+
| Remember that in''' Drupal,''' we always have to make sure that we click on''' Save, Install''' etc.
  
 
|-
 
|-
 
| 04:12
 
| 04:12
| We should get a green message here –''' 2 modules have been enabled'''
+
| We should get a green message here –"2 modules have been enabled".
  
 
|-
 
|-
Line 162: Line 161:
 
|-
 
|-
 
| 04:23
 
| 04:23
| To generate a whole bunch of content, click on''' Configuration.'''Then on the left hand side, we will see''' Generate content''' link.Click on that.
+
| To generate a whole bunch of content, click on''' Configuration.''' Then on the left hand side, we will see''' Generate content''' link. Click on that.
  
 
|-
 
|-
Line 170: Line 169:
 
|-
 
|-
 
| 04:41
 
| 04:41
| We will choose''' Events''' and''' User Groups''', because these are the 2''' Content types''' we need to test.
+
| We will choose''' Events''' and''' User Groups''' because these are the 2''' Content types''' that we need to test.
  
 
|-
 
|-
 
| 04:47
 
| 04:47
| Notice here, there is a''' Delete all content in these content types before generating new content'''.This is to delete the fake content.
+
| Notice here, there is a "Delete all content in these content types before generating new content". This is to delete the fake content.
  
 
|-
 
|-
 
| 04:56
 
| 04:56
| Let’s put a check mark there and generate''' 0 nodes.'''This will delete all the''' Events''' and''' User Groups.'''
+
| Let’s put a check mark there and generate 0 (zero) nodes. This will delete all the''' Events''' and''' User Groups.'''
  
 
|-
 
|-
 
| 05:05
 
| 05:05
| This will also include the ones that we created ourselves.For example - our''' Cincinnati User Group''' would also be gone if we did this.
+
| This will also include the ones that we created ourselves. For example - our''' Cincinnati User Group''' would also be gone if we did this.
  
 
|-
 
|-
 
| 05:15
 
| 05:15
|So, let’s uncheck that.| Let’s generate''' 50 nodes.'''
+
|So, let’s uncheck that. Let’s generate 50 nodes.
  
 
|-
 
|-
Line 194: Line 193:
 
|-
 
|-
 
| 05:22
 
| 05:22
| We don’t have''' comments''' on our''' nodes'''.
+
| We don’t have''' comments''' on our nodes.
  
 
|-
 
|-
 
| 05:25
 
| 05:25
| Change the''' Maximum number of words in titles''' to''' 2'''.If you don’t do that, this will generate a lot of long''' Lorem Ipsum''' text.
+
| Change the''' Maximum number of words in titles''' to 2. If you don’t do that, this will generate a lot of long''' Lorem Ipsum''' text.
  
 
|-
 
|-
 
| 05:35
 
| 05:35
| Click''' Generate'''. Immediately, we get a success message.To find out if it worked, click on''' Content'''.
+
| Click''' Generate'''. Immediately, we get a success message. To find out if it worked, click on''' Content'''.
  
 
|-
 
|-
 
| 05:44
 
| 05:44
| Here’s a list of 50 new''' nodes''' - half''' Events''' and half''' User groups'''.
+
| Here’s a list of 50 new nodes - half''' Events''' and half''' User groups'''.
  
 
|-
 
|-
Line 214: Line 213:
 
|-
 
|-
 
| 05:57
 
| 05:57
|a fake''' Event Website,''' a''' Date''',has chosen one of the''' User Groups''' as''' Sponsor''' and has selected some of the''' Event Topics.'''
+
|a fake''' Event Website,''' a''' Date''', has chosen one of the''' User Groups''' as''' Sponsor''' and has selected some of the''' Event Topics.'''
  
 
|-
 
|-
 
| 06:08
 
| 06:08
| We can now do our''' layouts''', our''' views''' and all the other things we need to do with our''' site.'''
+
| We can now do our''' layouts''', our''' views''' and all the other things that we need to do with our''' site.'''
  
 
|-
 
|-
Line 226: Line 225:
 
|-
 
|-
 
| 06:20
 
| 06:20
| This is a great feature of''' Drupal''', provided from a''' Module''' downloaded at''' drupal.org.'''These are called''' Contributed Modules'''. We will learn about this later.
+
| This is a great feature of Drupal, provided from a''' Module''', downloaded at''' drupal.org.''' These are called''' Contributed Modules'''. We will learn about this later.
  
 
|-
 
|-
 
| 06:32
 
| 06:32
|With this we come to the end of this tutorial.
+
|With this, we come to the end of this tutorial.
  
 
|-
 
|-
 
| 06:35
 
| 06:35
| Let us summarize.In this tutorial we have learnt about
+
| Let us summarize. In this tutorial we have learnt about creating dummy contents using''' devel''' module.
* Creating dummy contents using''' devel''' module
+
  
 
|-
 
|-
 
| 06:48
 
| 06:48
| This video is adapted from Acquia and OSTraining and revised by Spoken Tutorial Project, IIT Bombay.
+
| This video is adapted from '''Acquia''' and '''OSTraining''' and revised by '''Spoken Tutorial Project, IIT Bombay'''.
  
 
|-
 
|-
 
| 06:57
 
| 06:57
|The video at this link summarises the Spoken Tutorial project.Pls download and watch it.
+
|The video at this link summarizes the Spoken Tutorial project. Please download and watch it.
  
 
|-
 
|-
 
| 07:03
 
| 07:03
| The Spoken Tutorial Project Team conducts workshops and gives certificates.For more details, please write to us.
+
| The Spoken Tutorial Project team conducts workshops and gives certificates. For more details, please write to us.
  
 
|-
 
|-
 
| 07:11
 
| 07:11
|Spoken Tutorial Project is funded by  NMEICT, Ministry of Human Resource Development and NVLI, Ministry of Culture Government of India.
+
|Spoken Tutorial Project is funded by  NMEICT, Ministry of Human Resource Development and NVLI, Ministry of Culture, Government of India.
  
 
|-
 
|-
 
| 07:23
 
| 07:23
| This is Varsha Venkatesh signing off.Thanks for joining.
+
| This is Varsha Venkatesh, signing off. Thanks for joining.
  
 
|}
 
|}

Latest revision as of 11:02, 7 October 2016

Time Narration
00:01 Welcome to the spoken tutorial on Creating Dummy Content.
00:06 In this tutorial, we will learn to create dummy content using devel module.
00:12 To record this tutorial, I am using:

Ubuntu Operating System Drupal 8 and Firefox web browser. You can use any web browser as per your choice.

00:25 One of the things we need when we are building our Drupal site is to have a lot of content. This will help us to understand layouts, views and designs.
00:36 But ideally, we shouldn’t use real content. Say, we need to change a Content type, or a field.
00:44 The problem is we have to go in and edit the real content which is a waste of time.
00:50 But this step is very important. We need to test our content types to make sure they are working what we want.
00:57 We have only covered a few kinds of fields till now.
01:01 Here is our Cincinnati node. Let’s say the Cincinnati group wants to charge a fee for their meetings
01:07 and they want to put this on the site.
01:10 We can use a decimal for money or an integer which is a whole number.
01:15 Say, you chose an integer because they only charged 10 dollars. But later on, they decided to charge 10.99 dollars.
01:24 Then, we are in trouble.
01:26 An integer cannot be changed into a decimal, especially after we have already added content.
01:32 And so, these are the things that need to be planned out beforehand.
01:37 We can test all of this by using some fake content. These can be easily inserted and easily deleted, when we are done with our testing.
01:48 Remember this - we don’t need hundreds of real contents but only a few fake contents.
01:54 The solution to this problem is the Devel module. Go to drupal.org/project/devel.
02:02 Till now, we haven’t actually talked about Modules or extended our Drupal website yet. We will do that in the upcoming tutorials.
02:11 But here, we will learn to install Devel Module and use it. This will give us an idea of some of the power that Drupal Modules can give us.
02:21 Scroll down to the bottom and locate the Download section. This screen might look very different for you.
02:28 Drupal 8 dot x version could be up in the green region. So, make sure you click that one.
02:34 If not, then click the Development releases.
02:38 Now, there are two ways to do this. We can download it, but that will give us many unnecessary files on our desktop.
02:44 Or, we can right-click. And depending on our browser, we will see either Copy Link or Copy Link Location.
02:53 Either way, click the link to the .tar file or the .zip file. But don’t click on this dev file, because that won’t work.
03:01 These are the links to the actual files.
03:04 Once we have got that, come back to our site. Click on Extend and then on Install new module.
03:11 Now, paste the URL into the Install from a URL field. If you have a good internet connection, you can install from the URL.
03:22 Otherwise, for your convenience, the devel package has been provided in the Code Files link on this page.
03:31 Please download it and upload it using the Choose File option here. Lastly, click Install.
03:41 Now, click on Enable newly added modules.
03:45 Click on the word CORE to minimize it. Then scroll down.
03:50 Under the DEVELOPMENT block, we can see Devel and Devel generate. Ignore the others, for now.
03:57 Put a check-mark in Devel and Devel generate. Then, scroll down to the bottom and click Install.
04:05 Remember that in Drupal, we always have to make sure that we click on Save, Install etc.
04:12 We should get a green message here –"2 modules have been enabled".
04:17 Don’t worry if you see any caution message in red color, as long as it’s not a serious error.
04:23 To generate a whole bunch of content, click on Configuration. Then on the left hand side, we will see Generate content link. Click on that.
04:34 Now, we will be able to generate as much content as we want, to do the required testing.
04:41 We will choose Events and User Groups because these are the 2 Content types that we need to test.
04:47 Notice here, there is a "Delete all content in these content types before generating new content". This is to delete the fake content.
04:56 Let’s put a check mark there and generate 0 (zero) nodes. This will delete all the Events and User Groups.
05:05 This will also include the ones that we created ourselves. For example - our Cincinnati User Group would also be gone if we did this.
05:15 So, let’s uncheck that. Let’s generate 50 nodes.
05:20 Go back a year.
05:22 We don’t have comments on our nodes.
05:25 Change the Maximum number of words in titles to 2. If you don’t do that, this will generate a lot of long Lorem Ipsum text.
05:35 Click Generate. Immediately, we get a success message. To find out if it worked, click on Content.
05:44 Here’s a list of 50 new nodes - half Events and half User groups.
05:50 Click on any one and we will see that Devel has generated - a lot of text in Description, an Event Logo,
05:57 a fake Event Website, a Date, has chosen one of the User Groups as Sponsor and has selected some of the Event Topics.
06:08 We can now do our layouts, our views and all the other things that we need to do with our site.
06:15 Devel has helped us to save a lot of time by generating fake content.
06:20 This is a great feature of Drupal, provided from a Module, downloaded at drupal.org. These are called Contributed Modules. We will learn about this later.
06:32 With this, we come to the end of this tutorial.
06:35 Let us summarize. In this tutorial we have learnt about creating dummy contents using devel module.
06:48 This video is adapted from Acquia and OSTraining and revised by Spoken Tutorial Project, IIT Bombay.
06:57 The video at this link summarizes the Spoken Tutorial project. Please download and watch it.
07:03 The Spoken Tutorial Project team conducts workshops and gives certificates. For more details, please write to us.
07:11 Spoken Tutorial Project is funded by NMEICT, Ministry of Human Resource Development and NVLI, Ministry of Culture, Government of India.
07:23 This is Varsha Venkatesh, signing off. Thanks for joining.

Contributors and Content Editors

Pratik kamble, Sandhya.np14, Shruti arya