Tài liệu beginning drupal - CONTENT TYPES

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
    This page lists all of the fields that are associated with our content type, and provides the ability to
    define basic display attributes for the label and content for each of the fields. There are two sets of values
    that we can set: one for the Teaser view and the Full Node view.
    If you click on the select list for Labels, you will find that there are three options:
    ã Above: The label will be displayed on a line immediately above the widget that you
    selected for your field.
    ã Inline: The label will be displayed to the left of your widget, on the same line as the
    widget.
    ã Hidden: The label will not be displayed on the screen.
    If you click on the select list for the Format of each field, you will see that there are four options:
    ã Default: The content will be rendered on the screen as you specified when you
    created the field.
    ã Plain text: The content will be rendered as plain text, ignoring any HTML
    characters the author entered as part of the content.
    ã Trimmed: The content will be “trimmed” to a specified number of characters. If
    the content is longer than the specified characters, a “Read more” link will be
    displayed.
    ã Hidden: The content will not appear on the screen
     

    Các file đính kèm:

Đang tải...