Difference between revisions of "Drupal/C2/Taxonomy/English-timed"

From Script | Spoken-Tutorial
Jump to: navigation, search
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{|border=1
+
{|border =1  
|'''Time'''
+
| '''Time'''
|'''Narration'''
+
| '''Narration'''
  
 
|-
 
|-
 
| 00:01
 
| 00:01
| Welcome to the '''Spoken tutorial''' on''' Taxonomy'''.
+
| Welcome to the '''Spoken tutorial''' on '''Taxonomy'''.  
  
 
|-
 
|-
 
| 00:05
 
| 00:05
| In this tutorial, we will learn about:  
+
| In this tutorial, we will learn about:'''Taxonomy''' and Adding a '''Taxonomy'''.  
'''Taxonomy''' and
+
Adding a '''Taxonomy'''.
+
  
 
|-
 
|-
|00:11
+
| 00:11
| To record this tutorial, I am using:
+
| To record this tutorial, I am using:'''Ubuntu Linux Operating System Drupal 8''' and '''Firefox Web browser'''.You can use any web browser as per your choice.  
'''Ubuntu Linux Operating System'''
+
'''Drupal 8''' and
+
'''Firefox Web browser'''.
+
You can use any web browser as per your choice.
+
  
 
|-
 
|-
 
| 00:23
 
| 00:23
| Let us open our website which we created earlier.
+
| Let us open our website which we created earlier.  
  
 
|-
 
|-
|00:27
+
| 00:27
| Now that we have all of our''' Content types''' and''' fields''' built, we need to add''' categorization.''' And, that’s where''' Taxonomy''' comes in.
+
| Now that we have all of our '''Content types''' and '''fields''' built, we need to add '''categorization'''. And, that’s where '''Taxonomy''' comes in.  
  
 
|-
 
|-
 
| 00:37
 
| 00:37
| '''Taxonomy''' is nothing else but''' Categories'''.
+
| '''Taxonomy''' is nothing else but '''Categories'''.  
  
 
|-
 
|-
|00:41
+
| 00:41
|Going back to our''' IMDB''' example, recall that we had a''' Movie Genre''' field on the''' IMDB site'''.
+
| Going back to our '''IMDB''' example, recall that we had a '''Movie Genre''' field on the '''IMDB site'''.
  
 
|-
 
|-
 
| 00:50
 
| 00:50
| Well, here’s the way it works in Drupal’s '''taxonomy'''.
+
| Well, here’s the way it works in Drupal’s '''taxonomy'''.  
  
 
|-
 
|-
|00:54
+
| 00:54
|'''Movie genre''' would be a''' vocabulary''' and that’s the term for the main''' category'''.
+
| Movie genre would be a '''vocabulary''' and that’s the term for the main category.  
  
 
|-
 
|-
 
| 01:00
 
| 01:00
| And in that '''vocabulary''', we have''' Terms.'''
+
| And in that vocabulary, we have '''Terms'''.
  
 
|-
 
|-
|01:04
+
| 01:04
|So, on the screen, we have''' ACTION, ADVENTURE, COMEDY, DRAMA''' and''' ROMANCE.'''
+
| So, on the screen, we have '''ACTION''', '''ADVENTURE''', '''COMEDY''', '''DRAMA''' and '''ROMANCE'''.
  
 
|-
 
|-
|01:11
+
| 01:11
|And then under''' COMEDY,''' we have''' ROMANTIC, ACTION, SLAPSTICK''' and''' SCREWBALL'''.
+
| And then under '''COMEDY''', we have '''ROMANTIC''', '''ACTION''', '''SLAPSTICK''' and '''SCREWBALL'''.  
  
 
|-
 
|-
 
| 01:18
 
| 01:18
|We can have unlimited '''nested categories''' or''' terms''' in a''' Drupal vocabulary''' or''' taxonomy'''.
+
| We can have unlimited '''nested categories''' or '''terms''' in a '''Drupal vocabulary''' or '''taxonomy'''.  
  
 
|-
 
|-
 
| 01:24
 
| 01:24
| Now, here’s one thing that is really important.
+
| Now, here’s one thing that is really important.  
  
 
|-
 
|-
|01:28
+
| 01:28
|One area that many''' sites''' fail on is -
+
| One area that many '''sites''' fail on is -using the '''built-in tagging widget''' or the '''tag vocabulary''' to categorize their content.  
using the''' built-in tagging widget''' or the''' tag vocabulary''' to categorize their content.
+
  
 
|-
 
|-
 
| 01:37
 
| 01:37
| While it is great to be able to add''' categories''' on the fly, it has some inherent problems.
+
| While it is great to be able to add '''categories''' on the fly, it has some inherent problems.  
  
 
|-
 
|-
 
| 01:44
 
| 01:44
| What happens if someone types a typo?
+
| What happens if someone types a typo?  
  
 
|-
 
|-
|01:47
+
| 01:47
|So, "energy" –''' e n e r g y''' isn’t the same as''' e n r e g y''' and Drupal doesn’t know the difference.
+
| So, "energy" – '''e n e r g y''' isn’t the same as '''e n r e g y''' and Drupal doesn’t know the difference.  
  
 
|-
 
|-
 
| 01:56
 
| 01:56
| So, suddenly we will have 2''' categories''' and the content is no longer connected.
+
| So, suddenly we will have 2 '''categories''' and the content is no longer connected.  
  
 
|-
 
|-
 
| 02:02
 
| 02:02
| That’s why we always recommend a closed''' taxonomy''', like the one on the '''screen'''.
+
| That’s why we always recommend a closed '''taxonomy''', like the one on the '''screen'''.  
  
 
|-
 
|-
|02:08
+
| 02:08
|It’s easy to set up and we are going to do that later on, in this series.
+
| It’s easy to set up and we are going to do that later on, in this series.  
  
 
|-
 
|-
 
| 02:12
 
| 02:12
| For now understand that''' Taxonomy''' can be used in so many ways.
+
| For now understand that '''Taxonomy''' can be used in so many ways.  
  
 
|-
 
|-
|02:17
+
| 02:17
|We’ve already seen how it creates lists of '''content'''. But we can also use''' taxonomy''' to filter and sort all kinds of''' Views,''' if we use it correctly.
+
| We’ve already seen how it creates lists of '''content'''.But we can also use '''taxonomy''' to filter and sort all kinds of '''Views''', if we use it correctly.  
  
 
|-
 
|-
 
| 02:28
 
| 02:28
| Well, let’s dive into''' taxonomy''' now.
+
| Well, let’s dive into '''taxonomy''' now.  
  
 
|-
 
|-
|02:32
+
| 02:32
|We will set up a''' taxonomy''' for our''' 'Events' Content type.'''
+
| We will set up a taxonomy for our ''''Events' Content type'''.
  
 
|-
 
|-
 
| 02:35
 
| 02:35
| Click on''' Structure''', scroll down and click on''' Taxonomy'''.
+
| Click on '''Structure''', scroll down and click on '''Taxonomy'''.
  
 
|-
 
|-
 
| 02:41
 
| 02:41
| As you probably remember, we have been setting up''' tags''' all along.
+
| As you probably remember, we have been setting up '''tags''' all along.  
  
 
|-
 
|-
 
| 02:46
 
| 02:46
|But as I mentioned earlier, we want to have a''' closed taxonomy'''- something that we can control and not something that people can easily add''' terms''' to.
+
| But as I mentioned earlier, we want to have a '''closed taxonomy'''-something that we can control and not something that people can easily add '''terms''' to.  
  
 
|-
 
|-
 
| 02:56
 
| 02:56
| So, we will click on''' Add vocabulary.''' Let’s name this as "Event Topics".
+
| So, we will click on '''Add vocabulary'''. Let’s name this as "Event Topics".  
  
 
|-
 
|-
|03:02
+
| 03:02
|In the''' Description,''' we will type - "this is where we track the topics for Drupal events".
+
| In the '''Description''', we will type -"this is where we track the topics for Drupal events".  
  
 
|-
 
|-
 
| 03:09
 
| 03:09
| Click''' Save.''' Now we can add''' terms''' to our''' vocabulary'''.
+
| Click '''Save'''. Now we can add '''terms''' to our '''vocabulary'''.Click on '''Add a term'''.  
Click on''' Add a term'''.
+
  
 
|-
 
|-
 
| 03:16
 
| 03:16
|On the screen, you see a list of the terms that we are going to add –
+
| On the screen, you see a list of the terms that we are going to add –'''Introduction to Drupal''', '''Site Building''',
'''Introduction to Drupal,'''
+
'''Site Building,'''
+
  
 
|-
 
|-
|03:24
+
| 03:24
|'''Module Development,'''
+
| '''Module Development''','''Theming''' and '''Performance'''.
'''Theming''' and '''Performance.'''
+
  
 
|-
 
|-
 
| 03:28
 
| 03:28
| Let’s add those –''' Introduction to Drupal''' and click''' Save.'''
+
| Let’s add those –'''Introduction to Drupal''' and click '''Save'''.
  
 
|-
 
|-
 
| 03:34
 
| 03:34
| And, it brings us back to this''' Add''' screen again.
+
| And, it brings us back to this '''Add''' screen again.  
  
 
|-
 
|-
 
| 03:39
 
| 03:39
| Now, I’ll type "Site Building" and click''' Save.'''
+
| Now, I’ll type "Site Building" and click '''Save'''.
  
 
|-
 
|-
 
| 03:43
 
| 03:43
|"Module Development" and click''' Save.''' "Theming". I’m just pressing ''' Enter''' and it automatically saves.
+
| "Module Development" and click '''Save'''. "Theming".I’m just pressing '''Enter''' and it automatically saves.  
  
 
|-
 
|-
 
| 03:53
 
| 03:53
| And then the last one is "Performance" and click''' Save'''.
+
| And then the last one is "Performance" and click '''Save'''.  
  
 
|-
 
|-
 
| 03:57
 
| 03:57
| We can add complex''' vocabulary''' here, but we’ll just keep this simple for now.
+
| We can add complex '''vocabulary''' here, but we’ll just keep this simple for now.  
  
 
|-
 
|-
 
| 04:03
 
| 04:03
| Clicking on''' Taxonomy''' here and listing the''' terms''' in the''' Event Topics.'''
+
| Clicking on '''Taxonomy''' here and listing the '''terms''' in the '''Event Topics'''.
  
 
|-
 
|-
 
| 04:09
 
| 04:09
|We now have''' Introduction, Module Development, Performance, Site Building''' and''' Theming.'''
+
| We now have '''Introduction''', '''Module Development''', '''Performance''', '''Site Building''' and '''Theming'''.
  
 
|-
 
|-
 
| 04:16
 
| 04:16
|And, they’re in alphabetical order.
+
| And, they’re in alphabetical order.  
  
 
|-
 
|-
 
| 04:19
 
| 04:19
| But, I want to arrange them in the order of difficulty.
+
| But, I want to arrange them in the order of difficulty.  
  
 
|-
 
|-
 
| 04:23
 
| 04:23
|So, I’m going to move''' Module Development''' down, '''Site Building''' up.
+
| So, I’m going to move '''Module Development''' down, '''Site Building''' up.  
  
 
|-
 
|-
 
| 04:27
 
| 04:27
| And, I am going to put''' Theming''' after''' Site Building''' and then''' Performance''' at the very end.
+
| And, I am going to put '''Theming''' after '''Site Building''' and then '''Performance''' at the very end.  
  
 
|-
 
|-
 
| 04:34
 
| 04:34
| Just click and drag these. Always remember to '''save''' your changes.
+
| Just click and drag these. Always remember to '''save''' your changes.
  
 
|-
 
|-
 
| 04:39
 
| 04:39
|Otherwise Drupal won’t remember them after you leave the '''screen'''.
+
| Otherwise Drupal won’t remember them after you leave the '''screen'''.  
  
 
|-
 
|-
 
| 04:44
 
| 04:44
| So, click''' Save'''. And there we have our''' terms''' in the order that we want.
+
| So, click '''Save'''. And there we have our '''terms''' in the order that we want.  
  
 
|-
 
|-
 
| 04:50
 
| 04:50
| We have added the''' taxonomy''' but our''' Content type''' doesn’t know about this yet.
+
| We have added the '''taxonomy''' but our '''Content type''' doesn’t know about this yet.  
  
 
|-
 
|-
|04:56
+
| 04:56
| So, let’s go and click on''' Structure, Content types.'''
+
| So, let’s go and click on '''Structure''', '''Content types'''.
  
 
|-
 
|-
 
| 05:00
 
| 05:00
|And let’s manage our''' Fields''' and the''' 'Events' Content type'''. Then click''' Add field.'''
+
| And let’s manage our '''Fields''' and the ''''Events' Content type'''. Then click '''Add field'''.
  
 
|-
 
|-
 
| 05:06
 
| 05:06
| Selecting a''' field type''' in this case is a''' Reference''' to the''' Taxonomy term''', in the''' vocabulary''' that we just created.
+
| Selecting a '''field type''' in this case is a '''Reference''' to the '''Taxonomy term''', in the '''vocabulary''' that we just created.  
  
 
|-
 
|-
 
| 05:14
 
| 05:14
| So, choose''' Taxonomy term''' and let’s name this''' Event Topics'''. Click''' Save and continue'''.
+
| So, choose '''Taxonomy term''' and let’s name this '''Event Topics'''. Click '''Save and continue'''.  
  
 
|-
 
|-
 
| 05:23
 
| 05:23
| And now it’s going to ask us which''' Type of item to reference'''.
+
| And now it’s going to ask us which '''Type of item to reference'''.  
  
 
|-
 
|-
 
| 05:28
 
| 05:28
|Since we have already chosen that, be careful here. We will change it to''' Unlimited''' because an''' event''' can have more than one''' topic'''.
+
| Since we have already chosen that, be careful here. We will change it to '''Unlimited''' because an '''event''' can have more than one '''topic'''.  
  
 
|-
 
|-
 
| 05:37
 
| 05:37
| Click''' Save field settings.'''
+
| Click '''Save field settings'''.
  
 
|-
 
|-
 
| 05:40
 
| 05:40
| And down here, we need to make sure that we choose the correct '''Reference type'''.
+
| And down here, we need to make sure that we choose the correct '''Reference type'''.  
  
 
|-
 
|-
 
| 05:46
 
| 05:46
|Let’s choose''' Event Topics'''. Here, this is going to allow us to create '''references entities''' if they don’t already exist.
+
| Let’s choose '''Event Topics'''. Here, this is going to allow us to create '''references entities''' if they don’t already exist.  
  
 
|-
 
|-
 
| 05:56
 
| 05:56
| This is called''' Inline entity reference'''. Basically it means, if there was a''' topic''' that wasn’t in our listing, then any user can add it on the fly.
+
| This is called '''Inline entity reference'''. Basically it means, if there was a '''topic''' that wasn’t in our listing, then any user can add it on the fly.  
  
 
|-
 
|-
 
| 06:07
 
| 06:07
| We don’t want anyone to do that. So, we will leave that unchecked.
+
| We don’t want anyone to do that. So, we will leave that unchecked.  
  
 
|-
 
|-
 
| 06:11
 
| 06:11
| Click''' Save settings'''.
+
| Click '''Save settings'''.  
  
 
|-
 
|-
 
| 06:15
 
| 06:15
| There is one more step before we add content.
+
| There is one more step before we add content.  
  
 
|-
 
|-
 
| 06:18
 
| 06:18
|We need to set up our''' URL patterns''' and we usually do this before we add content.
+
| We need to set up our '''URL patterns''' and we usually do this before we add content.  
  
 
|-
 
|-
 
| 06:24
 
| 06:24
|This ensures that the content we add has the correct human-friendly''' URL'''.
+
| This ensures that the content we add has the correct human-friendly '''URL'''.  
  
 
|-
 
|-
 
| 06:30
 
| 06:30
| We’ll do that later on, in this series. With this, we come to the end of this tutorial.
+
| We’ll do that later on, in this series. With this, we come to the end of this tutorial.  
  
 
|-
 
|-
 
| 06:36
 
| 06:36
|Let us summarize.
+
| Let us summarize.  
  
 
|-
 
|-
 
| 06:39
 
| 06:39
|In this tutorial, we have learnt about:
+
| In this tutorial, we have learnt about:'''Taxonomy''' and Adding a '''Taxonomy'''.  
 
+
* '''Taxonomy''' and
+
* Adding a '''Taxonomy'''.
+
  
 
|-
 
|-
 
| 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 summarizes the Spoken Tutorial project. Please 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 17:53, 21 November 2016

Time Narration
00:01 Welcome to the Spoken tutorial on Taxonomy.
00:05 In this tutorial, we will learn about:Taxonomy and Adding a Taxonomy.
00:11 To record this tutorial, I am using:Ubuntu Linux Operating System Drupal 8 and Firefox Web browser.You can use any web browser as per your choice.
00:23 Let us open our website which we created earlier.
00:27 Now that we have all of our Content types and fields built, we need to add categorization. And, that’s where Taxonomy comes in.
00:37 Taxonomy is nothing else but Categories.
00:41 Going back to our IMDB example, recall that we had a Movie Genre field on the IMDB site.
00:50 Well, here’s the way it works in Drupal’s taxonomy.
00:54 Movie genre would be a vocabulary and that’s the term for the main category.
01:00 And in that vocabulary, we have Terms.
01:04 So, on the screen, we have ACTION, ADVENTURE, COMEDY, DRAMA and ROMANCE.
01:11 And then under COMEDY, we have ROMANTIC, ACTION, SLAPSTICK and SCREWBALL.
01:18 We can have unlimited nested categories or terms in a Drupal vocabulary or taxonomy.
01:24 Now, here’s one thing that is really important.
01:28 One area that many sites fail on is -using the built-in tagging widget or the tag vocabulary to categorize their content.
01:37 While it is great to be able to add categories on the fly, it has some inherent problems.
01:44 What happens if someone types a typo?
01:47 So, "energy" – e n e r g y isn’t the same as e n r e g y and Drupal doesn’t know the difference.
01:56 So, suddenly we will have 2 categories and the content is no longer connected.
02:02 That’s why we always recommend a closed taxonomy, like the one on the screen.
02:08 It’s easy to set up and we are going to do that later on, in this series.
02:12 For now understand that Taxonomy can be used in so many ways.
02:17 We’ve already seen how it creates lists of content.But we can also use taxonomy to filter and sort all kinds of Views, if we use it correctly.
02:28 Well, let’s dive into taxonomy now.
02:32 We will set up a taxonomy for our 'Events' Content type.
02:35 Click on Structure, scroll down and click on Taxonomy.
02:41 As you probably remember, we have been setting up tags all along.
02:46 But as I mentioned earlier, we want to have a closed taxonomy-something that we can control and not something that people can easily add terms to.
02:56 So, we will click on Add vocabulary. Let’s name this as "Event Topics".
03:02 In the Description, we will type -"this is where we track the topics for Drupal events".
03:09 Click Save. Now we can add terms to our vocabulary.Click on Add a term.
03:16 On the screen, you see a list of the terms that we are going to add –Introduction to Drupal, Site Building,
03:24 Module Development,Theming and Performance.
03:28 Let’s add those –Introduction to Drupal and click Save.
03:34 And, it brings us back to this Add screen again.
03:39 Now, I’ll type "Site Building" and click Save.
03:43 "Module Development" and click Save. "Theming".I’m just pressing Enter and it automatically saves.
03:53 And then the last one is "Performance" and click Save.
03:57 We can add complex vocabulary here, but we’ll just keep this simple for now.
04:03 Clicking on Taxonomy here and listing the terms in the Event Topics.
04:09 We now have Introduction, Module Development, Performance, Site Building and Theming.
04:16 And, they’re in alphabetical order.
04:19 But, I want to arrange them in the order of difficulty.
04:23 So, I’m going to move Module Development down, Site Building up.
04:27 And, I am going to put Theming after Site Building and then Performance at the very end.
04:34 Just click and drag these. Always remember to save your changes.
04:39 Otherwise Drupal won’t remember them after you leave the screen.
04:44 So, click Save. And there we have our terms in the order that we want.
04:50 We have added the taxonomy but our Content type doesn’t know about this yet.
04:56 So, let’s go and click on Structure, Content types.
05:00 And let’s manage our Fields and the 'Events' Content type. Then click Add field.
05:06 Selecting a field type in this case is a Reference to the Taxonomy term, in the vocabulary that we just created.
05:14 So, choose Taxonomy term and let’s name this Event Topics. Click Save and continue.
05:23 And now it’s going to ask us which Type of item to reference.
05:28 Since we have already chosen that, be careful here. We will change it to Unlimited because an event can have more than one topic.
05:37 Click Save field settings.
05:40 And down here, we need to make sure that we choose the correct Reference type.
05:46 Let’s choose Event Topics. Here, this is going to allow us to create references entities if they don’t already exist.
05:56 This is called Inline entity reference. Basically it means, if there was a topic that wasn’t in our listing, then any user can add it on the fly.
06:07 We don’t want anyone to do that. So, we will leave that unchecked.
06:11 Click Save settings.
06:15 There is one more step before we add content.
06:18 We need to set up our URL patterns and we usually do this before we add content.
06:24 This ensures that the content we add has the correct human-friendly URL.
06:30 We’ll do that later on, in this series. With this, we come to the end of this tutorial.
06:36 Let us summarize.
06:39 In this tutorial, we have learnt about:Taxonomy and Adding a Taxonomy.
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, Priyacst, Sandhya.np14, Vijinair