Drupal 7 – Handling file uploads and moving files to the public file system
This was the most time consuming aspect for the recent port of my Document module for Drupal 7.You would be knowing that File system API underwent a complete revamp in Drupal 7 (see this and this link, a very good introduction of the changes and new concepts is...
SharpSvn – Connecting and fetching logs from Remote repositories
In continuation to my pevious blog post on defining configuration path to connect to remote repos using SharpSvn, I present quick sample code for connecting to and fetching logs from a remote svn repo requiring authentication.The topic as such should not need much...
SharpSvn – SharpSvn.SvnFormatException: Can’t determine the user’s config path
Till the beginning of this month, I was a regular SVN user using SVN as my Version Control System for many projects. But then, somewhere in the second week of this month, I have turned a SVN developer (not writing code for SVN itself, but providing solutions off...
Drupal 7 – Creating arbitrary ANDed/ORed database queries using the DBTNG abstraction layer
While working on the 7.x port for my Document module for Drupal day before yesterday, I had a pretty anxious moment. As you would know, the new DBTNG database abstraction layer in Drupal 7 fundamentally changes the way your module code interacts with the db. Now...

ASP.NET – A complete translation framework through Powershell and Google Translate
In this blog post, I present a complete framework for automatic localization in ASP.NET, ability to customize what is produced by this framework and a completely functional ASP.NET app demonstrating the features and process.In February this year, I published my...
Ext.Net – Invoking DirectMethods across .aspx pages
Yesterday night, I had a very interesting scenario. One of our apps has a normal ASP.NET page that is used exclusively for rendering Crystal Reports to the browser. The page provides a comprehensive Ajax framework for rendering Crystal Reports and we normally host...
Drupal 7 – Controlling/Changing order of execution of particular hooks for modules
Drupal 7 brings some important API changes and enhancements to the table, one of them being the ability to control precisely the order of execution of a particular hook between modules.I was asked by a client last week if it is possible to control execution of...
Drupal and Chrome – Refused to execute a JavaScript script. Source code of script found within request
While editing content on a client site last week, I got a rather confusing error in Google Chrome Developer tools:Refused to execute a JavaScript script. Source code of script found within request.I was incorporating Google Maps on a page through a Block and the block...

ExtJsFileManager – ExtJs based File and Image Manager plugin for TinyMCE
A couple of days ago, I started implementing a rather interesting piece of code. It was late into the night, and I was not feeling like doing my regular work and neither was I sleepy. At that time, I was reminded of another project where we needed to provide users the...
Ajax Sorted and Paged tables in Drupal 7
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...
Recent Comments