drupal

Page 77

Intro to Drupal for Developers

Weights Weights range from -­‐10 to 10. To override alphabetical listing of vocabularies and terms, you can assign a weigh value. The lighter weights will bubble to the top of the list and the heavier weights will sink to the bottom of your list.

Exercise 8.1 Adding Vocabularies In this exercise we will add two vocabularies to our site. We need one to categorize the product type and one for manufacturer. Based on our needs, we have come up with the following summary chart Vocabulary Terms Parent Synonyms Product Type Phones Cell Phone Phones Mobile Phone Cordless Phone Phones Home Phone Manufacturer Google Sony SonyStyle Sony SonyMobile Sony Figure 8-­6 Sample Vocabulary Requirements

1. Go to Administer > Content Management > Taxonomy 2. Click on the link to Add Vocabulary 3. Enter the vocabulary name as Product Type

Figure 8-­7 Add Vocabulary (Product Type)

4. Scroll to the Help text text box and enter the text: Select a product type 5. Scroll down to the content type section and select the Product Sheet content type

Figure 8-­8 Add Vocabulary: Assign Content Type

6. Scroll down to the Settings section and select the option to make this a required vocabulary Taxonomy

Page 73


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.