Web Development

Display/hide block by Taxonomy terms with a certain URL path in Drupal 6

Display block by Taxonomy terms with a certain URL path

How to show/hide block for centain type of contents in Drupal 6

Show Block for Specific Content Type (my case is thai)

<?php
  $node
= node_load(arg(1));
 
$type = $node->type;
  return
in_array($type,array('thai'));
?>

How to hide a node title created from the Panel node in Drupal 6

I use panel node to control frontpage, but I don't want to display the title.

Some problems when install drupal 6 in a subdomain

After install drupal 6 as subdomain at my webserver, I got a message "Internal Server 500 Error"

What I did is to edit .htaccess. Just comment on the following line

Update Drupal core in command line via ssh

I used ssh to update drupal 6.14 to drupal 6.15 this morning. Here is what I did.

1. Remote login to the web server

ssh root@mysite.com

Web beginners best practice: Wordpress 2.9

Once you have installed Wordpress 2.9, you will has all basic functions for your websites: image edit, automatic thumbnail crop, video, audio. It is perfect for web beginners.

Install Drupal in Ubuntu Server (9.04)

1. Install Ubuntu Server

http://thanhsiang.org/faqing/node/131

2. Install Drupal

3. Configuration of clean URLs

sudo a2enmod rewrite

Work with Ubuntu Commands

Working with Files

• ls: lists files.
• rm: removes files.
• cp: copies files.
• mv: moves files.
• mkdir: make a directory
• rm -r remove directory

Install Ubuntu Server with LXDE

0. Install Ubuntu Server with a light DESKTOP to manage files.

1. download Ubuntu Server Edition 8.10

2. choose LAMP, OpenSSH and Samba to install

3. Install LXDE

Howto Install LAMP on Ubuntu GNOME Desktop to run Drupal

1. Install Apache2

sudo apt-get install apache2

Install Apache Modules

sudo apt-get install libapache2-mod-auth-mysql

Syndicate content