Install drush on mac

1. Download drush.tar.gz to your desktop (or wherever)

2. Jump across to the Terminal
cd ~/Desktop

3. Extract it with
tar -zxf drush.tar.gz

4. Move it to /usr/local/lib
sudo mv drush /usr/local/lib/

5. Make it executable
sudo chmod u+x /usr/local/lib/drush/drush

6. Then stick it in /usr/bin/ so that you can run it from anywhere
sudo ln -s /usr/local/lib/drush/drush /usr/bin/drush

Lỗi No Airport card installed

Bị cái lỗi mà mò 2 ngày mới ra, lúc đầu tưởng bị lỗi OS nên cài lại, nhưng cài lại thì cũng không có gì thay đổi, sau tìm ra được rút kinh nghiệm post lên cho anh em xem. Nếu ngày nào đó mà mấy bạn dùng Macbook bỗng ko thấy cái wifi airport của mình đâu, hover chuột vô thì thấy là No Airport card installed, trước khi tiến hành làm các bước :

Keyboard Shortcuts for Macbook Pro

Menu Commands  
Shift+Apple+Q Log out
Shift+Option Apple+Q Log out immediately
Shift+Apple+Delete Empty Trash
Apple+H Hide Active Application
Option+Apple+H Hide All But The Active Application
Control+Eject

Render image từ link

Chiếc laptop đầu tiên

Chiếc laptop đầu tiên, một trong những mơ ước đã thành hiện thực :)

Tags: 

Cài đặt ckfinder để upload hình với ckeditor

Tập làm content cho Drupal

Tập tành add cái category vô cho mấy bài viết của mình, làm xong thấy vui vui.

  • Add Taxonomy(Category)
  • Add Term cho Taxonomy bên trên(Category)
  • Go to Article add thêm field, chọn Term refrence->setting chọn Category tạo bên trên
  • Thế là giờ mỗi bài viết có Category rồi
Tags: 

Chuyển nhà

Hôm ni chuyển nhà qua Drupal chơi cho biết, lâu lắm rùi mới đụng đến site :)

http://drupal.org/documentation/install/developers

Tags: