02. Block

Block (danh tu) la mot chap nhan trong Drupal, chung ta co the xem, moi block la mot khoi noi dung bao gom cac thuoc tinh:

  • Ten: Moi block phai co mot cai ten va ten nay la duy nhat. Thi du, mac dinh website cua ban se co mot block co ten la 'User login'
  • Tieu de: phan tieu de cua khoi noi dung. Thi du, block 'User login' cua ban co tieu de la 'User login' (tieu de va ten cua block khong nhat
    thiet trung nhau).
  • Noi dung: Phan noi dung chinh cua khoi noi dung. Phan noi dung nay kha uyen chuyen, vi co the ap dung bo loc [1] 'HTML chon loc', 'HTML
    day du', 'PHP code'.
  • Vi tri: Dua tren thuoc tinh nay ma he thong biet duoc nen dat block cua ban vao cot ben trai, cot ben phai, phan phia tren hay phia duoi noi dung.
  • Do nang: Truong hop co nhieu block duoc dat o cung mot vi tri, he thong se sap xep cac block nay, thu nhat theo do nang tang dan, thu hai, theo alphabet tang dan.
  • Cac trang trinh bay: Day la tinh nang rat doc dao cua block trong Drupal. Nguoi dieu hanh co the chi dinh block cua minh se duoc trinh bay o trang nao, khong trinh bay o trang nao, trinh bay cho nhom thanh vien nao, trinh bay vao gio nao trong ngay, ...

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <sup> <br> <p> <h3>
  • Lines and paragraphs break automatically.
  • Link to content with [[some text]], where "some text" is the title of existing content or the title of a new piece of content to create. You can also link text to a different title by using [[link to this title|show this text]]. Link to outside URLs with [[http://www.example.com|some text]], or even [[http://www.example.com]].
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. The supported tag styles are: <foo>, [foo]. PHP source code can also be enclosed in <?php ... ?> or <% ... %>.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.