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...
Custom JSON Serialization of objects using ExtJs
I thought this should be pretty easy to accomplish, with the extensive feature set that ExtJs provides. What I basically wanted to control was how the objects of my class are serialized by the Ext.util.JSON.encode (Ext.encode) method (I needed this for serialization...
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 drop-down...
Thickbox – Show on Page Load
I had a situation where I needed to show a Flash movie in a modal dialog on a Page. Needless to mention, LightBox is the first thing that strikes to mind for such purposes. However, LightBox supports only images. And I needed to show a Flash movie.A quick Google...
DotNetNuke – Having same usernames across multiple portals on the same installation
You might be well aware that DNN allows you to create multiple Portals based on the same physical installation and the database. It even allows the users to be managed independently across Portals, restricting users to the Portal they registered for.However, there is...
DotNetNuke Portals and App Domains
I thought about writing this blog entry while doing a technical review of a book on DotNetNuke 5.x. The soon-to-be-published book (by Packt Publishing) says this about DotNetNuke portals:Parent portals are sites that are defined by a unique URL...
DotNetNuke Optimization – Tips & Tricks
I present below various Tips & Techniques (not in any particular order) for optimization of a typical DotNetNuke installation.I learned these while using DNN over time, while I encountered some of them while browsing over web.A typical DNN install requires...
Enums in Javascript
UPDATE: An updated and enhanced version of this technique is available here:Enums in Javascript - Part 2 Basically, the title says it all. So, without wasting any time, let's see an example of an enum in Javascript.{syntaxhighlighter brush: jscript;fontsize: 100;...
Flash Falling Money Animation
I recently prepared a long Flash movie for one of my Client websites. The movie had the animation of Falling Currency Notes in between it.I thought I should share the Falling Money part of it on my website. So, the .fla & .swf files for the Falling Money animation...
Recent Comments