Tài liệu CASE STUDY - Setting Up the Contact Us Feature

Thảo luận trong 'Thiết Kế Web' bắt đầu bởi Thúy Viết Bài, 5/12/13.

  1. Thúy Viết Bài

    Thành viên vàng

    Bài viết:
    198,891
    Được thích:
    173
    Điểm thành tích:
    0
    Xu:
    0Xu
    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.
     

    Các file đính kèm: