Category Archives: CMS

Drupal – Add Image for Taxonomy

Taxonomy allows you to add Categories and Tags to node. Previously i have created some terms/tags for the Stories vocabulary/category.
Drupal – Manage Categories and Tags by Taxonomy

So now i want to add an image for each of the terms under the Stories. So what you need is a Drupal module called Taxonomy Image.

Enable the Taxonomy Image in Drupal. Continue reading Drupal – Add Image for Taxonomy

Drupal – Manage Categories and Tags by Taxonomy

Taxonomy is one of the Drupal Core Modules. Before you can apply categories and tags on node. You have to define them @ Administer –>> Content management –> Taxonomy.

In this example, i would like to specific some Tags for Stories node type. So i create a Vocabulary called Stories. You can allow user to enter his/her own Terms/Tags or multiple selection in the Settings tab. Continue reading Drupal – Manage Categories and Tags by Taxonomy

Drupal – Image and Image Gallery

The Image module allows you to add new node with a new content type called Image. The uploaded image could be viewed in original size, thumbnail size and previews size. This can be configure @ Administer –> Site configuration –> Images.

I would like to share two more features in this module.

  • Image Attached – Allow you to add images in other content types
  • Image Gallery – Group the Image nodes into Image Gallery by Taxonomy (include Views support if you have Views 6.x-2.6 or later)

After you have enabled the Image Attached features in your Drupal. you can now allow image upload in content types. Just go to a particular content type edit page and you will find the Image Attached settings. Continue reading Drupal – Image and Image Gallery

Drupal – Add Meta Tags to Drupal

The Nodewords module could help you to add meta tags to any pages of your Drupal site. Let’s try it now!

In this example, the Drupal version is 6.19 and the Nodewords module is 6.x-1.11. There is a bug in this Nodewords version and you can never save the meta tag for other page. Luckily, someone has created a patch and just edit the nodewords.module as follow. Continue reading Drupal – Add Meta Tags to Drupal

Drupal – Create a Garland Subtheme

I would like to edit some PHP and PHP template files but i dun want to modify those files in the default Garland theme. So i’d better create a Garland Subtheme which inherits those files from the Garland theme as well as i could create my own PHP and PHP template files under the subtheme folder for overriding the default.

Actually i am not very familiar with the theme architecture of Drupal, but the following example works as i expected. Continue reading Drupal – Create a Garland Subtheme

Drupal – Create a Customized View

You can create you own customized view in Drupal with the help of the Drupal Views module. The Views module not only help you creating your own designed Pages but also the customized Blocks, Feed and Attachments. The following example shows you how to make use of the Views module to create a table view for all the Listed Item content type which i created a few days ago. You can refer to the following posts about for creating new content type.

 

Here comes the Views module. Continue reading Drupal – Create a Customized View

Drupal – Field Modules for CCK

Yesterday, we have talked about how to create and customized a new content type with CCK. As i have mentioned, there are some CCK field modules such as Email and Date. This article will show you how to add a Email Field in the content type.

First, download the Email Field module to extract it to your modules folder. You will find the There is a Email option under the CCK module selection. Continue reading Drupal – Field Modules for CCK