Drupal Technical
| 1
min read
As part of a project requirement, we needed to notify users whenever an entity got created, updated, rated, or reviewed. Drupal's 'message' module fulfills this requirement.
We can log and display messages and can even customize the notifier plugins. For creating a notification, we need to install the following modules:
message
message_notify
message_subscribe
The dependent modules are:
Technical Solution
| 2
min read
We can execute system commands using SHELL. shell_exec is a PHP function that returns the output as a string or null if it is a wrong output. Note that, this function is disabled when the PHP is running in a safe mode.
Technical Solution
| 2
min read
rsync command is used to synchronize files and folder from source to destination. It may be same or different server. If the synchronization is in between different servers we have to use ssh credentials for connecting the two.
Drupal Technical
| 3
min read
One of our Drupal clients required us to cancel the recurring fee order option which was pre-configured in Ubercart using Ubercart recurring fee module in their Drupal 6 site. If you are a Drupal user facing the same situation with Ubercart in your Drupal site and would like to know how to cancel the recurring fee order then read on to find out the solution.
Technical Solution
| 3
min read
One of our Drupal clients had reported that the emails from the Google Apps mail accounts on their Drupal site were going into the spam folder of the recipients inbox. When we analyzed the situation we noticed that the SPF records for the domain were not set correctly. Read on to know how to add a SPF record through WHM to prevent mails from of your domain from going to the spam folder.
Drupal Technical
| 3
min read
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 Technical
| 3
min read
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.
Drupal Technical
| 3
min read
As a Drupal developer you might have come across a Drupal multisite installation in which the different sites were connected through symlinks. As a developer you often need to create a local installation of a live Drupal project to make the required changes before pushing it to the live version of a site. If you are facing the same situation in your Drupal site and would like to know how to create a local installation of a Drupal multisite project connected through symlinks then continue reading to know more.
Drupal Technical
| 4
min read
Drupal does not provide the option to disable the confirmation mail that is send to a user after they have successfully completed registration in a Drupal site. However there is way to disable the mail using custom PHP code. If you are facing such a scenario in your Drupal site then read on to know how to disable the Drupal registration email in a Drupal 6 website.
Drupal Technical
| 3
min read
There may be many situations while working on a Drupal site where you need to create custom tokens for a variety of applications within Drupal. If you are faced with the same scenario in your Drupal site and want to know how to create custom tokens in a Drupal 6 website then read on to know more.