Drupal/C2/Taxonomy/Gujarati
From Script | Spoken-Tutorial
Time | Narration |
00:01 | Taxonomy પરનાં Spoken tutorial માં સ્વાગત છે. |
00:05 | આ ટ્યુટોરીયલમાં, આપણે આપેલ વિશે શીખીશું:
|
00:11 | આ ટ્યુટોરીયલ રેકોર્ડ કરવા માટે, હું વાપરી રહ્યો છું:
તમે તમારા પસંદનું કોઈપણ વેબ બ્રાઉઝર વાપરી શકો છો. |
00:23 | ચાલો આપણે પહેલા બનાવેલી આપણી વેબસાઈટ ખોલીએ. |
00:27 | હવે જો કે આપણી પાસે તમામ આપણા Content types અને fields બનેલ છે, આપણને categorization ઉમેરવાની જરૂર છે. અને, અહીં Taxonomy નો પરિચય થાય છે. |
00:37 | Taxonomy એ Categories શિવાય બીજું કઈ નથી. . |
00:41 | આપણા IMDB ઉદાહરણ પર પાછા જઈએ, યાદ કરો કે આપણી પાસે IMDB site પર એક Movie Genre ફિલ્ડ હતું. |
00:50 | સારું, ડ્રૂપલની taxonomy માં તે કેવી રીતે કાર્ય કરે છે તે આ પ્રમાણે છે. |
00:54 | Movie genre એ એક vocabulary રહેશે અને આ મુખ્ય category માટે ટર્મ છે. |
01:00 | અને તે vocabulary માં, આપણી પાસે Terms છે. |
01:04 | તો, સ્ક્રીન પર, આપણી પાસે છે ACTION, ADVENTURE, COMEDY, DRAMA અને ROMANCE. |
01:11 | અને ત્યારબાદ COMEDY અંતર્ગત, આપણી પાસે છે ROMANTIC, ACTION, SLAPSTICK અને 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. And, 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 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 | ચાલો સારાંશ લઈએ. |
06:39 | આ ટ્યુટોરીયલમાં, આપણે આપેલ વિશે શીખ્યા:
|
06:48 | આ વિડિઓ Acquia અને OSTraining માંથી અનુકૂલિત કરાયો છે અને Spoken Tutorial Project, IIT Bombay દ્વારા પુનરાવર્તિત થયો છે. |
06:57 | આપેલ લીંક પર ઉપલબ્ધ વિડિઓ સ્પોકન ટ્યુટોરીયલ પ્રોજેક્ટનો સારાંશ આપે છે. તેને ડાઉનલોડ કરીને જુઓ. |
07:03 | સ્પોકન ટ્યુટોરીયલ ટીમ સ્પોકન ટ્યુટોરીયલનાં મારફતે ઓનલાઇન વર્કશોપો આયોજિત કરે છે. જેઓ ઓનલાઇન પરીક્ષા પાસ કરે છે તેઓને પ્રમાણપત્રો પણ આપે છે. વધુ વિગતો માટે અમને લખો. |
07:11 | સ્પોકન ટ્યુટોરીયલ પ્રોજેક્ટને NMEICT, Ministry of Human Resource Development અને NVLI, Ministry of Culture Government of India પાસેથી ફાળો આપવામાં આવ્યો છે. |
07:23 | આઈઆઇટી બોમ્બે તરફથી હું ભરત સોલંકી વિદાય લઉં છું. જોડવાબદ્દલ આભાર. |