Drupal

Drupal Must Have Modules for a professional website

1. CCK
http://drupal.org/project/cck

cck image
http://drupal.org/project/imagefield
http://www.drupal.org/project/imagecache

cck Media files
http://drupal.org/project/emfield

2. View

css for Chinese and Thai texts: left indentation (first line of each paragraph must have some space)

Add this to style.css

.node p:first-letter {
margin-left: 2em;
}

Play Media files in Drupal 6

The best media file handle is Embedded Media Field module
http://drupal.org/project/emfield

The problem: one needs to modify: zzz_custom_url.inc
to play mp3.

How to display CCK fields in a table in Drupal 5/Drupal 6?

In Drupal 5/Drupal 6 with CCK module installed and activated, you just define your content type, then create a node-content_type.tpl.php file to render the nodes for that content (replace "content_typ

How to increase the PHP memory limit in Drupal 6 without approaching hosting provider?

Just edit .htaccess file in your Drupal root directory. For example, I added the following two lines.

php_value post_max_size 100M
php_value upload_max_filesize 100M

How to redirect to sub-page

To redirect mysite.com to mysite.com/drupal, follow these two steps:

1. Open text editor, and paste the following:

<?php
header( 'Location: http://www.mysite.com/drupal/index.php' ) ;

Garland Drop Down Menu for Drupal 6 is here!

This theme uses pull-down menu. It does not require nicemenu module. It based on suckfish css. Just like Garland Theme, it works with IE5.5, IE6, IE7, Opera9, Firefox. You can change the theme color through the color module.

This site is powered by Drupal 6!

Drupal 6 was released yesterday, Feb, 12 2008. I disable all my third party modules, and updated it to Drupal 6!

I also modified the garland theme, see here:
http://thanhsiang.org/faqing/node/88

HowTo turn your drupal website to video host site as Youtube

Note: This is old post. Drupal SWF tools module is almost dead. To play flv and mp3 files, it is better to use jQuery Media module and cck Embedded Media Field module. See this:

How to use tabs to display views

Method 1:
View module in Drupal 5 has the function to create tab menu. It is a little hard to find out.
Suppose we have three views created earlier: view1, view2, view3

Syndicate content