gumara

เหนือกว่าเหตุผล ผมไม่มีเหตุผล

Enable drupal module by installer

Submitted by gumara on Mon, 03/08/2009 - 14:22

กะลังปรับๆ Drupal ที่จะเอาไปสอนอยู่ ซึ่งตามโจทย์แล้ว มีเวลาสอนประมาณ 5 ชั่วโมง ก็ครั้งก่อนคัดๆโมดูลแล้วก็แพคเป็นชุดไว้ละ แต่ยังรู้สึกไม่พอใจ อยากให้มัน Enable ตั้งกะติดตั้ง Drupal ไปเลย ก็หาๆข้อมูลดู พบว่ามันต้องไปกำหนดที่ profile

ก็ไฟล์อยู่ที่ /profiles/default/default.profile จะมี function default_profile_modules อยู่ ลองมองหาดู อยู่ต้นๆไฟล์เลย

วิธีจะเพิ่ม Module ที่จะ Enable ก็แค่ใส่ชื่อ Module ที่ต้องการลงไป เข้าใจว่า วิธีใช้งาน profile ที่ถูกต้องเราควรเขียน profile ขึ้นมาใหม่ แต่ตอนนี้ขี้เกียจดูว่ามันเขียนยังไง ก็เอาวิธีลูกทุ่งๆไปก่อน

ปล.มาคิดดูอีกที รู้สึกมันโหดเกินไปหน่อย เอาว่าคงจะยัด Module ไว้แล้วไปสอนเขาเปิดใช้งานเอาเองละกัน หวังว่าจะไม่เสียเวลามากนัก

Post new comment

The content of this field is kept private and will not be shown publicly.
Mollom CAPTCHA (play audio CAPTCHA)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.


Let's chat

Comment

Tags

tweets

del.icio.us/~

Another ~

The Ubuntu Counter Project - user number # 5754
Add to Technorati Favorites