Knowledge Base

Automatic Drupal site deployment with git

Submitted by Jitesh Doshi on Sat, 02/18/2012 - 09:51

In this article I will show how to setup git and Drupal in such a way that you can keep editing your site's modules, themes and libraries on your local machines and every time to do 'git push' it automatically deploys to your pubilc Drupal site - without having to login into your webhosting provider and doing checkout/reset on your working tree.

Assumptions

Using Colorbox to show your node images in Drupal 7

Submitted by Jitesh Doshi on Sat, 03/12/2011 - 09:48

Drupal 6 is very good. But Drupal 7 is even better. Much cleaner user interface (UI), and much cleaner application programming interface (API) as well.

Today, I'm going to talk about Colobox integration in Drupal 7. With Colorbox in D7, you can show your attached images in a very user-friendly (and nice looking manner).

Let's say you want to enhance the "Article" content type with Colorbox images ("Article" content type in D7 replaces "Story" content type from D6).

Limited supply options lists in webforms

Submitted by Jitesh Doshi on Fri, 03/11/2011 - 22:11

In Drupal webforms, often we come across situations where we have select component (displayed as select list, radio buttons or checkboxes) in a webform, but we don't want multiple submissions to use the same options. For example, when people are reserving seats for themselves using your webform, you don't want two people to reserve the same seats. This means you want options in the select component to start disappearing from the webform display once they are used in a webform submission. Here is a nice little Drupal 6.x module that does just that. All you have to do is ...

implementing hook_flag_access for controlling what the user can flag

Submitted by Jitesh Doshi on Tue, 02/22/2011 - 22:17

Recently, a client wanted their site users to be able to show their support for certain content nodes in Drupal. This can be done very nicely with the flag module. In case you missed it, flag module is a very useful module that has many applications - such as flag as offensive, like, friend, etc.

Subscribe to Knowledge Base