Add Images/Html in Drupal Node Titles

After some frantic hair-pulling, I finally got this to work in Drupal 6.x. Here I am presenting 2 ways to add images/Html to Drupal node titles (both based on template.php), and you can choose any of them as per your needs. There are pretty other options (including...

Enums in Javascript – Part 2

I blogged about this topic earlier also here. That blog post presents an approach to create enums (enumerations) in javascript, exactly like those available in .NET or Java.The later portion of that blog post mentions that the approach presented is extensible, and we...

Generating markup for Drop-Down menus in Drupal

I am not presenting the actual approach here. I created this blog entry just to point to this wonderful tutorial in Drupal’s official theming guide for this purpose, which describes all the steps in a clear and concise way.I came across it while creating a...