Discover the key traits that define a skilled Drupal developer. Learn how to spot a top Drupal developer for your project. Find the right expertise for your Drupal needs
Technical Blog
In one of our recent projects we had to show a slider for a price range. The slider was to be used to show all products with prices between a minimum and a maximum. If we set filters in they will be shown as text boxes. For our project the client requirement was to show a slider above these text-boxes. See the screenshot. The JQuery UI has a good slider widget which will gives the graphical version of these range. We can use this widget with our views 'in between' clause.
One of our Drupal clients who had been using the Drupal Ubercart module had requested us to change the status of the order after a user completes the Ubercart checkout completion process. If you are facing the same situation with Ubercart in your Drupal site and would like to know how to change the order status programmatically then read on to find out the solution.
Drupal Views provides pagination options. However at a glance the number of items shown in a page seems to be limited. However there is a way to change the number of times shown in a Views page dynamically. If you want to know how to change the number of items displayed in a Drupal Views pager number dynamically then continue reading.
When you want to dynamically create content from some raw data in Drupal, you might have to create a node programmatically. This comes in handy when you want to use custom forms to collect user input and then create nodes using the the input collected. If you want to know how to programmatically create a node continue reading.
As the World wide web is starting to resemble the wild wild west, you have to ensure that your Drupal site is always up to date. If you are ignoring the security updates of Drupal, then you are simply making your Drupal site vulnerable to the worst enemy of all - Negligence. Updating a Drupal site requires time and effort which is why most people ignore it. Here is a quick way to update your Drupal site using Drush and Hacked module.
On a recent Drupal project we had developed, we had to use the Drupal date module to display the date in a popup in a custom form. However we noticed that a date description was appearing on the form. If you are facing the same situation in your Drupal site then read on to know how to remove the default date format option added by the date module.
We were faced with a Sensitive Cookie Missing 'HTTPONLY' Attribute error in one of the more sophisticated Drupal applications we were developing. This error occurred when we were trying to get the Drupal application scrutinized for PCI Compliance. If you are faced with the same scenario in your Drupal then read on to find out the solution
PCI is an industry standard designed to review organizations who handle sensitive credit card information to prevent Credit Card fraud and it is important to get your Drupal application scrutinized if it is to handle such information
Boost is a Drupal module which provides static page caching for anonymous users. Boost caches a page when a user first visits a page and the the succeeding users are given the cached version of the page. The biggest advantage of Boost is that it works well in shared hosting environments and it provides fresh content for logged in users. Read on to know how to configure Boost in a Drupal 7 website.
Drupal depends on a cron system to execute period tasks in Drupal. This cron system in turn expects a call to the cron.php file from a client either as a Drupal shell request or as an http request to the Drupal site. The following outlines how to set up a cron job in an Amazon AWS server set up using the bitnami stack.
Some times we need to protect our site from public users and make it available only to selected number of users. For examply you might want to protect your alpha site from the public and from search engine bots. In such situations we protect our site with HTTP password. Follow the below steps for protecting your Drupal site with HTTP password. This was written for an Amazon AWS server but should work on most GNU/Linux servers.
If you are a Drupal developer you must have noticed that there is very little information on the web regarding how to create a custom token in a Drupal site. We needed to create a custom token for one of our Drupal clients. If you are facing a similar situation in your Drupal site and would like to know how to create a custom token in your Drupal 7 site and set a custom value for it then read on to know the complete solution
When developing a website we might often come across situations where we have to limit the entry into each text fields to a certain type. One of the common scenarios we run into when developing Drupal websites is to limit text fields to accept only numbers as its input. If you want to know how to limit a text field to accept only numbers as input then read on to find out more.
In one of my recent Drupal projects I needed to add some extra classes to the body tag. Usually classes are added to the body tag in one of our template file namely html.tpl.php. The classes can be added via an implementation of hook_preprocess_html. Now let's see how it can be done.
In one of our Drupal projects we were requested to create a Drupal module through which you could upload and extract a zip file and store the extracted files into the files directory in the Drupal site. If you are faced with the same task and wanted to know how to unzip a zipped file from within Drupal.
If you are a Drupal Developer you will often encounter situations where you have to use the node_save() function to add a new node to your Drupal site. Drupal does not need you to specify the nid in the standard node object. However there will be situations where you need the nid of the saved node for performing additional operations. If you are looking to know how to get the nid from a newly added node using node_save() then read on.
Most Drupal developers know about writing theme functions in Drupal 7. Likewise we can create theme templates too. However Drupal developers rarely create their own templates. Read on to know how to create a custom template in Drupal 7.
Triggers and Events are very important concept in the Drupal world. If you want to get your hands dirty tweaking Drupal or dive into Drupal development or simply configure a Drupal website properly you need to be familiar with the Drupal Actions and Triggers. If you want to know more about Drupal Triggers and Actions then read on to find out.
We had discussed about the basics of Drupal Actions and Triggers in our previous article. Have a look at the article How to create Drupal Triggers and Actions - Part I if you have not done so. In this article we are going to show you how to define Actions and Triggers in code.
In Drupal 7 Image module offers an image field which makes available an image widget for file fields that can be added to content types. This will allow for upload of images to the image field which can then later be processed by the image module and be presented using the different image styles as configured. This means that image module should have the ability to process files uploaded using this field.