TAILIEUCHUNG - beginning drupal 7 phần 3

nói, ví dụ như "bóng rổ." Bạn cần có khả năng tiếp tục phân loại nội dung bóng rổ:May mắn thay, Drupal cung cấp một cơ chế đơn giản để tạo ra một cấu trúc thứ bậc của các điều khoản phân loại. Để cập nhật ví dụ của chúng ta, trở về liên kết "Add thuật ngữ" bên cạnh từ vựng "Các loại hình thể thao." | CHAPTER 4 TAXONOMY Basketball I Name I Basketball Description A term used to categorize content associated with the sport of basketball. Text format Filtered HTML I More information about text formats Web p-age addresses and e-mail addresses turn into links automatically. Allowed HTML tags ca em strong clte blockquote erode eul col ell cdl cdt edd Lines and paragraphs break automatically. URL alias I basketball Optionally specify an alternative URL by which this term can be accessed. Use a relative path and don t add a trailing slash or the URL alias won t work. Relations Save J f Delete Figure 4-13. Setting the URL alias for a taxonomy term Hierarchical Terms What if you need to define a hierarchical structure of taxonomy terms say for example basketball. You need the ability to further categorize basketball content by Basketball High School College Division 1 Division 2 Division 3 NBA Eastern Conference Central Conference Western Conference Fortunately Drupal provides a simple mechanism for creating a hierarchical structure of taxonomy terms. To update our example return to the Add term link next to the vocabulary for Types of Sports. 48 CHAPTER 4 TAXONOMY Click on the Structure menu at the top of the page and on the Structure page click on the Taxonomy link. Click on the Add term link next to the vocabulary where you wish to add a new term which reveals the term creation screen. Begin by adding the term for High School. Enter High School as the term name and then click on the Relationships link at the bottom of the form. In the list of terms select Basketball as the parent term and then click Save. Continue the process by entering College and NBA also selecting Basketball as the parent term. To create the third level of the hierarchy enter Division 1 as the term name and for the relationship selected College as the parent. Continue the process until you ve created all of the terms listed above. The resulting structure should look something like the list shown in

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.