Theme (ติดตัว)

ความเข้าใจพื้นฐานเกี่ยวกับ theme และเกี่ยวกับ theme ติดตัวที่มีมากับ drupal version 6.x ครับ


Themes คือ?

theme คือรูปร่างหน้าตาของเวปที่เราเห็นผ่าน browser ครับ ตัวระบบ cms ส่วนใหญ่ รวมทั้ง drupal จะทำการแยกส่วนเนื้อหา(data) ออกจากส่วน theme ทำให้เราสามารถปรับเปลี่ยนหน้าตาของเวปได้โดยที่เนื้อหาเดิมยังอยู่ครับ


การติดตั้ง themes

นำ theme ที่โหลดมาไปไว้ใน sites/all/themes (ถ้ายังไม่มี folder ชื่อ themes ให้สร้างใหม่ขึ้นมาเอง)

เพราะเพื่อให้ง่ายต่อการดูแลรักษาครับ เหตุผลคล้าย ๆ กับการติดตั้ง module แยกมาต่างหากในส่วนของ sites/all ครับ คือเราไม่ต้องทำการติดตั้ง theme ใหม่ทุกครั้งที่มีการ update drupal =)

อ่านเพิ่มเติม การติดตั้ง theme/module เพิ่มบน drupal


การเปิดใช้งาน theme

หลังจากติดตั้งเสร็จ ให้เข้าหลังบ้านของเวปเรา แล้วไปที่ admin/site building/themes จากนั้นเลือก install-enable ตัว theme ที่เราต้องการครับ

in

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Allowed HTML tags: <embed> <div> <p> <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <br> <img> <hr> <h1> <h2> <h3> <h4> <blockquote> <quote> <pre> <th> <tr> <td> <table> <thead> <tbody>
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
กรอกตัวหนังสือที่เห็นนี้ให้ถูกต้องนะครับ (มีไว้กัน spam)
Image CAPTCHA
Enter the characters shown in the image.