Difference between revisions of "Drupal/C2/Creating-Dummy-Content/English"
(Created page with "'''Title of Script: '''Creating Dummy Content '''Keywords: '''video tutorial, drupal, devel, dummy content {| style="border-spacing:0;" | style="border:1pt solid #000000;p...") |
Nancyvarkey (Talk | contribs) |
||
| Line 19: | Line 19: | ||
Learning Objectives | Learning Objectives | ||
| − | |||
| − | |||
| style="border:1pt solid #000000;padding:0.097cm;"| In this tutorial, we will learn to | | style="border:1pt solid #000000;padding:0.097cm;"| In this tutorial, we will learn to | ||
* Create dummy content using '''devel module'''. | * Create dummy content using '''devel module'''. | ||
| − | |||
| − | |||
|- | |- | ||
| Line 32: | Line 28: | ||
System requirement | System requirement | ||
| − | |||
| Line 50: | Line 45: | ||
{| style="border-spacing:0;" | {| style="border-spacing:0;" | ||
| + | | style="background-color:#ffffff;border:1pt solid #000000;padding-top:0.185cm;padding-bottom:0.185cm;padding-left:0.132cm;padding-right:0.185cm;"| | ||
| + | | style="background-color:#ffffff;border:1pt solid #000000;padding-top:0.185cm;padding-bottom:0.185cm;padding-left:0.132cm;padding-right:0.185cm;"| '''Part 1''' | ||
| + | |||
| + | |- | ||
| style="background-color:#ffffff;border:1pt solid #000000;padding-top:0.185cm;padding-bottom:0.185cm;padding-left:0.132cm;padding-right:0.185cm;"| '''Time''' | | style="background-color:#ffffff;border:1pt solid #000000;padding-top:0.185cm;padding-bottom:0.185cm;padding-left:0.132cm;padding-right:0.185cm;"| '''Time''' | ||
| style="background-color:#ffffff;border:1pt solid #000000;padding-top:0.185cm;padding-bottom:0.185cm;padding-left:0.132cm;padding-right:0.185cm;"| '''Narration''' | | style="background-color:#ffffff;border:1pt solid #000000;padding-top:0.185cm;padding-bottom:0.185cm;padding-left:0.132cm;padding-right:0.185cm;"| '''Narration''' | ||
| Line 79: | Line 78: | ||
|- | |- | ||
| style="background-color:#ffffff;border:1pt solid #000000;padding-top:0.185cm;padding-bottom:0.185cm;padding-left:0.132cm;padding-right:0.185cm;"| 00:39 | | style="background-color:#ffffff;border:1pt solid #000000;padding-top:0.185cm;padding-bottom:0.185cm;padding-left:0.132cm;padding-right:0.185cm;"| 00:39 | ||
| − | | style="background-color:#ffffff;border:1pt solid #000000;padding-top:0.185cm;padding-bottom:0.185cm;padding-left:0.132cm;padding-right:0.185cm;"| We have only covered a few kinds of fields till now. | + | | style="background-color:#ffffff;border:1pt solid #000000;padding-top:0.185cm;padding-bottom:0.185cm;padding-left:0.132cm;padding-right:0.185cm;"| We have only covered a few kinds of '''fields''' till now. |
|- | |- | ||
| Line 189: | Line 188: | ||
|- | |- | ||
| style="background-color:#ffffff;border:1pt solid #000000;padding-top:0.185cm;padding-bottom:0.185cm;padding-left:0.132cm;padding-right:0.185cm;"| 03:15 | | style="background-color:#ffffff;border:1pt solid #000000;padding-top:0.185cm;padding-bottom:0.185cm;padding-left:0.132cm;padding-right:0.185cm;"| 03:15 | ||
| − | | style="background-color:#ffffff;border:1pt solid #000000;padding-top:0.185cm;padding-bottom:0.185cm;padding-left:0.132cm;padding-right:0.185cm;"| Once we have got that, come back to our site. | + | | style="background-color:#ffffff;border:1pt solid #000000;padding-top:0.185cm;padding-bottom:0.185cm;padding-left:0.132cm;padding-right:0.185cm;"| Once we have got that, come back to our '''site'''. |
| Line 205: | Line 204: | ||
| − | Please download it and | + | Please download it and upload it using the '''Choose File''' option here. |
| Line 309: | Line 308: | ||
|- | |- | ||
| style="background-color:#ffffff;border:1pt solid #000000;padding-top:0.185cm;padding-bottom:0.185cm;padding-left:0.132cm;padding-right:0.185cm;"| 05:43 | | style="background-color:#ffffff;border:1pt solid #000000;padding-top:0.185cm;padding-bottom:0.185cm;padding-left:0.132cm;padding-right:0.185cm;"| 05:43 | ||
| − | | style="background-color:#ffffff;border:1pt solid #000000;padding-top:0.185cm;padding-bottom:0.185cm;padding-left:0.132cm;padding-right:0.185cm;"| | + | | style="background-color:#ffffff;border:1pt solid #000000;padding-top:0.185cm;padding-bottom:0.185cm;padding-left:0.132cm;padding-right:0.185cm;"| Click''' Generate'''. |
|- | |- | ||
| Line 332: | Line 331: | ||
* has chosen one of the''' User Groups''' as''' Sponsor''' | * has chosen one of the''' User Groups''' as''' Sponsor''' | ||
* and has selected some of the''' Event Topics.''' | * and has selected some of the''' Event Topics.''' | ||
| − | |||
| − | |||
|- | |- | ||
| Line 366: | Line 363: | ||
* Creating dummy contents using''' devel''' module | * Creating dummy contents using''' devel''' module | ||
| − | |||
| − | |||
|- | |- | ||
| Line 373: | Line 368: | ||
Acknowledgement | Acknowledgement | ||
| − | |||
| − | |||
| style="border:1pt solid #000000;padding:0.097cm;"| This video is | | style="border:1pt solid #000000;padding:0.097cm;"| This video is | ||
| Line 380: | Line 373: | ||
* adapted from Acquia and OSTraining | * adapted from Acquia and OSTraining | ||
* and revised by Spoken Tutorial Project, IIT Bombay. | * and revised by Spoken Tutorial Project, IIT Bombay. | ||
| − | |||
| − | |||
|- | |- | ||
| Line 395: | Line 386: | ||
Pls download and watch it. | Pls download and watch it. | ||
| − | |||
| − | |||
| − | |||
|- | |- | ||
| Line 403: | Line 391: | ||
Spoken Tutorial Workshops | Spoken Tutorial Workshops | ||
| − | |||
| Line 412: | Line 399: | ||
For more details, please write to us. | For more details, please write to us. | ||
| − | |||
| − | |||
| − | |||
|- | |- | ||
| Line 420: | Line 404: | ||
Acknowledgement | Acknowledgement | ||
| − | |||
Revision as of 18:07, 15 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.
|