by Rahul Singla | May 6, 2011 | Blog, Drupal, Drupal 7.x, Javascript, jQuery, PHP 5.x
My recent blog post on Creating Paged and Sorted tables in Drupal 7 got a comment today asking if it was possible to implement Paging and Sorting in Drupal tables via Ajax, instead of regular Page refreshes that Drupal does by default.Why not I thought… Drupal...
by Rahul Singla | May 1, 2011 | Blog, Drupal, Drupal 7.x, PHP 5.x
My earlier blog post on creating Drupal 6 tables (I mean html tables and not database tables) complete with paging, sorting, sticky headers and other Drupal table features attracts a decent number of visitors (Analytics tell me). So, I thought of publishing another...
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...
Recent Comments