by Rahul Singla | Apr 17, 2011 | Blog, Drupal, Drupal 6.x, Drupal 7.x
Let me clarify staright away that the code below has been tested successfully against Drupal 6 only. But I believe it should work with Drupal 7 also with minor changes (if any required). Okay now, let’s come to the point.”Save as Draft” as you can...
by Rahul Singla | Apr 17, 2011 | Blog, Drupal, Drupal 6.x, Drupal 7.x
Last week, I was trying to add a custom validation method for node form of a particular content type in Drupal. My initial approach was as naive as specifying my custom validation method in hook_form_alter, something like the following: {syntaxhighlighter brush:...
by Rahul Singla | Feb 7, 2011 | Blog, Drupal, Drupal 6.x, Drupal 7.x
I needed to remove the default “-None-“/”-Select-” option that Drupal’s Form API adds to “select” form elements. Let’s take an example. Consider the following “select” element definition for a...
by Rahul Singla | Jan 9, 2011 | Blog, Drupal, Drupal 6.x, jQuery, jQuery UI, PHP 5.x
After my last blog post on Drupal, expect some more Drupal related blog posts related to my recent work that I have been doing in Drupal.You might be knowing that the jquery_ui contributed module is the preferred way to use jQuery UI in Drupal. This module provides...
by Rahul Singla | Jan 9, 2011 | Blog, Drupal, Drupal 6.x, PHP 5.x
My 100th blog post, and I was thinking on the topic to choose for this blog post. I had multiple in my mind, but then decided to go back to where it all started, Drupal. My first real blog entry on this site related to my Take Control module for Drupal. So, I thought...
by Rahul Singla | Jun 18, 2010 | Blog, Drupal, Drupal 6.x, PHP 5.x
Well, it feels good to be blogging after a while. The past few weeks have been really hectic. Did you notice I do not have a single blog post for this month before this post? Well, I intend to compensate the void now, and what better way to begin than to offer some...
Recent Comments