beginning drupal 7 phần 9

Tôi sử dụng những lĩnh vực lọc nội dung hiển thị bởi quan điểm, nhưng nó không phải là điều mà tôi muốn để hiển thị cho du khách của tôiTôi muốn loại bỏ các "văn bằng" và "đăng trên" thông tin từ trang cơ bản, điều, sự kiện | CHAPTER 16 CASE STUDY The start time for the event The end date for the event The end time for the event The location or venue for the event A description of the event A URL that links to a source for more information about the event The taxonomy term for visitor type With the new content types created the next step is to update the two content types that ship with Drupal 7. I ll want to add the taxonomy terms for visitor types to both the Basic page and Article content types so that authors can easily categorize any content created on the site. There are other content type cleanup activities that I need to perform. I would like to remove the Posted by and Posted on information from the Basic page Articles Events and Resources content items. I also want suppress displaying the visitor types and resource types for the same content items. I use those fields to filter the content displayed by views but it s not something that I want to display to visitors of my site. To remove those attributes I ll visit the Content Type configuration page for each of the content types I want to change and on that page I ll click the Display options link near the bottom of the page revealing the ability to set whether author and date information is displayed. I ll uncheck the option for each of the content types and then click the Save content type button. To remove the visitor and resource type fields I ll click on the Display options link for each content type and will set the display option to Hidden for the label and value for both the teaser view and the full content view as shown in Figure 16-1. Figure 16-1. Setting the visibility of the Tags and Target Visitor Types taxonomy terms After creating the content types I ll create two sample content items for Basic page Article Event and Resource so I have some content to work with when creating views in the next step. 246 CHAPTER 16 CASE STUDY Creating Views The next step is to create the views required to extract and display .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU LIÊN QUAN
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
Đã 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.