Lightbox a powerful module in Drupal arena., proved its mastery once again! I was involved in trying to find a way to display nodes in popup, the apparent module that struck my way was Colorbox-Node. Things looked as if it would be a cake-walk but went beyond what I thought. The Colorbox-Node holds the ability to display nodes in overlay effect, but it needs huge template and jQuery level customization.
At many times Drupal Architects prefer to go with Apache Solr instead of Drupal core search. I am no outlander to this scenario, but this time it was a new requirement. By default the Apache Solr relies on Jetty server to index and retrive items during the search. My need was to use Tomcat server in the place of Jetty. The first glance proved it was an easy task, but latter the tough fight started.
The real power of Drupal not only relies on its Modules, but also on how it is projected different from the other so called Content management Systems (CMS). One such factor that displays Drupal high from others is its ability to adopt with Multisite and its key features.
Views module provides an easy way to render data from the Drupal database. It is often needed to use table output format to meet the design requirements. One such similar occasion needed customizing the table output.
The scenario was, we had a list of discounts with validity date as its one of the attributes. We wanted to show expired discounts in a different color to distinguish it from active discounts. What helped us was hook_preprocess_views_view_table().
In Drupal projects it's often needed to make calls to functions or methods defined in thirdparty PHP scripts. PHP include, require or its siblings has been the most simple and traditional way to achieve it. Drupal offers a dynamic and more flexible way for doing it. Such that any module can define thirdparty script and allows other module to make use of it and alter as needed.
Forms are the essential components of Dynamic websites. At KnackForge we firmly believe and make the best use of Drupal CMF. API forms the backbone of Drupal's success and Form API is the most important among them. When Form API used together with the blend of themeing layer, it gives a fine control to get the desired output.
A quick tip for sites using Drupal 7 core search module. It is very common to see Drupal sites counting on core search module to feature native site search functionality. When the volume of the content grows, need for offloading the search to thirdparty server could felt; as core search doesn't scale or designed to yield optimal output.
Drupal provides a handful of settings to format the comment listing. One thing that we found very irrelevant in comment view is the link item "Login or register to post comments" especially when the comments are styled to display as flat items. Let's take the snapshot below from drupal.org issue queue.