'A picture is worth a thousand words', a famous adage. Images plays an important role in elaborating the contents. But at times there may transpire a situation where these images has to be saved from a remote site and then upload them into the corresponding content. If the images reaches a out bound limit, it becomes infeasible to have a endeavour. At such a instance the best approach is to programmatically save the images in your local system.
I have been working on an interesting project that integrates Drupal, Apache Solr and mahout for providing content recommendation engine. Needless to say it has been an interesting ride filled with a lots of sapid and amusing challenges. More details about this project will be shared in follow up post. In this post, quickly I would like to share a trick to delete a bunch of Drupal nodes using drush script.
Every project is unique and has something new to learn. This fact was realized again in my recent work. As the title says, the task was as simple as adding AJAX validation to a specific field (not for the entire form). While this looked pretty easy at first glance but had to perceive and apply a little crux of Form and Field API.
Amending the view output is no longer a tedious task. Especially by taking the advantage of settings available in Views 3.x like exclude from display, style settings, rewrite results and their sub-settings. The change can be anything simple from adding a <span> wrapper for CSS styling to complex token replacement (thanks to token module for making the Views module more awesome).
Of late in two of my Drupal sites I found that pagers were not shown. This happened independent of active theme and modules generating the page (views, panels, or core blog module). Essentially I reproduced this in the Recent logs messages page and default Blogs listing page (?q=blog). Below is the snapshot of how it looked to me.
The registration form is always considered as the best way to attract the users to use the site. But the method of displaying the registration form has changed its dimension based on times and technologies. The present trend has the impact to display registration form in a overlay effect.
The orthodox behavior of designing a contact page involves the inclusion of many contents like company or individual's physical address, phone number, email address and feedback form. Over the years it has become a trend to display the locality with the help of Google maps. But the jinx over Drupal Newbie is how to integrate Google map to a contact page? It isn't an arduous task, just involves some copy and paste work.
Views one of the prevailing modules in Drupal. It has the competence to dwindle manual work of pulling the data from Drupal table and formatting them to meet our needs. Most of the developers might have known about the filter and the sort criterion in the views, but only a few know the exact way to display the current items and total result count in this view. Does this requires acquaintance with coding? Apparently yes, but not as tedious as one would imagine. All it needs is a single line PHP print statement in view's template file.
We Drupal Chennai, happened to meet on 19th Nov 2011 at Unimity solutions to talk about our love for Drupal. It was then arbitrated to take efforts to profuse Drupal in local colleges by taking the support of student volunteers and IEEE. In further to this consensus, we contacted Kumaran sir of Jaya Engineering College to start an official initiative. We were kindled by his momentum. Within a span of a week he managed to get the approval from college authorities.