Drupal

Testing 2.x in drupal 7.x

 If you are using Drupal 7.x and Testing 2.x, there's something new in module.info file:
testing_api=2.x
You need to add this into module.info and clear the cache. Then your testing code will appear in the testing list.

Setup GeSHi Filter for syntax highlighting in drupal

I needed a good way to display all kinds of source code in my site, and during my research I found a module called GeSHI Filter, which was exactly what I was looking for.
This module integrates the PHP library GeSHI (Generic Syntax Highlighter) into Drupal. Here's the step to install it onto drupal:.

Using Pixture Reloaded

Pixture Reloaded is a good theme for drupal, however I'd like to change something on the header and add some other css styles. Pixture Reloaded used color module, so each time it'll save to a temp folder in sites/default/files, and copy over some images and style.css , during the copy, it'll process the style.css and change some colors. So if you'd like to add some new styles or change some code there, it's not the best way to do directly in style.css .

 Here's what I did to solve the issue:

9 drupal modules every administrator should know

  1. Administration menu 
  2. FCKeditor/IMCE
  3. Pathauto
  4. Google Analytics
  5. CAPTCHA
  6. Poormanscron
  7. Views
  8. CCK
  9. Panels

Setup drconcierge.org using Drupal Part 2

In this part, we are going to

Setup drconcierge.org using Drupal Part 1

This is a work log on how I setup drconcierge.org.

In this part, we are going to:

Switching from Wordpress to Drupal

  1. Install latest version of drupal
  2. Install wordpress import module, and Chaos tools module
  3. Export the wordpress blog into XML and start importing. Post -> Story, Page->Page and Comment->Comment
  4. copy wp-content folder to drupal dir, so all images/uploaded files still works

Drupal 中文安装教程

  1. 解压缩drupal到一个目录,假设是/var/www/drupal
  2. 到http://drupal.org/project/zh-hans下载对应的语言包,然后解压缩到/var/www/drupal
  3. 访问http://localhost/drupal,此时安装界面会提示可选英文或中文安装
  4. 按照正常步骤安装,其中会自动出现导入语言包的步骤, 安装完成后即为中文界面了

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer