Jump to: navigation, Search
Poakpong.com ปกป้อง ดอมคอม Life is random

TABOD.com ขับเคลื่อนโดย Drupal

TABOD.com เว็บไซต์ของ สมาคมคนตาบอดแห่งประเทศไทย (Thailand Association of the Blind : TAB) โดยจริงๆ แล้ว URL หลักของสมาคมฯ คือ TAB.or.th แต่เนื่องจากความไม่สะดวกในการปรับปรุง-แก้ไข ไฟล์ระบบ (CMS) ผมเลยแก้ปัญหาโดยให้ทำการ redirect มาแสดงผลที่ TABOD.com แทน

เว็บไซต์ทำเสร็จ และส่งมอบให้เจ้าหน้าที่ของทางสมาคมฯ เป็นคนอัพเดทข้อมูลนานแล้ว ช่วงนี้มีเวลาพักหายใจ เลยมาเขียนบล็อกไว้นิดนึงว่า TABOD.com ก็ใช้บริการ Drupal กับเขาเหมือนกัน

หน้าตาที่ปรับแต่งไว้ไม่ได้ทำอะไรมากนัก เน้นเรียบๆ ใช้งานง่าย ให้ตัวช่วยอ่านเว็บอ่านได้สะดวก

* Drupal
ตัว drupal อัพเดทเป็นเวอร์ชั่นล่าสุด 6.6

* Theme (ธีม)
ใช้บริการ Framework ซึ่งเป็นธีมโล่งๆ ไม่รก (เหมาะสำหรับนำไปปรับแต่งเป็นธีมของตัวเอง) ในเวอร์ชั่น 2.0 จะมีเวอร์ชั่นพื้นขาว และพื้นดำให้เลือกใช้ (ใน 2.1 จะเหลือแต่เวอร์ชั่นพื้นขาวอย่างเดียว)

ในเว็บสมาคมคนตาบอดฯ ตั้งค่าให้สามารถแสดงได้ 2 ธีม คือ แบบปกติ สีขาว และแบบสำหรับคนสายตาเลือนราง สีดำ ซึ่งสามารถเลือกเปลี่ยนธีมได้จากทางด้านบนของเว็บ (ใช้โมดูล Switchtheme)

* module (โมดูล)
- Contact Forms สำหรับแบ่งประเภทของข้อมูลที่จะติดต่อ/กลุ่มผู้รับอีเมล (ปกติใน Drupal มีโมดูล Contact อยู่แล้ว)
- FCKeditor + IMCE ปรับแต่งช่องพิมพ์ข้อความ และระบบจัดการรูปภาพ
- Switchtheme สำหรับให้ผู้ที่ไม่เป็นสมาชิก สามารถสลับเปลี่ยนธีมได้
- Views ใช้ในการเรียกข้อมูลตามที่กำหนดให้แสดงเป็นรายการ

แก้ไขตรง template เล็กน้อยให้สามารถคลิก ข้าม ไปยังเนื้อหาหรือเมนูได้

ส่วนข้อมูลต่างๆ เห็นว่าตอนนี้กำลังทะยอยๆ เอาใส่เว็บให้หมด ;-)

TABOD.com - Bright Version TABOD.com - Dark Version

Poakpong's Blog | 1 Comment

Enable Drupal Clean URLs in 000webhost.com

I was setup Drupal (CMS) in free hosting 000webhost.com and one option from Drupal are Clean URLs. But in first time after install completed, I can not enable Clean URLs.

After search in forum of 000webhost.com (by Google search), I found the trick to enable Drupal Clean URLs

Step 1. Disable 000webhost analytics (here).
Step 2. Edit .htaccess file in root (Drupal) directrory, by remove "#" before "RewriteBase /" in line 100 and save change (in case user Drupal 6.4).
Step 3. Back to menu "Site Configure > Clean URLs" and enable, finish !

I do not  know why, but it is work. Good luck.

Poakpong's Blog | Add New Comments

Upgrade Drupal 5.x to Drupal 6.x

References:
- Upgrading from previous versions (drupal.org)
- Upgrading to Drupal 6 - Screencast (masteringdrupal.com)
- Upgraded Drupal 6 Series (keng.ws) (Thai version)

Poakpong's Blog | Add New Comments | Read more: อ่านทั้งหมด »

อัพเดทเล็กน้อยกับ sunderlandthai.com

หลังจากไม่ได้อัพเดทอะไรในเว็บ sunderlandthai.com เสียนาน (สัก 2-3 เดือนมาแล้ว) ตั้งแต่เปลี่ยนมาใช้ drupal - สาเหตุที่เปลี่ยนเพราะตอนนั้นเจ้าเว็บบอร์ด smf มันโดน spam เลยทำให้ server overload แถมผมดันทำข้อมูลเสียอีกจำนวนหนึ่ง (ซวยโคตรๆ) ก็เลยเปลี่ยนมาใช้ drupal ซะเลย - ในตอนนั้นก็ไม่ได้ทำอะไรมาก แค่เปิดฟังก์ชั่น Forum ให้สมาชิกที่คุ้ยเคยเข้ามาคุยกัน โดยตอนนั้นใช้ theme สำเร็จรูป (ถ้าจำไม่ผิดชื่อ Zen อะไรสักอย่าง) หน้าตาพื้นๆ มาก ขาวๆ โล่งๆ

ตอนนี้หลังจากได้เรียนวิชาเกี่ยวกับการปรับแต่ง drupal ขั้นพื้นฐาน จากสำนัก #opendream ก็เลยเอามาลองกับเว็บนี้ซะเลยดีกว่า ในการอัพเดทครั้งนี้ได้ทำการอัพเกรดระบบ จากเวอร์ชั่น 5.7 เป็นเวอร์ชั่น 6.4 และก็อัพเดท theme เล็กน้อย ผลที่ได้ก็ออกมาตามนี้...

sunderlandthai with drupal theme

ไม่ได้ทำอะไรมากเหมือนเดิม - -"

แค่แต่ง header กับ navigator นิดหน่อย เพิ่มพื้นหลังนิดนึง - จบแล้ว :p

เอาไว้เรียนขั้นสูงกว่านี้ จะไปเพิ่มลูกเล่นให้มันหวือหวาขึ้น ฮา...

Poakpong's Blog | Add New Comments

Hardcore Drupal Development Bootcamp (Day 2)

• Drupal API - http://api.drupal.org/api/5 (This training base on Drupal 5)

Day 2 - Theme Development

- Themeable function

- includes/theme.inc
- themes/engine/phptemplate/ (page.tpl.php, node.tpl.php etc.)
- themes/engines/phptemplate/phptemplate.engine
- themes/[theme name]/template.php

- files in each theme ( style.css, page.tpl.php, node.tpl.php, page-front.tpl.php etc.)

... end.

Big Thanks to @sugree, and @kengggg.

Drupal Development Training   Drupal Development Training

Poakpong's Blog | Add New Comments

To support Thai language in iPod.

Inside Poakpong.com
มีอะไรใน ปกป้อง ดอทคอม

Subscribe RSS Feed

Recent All Posts

Poakpong's Playground

Copyright Notice

POAKPONG.com,
Update to 2008.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 License.

Our Network:

Create in Mac OS X

Search in Poakpong
ค้นหาใน ปกป้อง ดอทคอม



Advertising

เปิดเนต เปิดใจ
ปกป้องเสรีภาพของเรา
บนอินเทอร์เน็ตของเรา
(ร่วมลงชื่อในแถลงการณ์)

Web Links

SEO Stats powered by MyPagerank.Net