[Drupal] How to use Clientside validation in Drupal?

April 11, 2016 - 10:40

As part of form creation process in one of our recent project we came across one module called 'Client side Validation'. As the name implies the module supports basic as well as most advanced sort of validation methods. Validating the form user inputs is the one task we could not ignore on developing forms for a web project. Let's find out how the 'Client side Validation' will make life easy.

Standardized curriculum for Drupal Developers - Phase 1 - completed publishing content

We are happy to inform that, we have completed the the first phase of the project on creating a standardized Drupal curriculum for Drupal companies as planned. We have compiled and published our Drupal training curriculum on the groups.drupal.org wiki under the Curriculum and Training group. We are now looking to get feedback from other Drupal companies and Drupal developers on the curriculum and the training materials. We also would like to invite developers from the community to contribute towards making this curriculum better.

[Drupal] How to implement popups using ctools modal forms in your Drupal site

April 04, 2016 - 18:48

One such feature used widely throughout the site is the use of popups for alerting users. Popups are nothing new to web development. In fact Drupal provides multiple tools to create popups including the more widely used Colorbox plugin. For this project we chose to go with Ctools modal popup as it provided more options than Colorbox. Read on to know how to implement popups using Ctools.

[Drupal] How to create custom offsite payment gateway module in Drupal 7

A Payment gateway tends to offer multiple types of payment services, that provides onsite and offsite options. Onsite payment is processed by a third party API using web services with the information gathered from our site through a checkout form (For example : Credit card/Debit card credentials). Offsite payment method, on the other hand, processes data entered in the payment gateway page. It redirects the users to the processing page of the payment gateway using the checkout form. After the payment is completed, the user will be redirected to the payment page, from where the user can move forward or backward in the checkout process. Here, let's take a look at the creation of custom offsite payment gateway module.

Towards building a standardized curriculum for Drupal Developers

As one of the largest exclusive Drupal agencies in India and having trained close to 200 employees over its 10 year history we are probably one of the very few Drupal firms in India in a position to take this effort that could in turn help a lot of other Drupal companies. We are looking to compile and publish our Drupal Training Curriculum in an effort to come up with a standard approach towards training developers in Drupal companies. We are looking to complete this exercise by March 31, 2016 and will be publishing the learning objectives, syllabus and curriculum under GFDL license.

[Drupal] How to get all image styles in Drupal?

December 21, 2015 - 18:45

In one of my recent project I had a task to create a content type with a select list field of all image styles. But how can we get all image styles in Drupal? In Drupal there is an option to create different image styles using a module 'image'. Image module allows users to upload images into Drupal with proper permissions along with this its thumbnails and additional sizes are created automatically. Image module also gives an image_styles() function that can be used to get all image styles and their settings.

Which is the best Drupal Company in India?

December 16, 2015 - 23:54

Finding the best of anything is always a tricky question especially if you are likely to have a bias in the decision and the decision is a subjective one. So we are not going to try to answer the question about which is the best Drupal company in India.

Top 3 Drupal Companies in India

December 16, 2015 - 19:48

As one of the oldest and largest Drupal companies based out of India we have a claim to be in the list of top Drupal companies in India. However it would be rather difficult to really compare the offerings and quality of services of the different Drupal companies and come up with a really objective way of comparing these Drupal companies in India. So creating a top Drupal company list is going to be difficult task. Instead, we will list out 3 of the largest Drupal companies in India. Do also note that we have only listed the exclusive Drupal service providers and not the 'me-too' companies.

[Drupal] How to retain the default values of step 1 form after successfully submitting the step 2 form of a two step form

November 18, 2015 - 09:41

To keep the default values of the step one form after successfully submitting the step 2 form, here is an easy way. Just pass the form state values of step 1 form as query parameters to the same page on submitting step 2 form. Set the default values of step 1 form as, first check whether the form_state value is set. If yes, set the default values of step 1 form fields with the form_state values. Else check the URL query parameters, whether this variable is set. If yes, then set the default value with that value.

Solving missing files issue when setting up a drupal site without files folder

When you try to set up a local development environment from a drupal dump which includes just the code base and the database without the Drupal files folder you will run into the issue of missing files. Drupal would think that it still has all the files in the Drupal files folder and would create links / process images as usual. This would however lead to a lot of unexpected errors in a lot of unexpected places. If you really do not care about the content in these files and want to recreate the missing files here is how you do this.

[Drupal] How to set destination as the link value in the l(), in case of urls with parameters

October 20, 2015 - 19:15

We can use l() to add links in our Drupal pages. However, while using the output of drupal_get_destination() in the l() as link, it might end up in the wrong functionality. If the drupal_get_destination() returns a url with parameters involved, then using it directly in the l() would cause the link to redirect to the wrong page.