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 | Apr 9, 2011 | .NET 2.0+, Blog, C#, VB.NET
A couple of days ago, I needed to find all calls to a specific method in a large number of javascript files. The exact method call looked something like following:Rahul.t(‘String to be translated.’);If you have been following my blog posts, or have...
by Rahul Singla | Apr 9, 2011 | Blog, Coolite, Ext.Net, ExtJs, Javascript
Well, you know the good old <input type=”file” /> widget in html, the one used for selecting files to be uploaded on a web page, right.The problem with this widget is its limited support for styling and scripting compared to other html tags (probably...
Recent Comments