Get a free quote now

Drupal 7

How to implement Drupal security updates and issues behind the Implementation

May 15, 2015 - 16:17

I had updated a Drupal site recently and do had faced some issues after successful update of the site. Upgrading a Drupal site is an effective way to make sure that your Drupal site is currently updated with all the latest security updates. Before performing any major changes on your Drupal site, remember to take a complete files and database backup of the site.

[Drupal] How to customize and display feeds of your site using a FeedBurner?

April 29, 2015 - 14:15

While working on a Drupal site I came across this issue that if my site is having many feeds and what happens if many users try to access this, which can possibly make our site slow. One of the possible solution is that we could create another domain for our feeds so that users can access the feeds from that domain. Also you can refer the article How to create a custom feed on Drupal 7 site using views to know how to create feeds using views

[Drupal] How to add a user to an Organic Group in Drupal 7?

April 29, 2015 - 14:05

Do you want to add a user to an organic group programmatically in Drupal, then here is a solution. In one of my Drupal module I had a requirement to add users programmatically to an organic group. So I have created a custom function in my module for this purpose. This uses the function og_group to add a user entity to a group. Refer the following code. Remember that, you can add only an existing user to a group. It will not create a new user.

[Drupal] How to get the count of all users having a particular role in a Drupal 7 website?

April 27, 2015 - 10:53

One of our Drupal clients had requested us to look into the innards of their website and see if the site can contain the influx of new users without breaking a sweat. We went into action swiftly and while we were gathering the details of the site, we realized that we need to get the count of all users having a particular role. We used a simple query to get the details of the users. Read on to know how to get the count of all users having a particular role in a Drupal 7 website.

[Drupal] What is the need of drush in Drupal

April 24, 2015 - 19:27

Imagine if your Drupal site has more than 30-50 modules and you wanted to update them all or you want clear all Drupal cache. If you do it manually just by unzipping and run update.php or just click the clear cache it may takes more time. Hence if you can do this all process in one single command it will be easier for a developer. Here we can use drush commands to do all work with a single command and in few seconds.

[Drupal] How to configure Facebook Oauth module in drupal 7

April 21, 2015 - 10:25

Facebook OAuth module helps to extract data from user's Facebook account details and map that user's Drupal account during registration. The user details will be extracted directly from the Facebook account details and user can define the custom field types to be extracted with validations. Validations means the mandatory field info's that should be present in the Facebook account details before extract using the FBoauth API.

[SOLVED][Drupal] PDOException: SQLSTATE[HY000]: General error: 1366 Incorrect string value: '\xE2\x81\x842 t...

In one of the Drupal sites were working on, the members of the site frequently found that the nodes they had created were crashing. They would enter content into the node fields and try to save the node. The node would appear to save with apparently no error message. They found that it was not accessible at all afterwards. This wasn't occurring for everyone. We checked the dblog and we saw that the users were getting the error PDOException: SQLSTATE[HY000]: General error: 1366 Incorrect string value:. Read on to know how we solved this issue.

[Drupal] How to add custom Views Bulk Operation

April 16, 2015 - 17:14

Views Bulk Operation module is helpful in the cases where we need to perform a particular operation for more than one row in a view. Some of the operations includes deleting multiple contents, publishing/un-publishing contents, change the author of the content, send email etc. In one of our Drupal project I need to perform a action to add a single field for all rows. Drupal provides a hook to declare the required operations and handle extra changes to the bulk operations settings.

[Drupal] How to configure SimpleAds module in Drupal

April 07, 2015 - 11:30

SimpleAds module allows advertisement in Drupal websites. I had a requirement in one of my Drupal sites to add advertisements in the site contents area. I came across a Drupal module- SImpleAds which helped me to solve the fix and the below the details on the configurations to done to use SimpleAds module