Drupal has grown to be recognized as the most powerful and practical modular framework used by numerous website developers and business owners. The CMS community has adapted to the versatile and extremely functional structure of Drupal very quickly and Drupal modules have risen high on the must-have charts of web developers.
Drupal Technical
The drupal_write_record function is used to insert or update a record in the database based on the schema of the table. It helps in executing less database query. Let's take a look at the function given below.
While working on a Drupal project, I had to draw three concentric circles. Each circle was supposed to display the currently entered data in three text areas, called a golden circle. Using Raphael's JavaScript vector graphics library in Drupal 7 makes your work really simple. Please go through the following steps:
View is the one of the popular Drupal module. Views are used to display a list of data, table of data etc. This article will guide you in recreating a view in Drupal 7. Its very easy to recreate a view.
Now all themes are in responsive manner. Bootstrap is the one of the best responsive theme. Its the good starter theme for Drupal 7. It has a lots of specific styles for every designs and we can create a subtheme from Bootstrap theme. It also become a good responsive theme.
Here I am listing some methods to clear Drupal caches. Drupal caching is done to improve and enhance overall performances of the site. Its always recommended to enable the page caching and block caching in Drupal.
Rules are very important and most common using thing in Drupal. We can create custom rules programmatically using the hook_rules_action_info. There is a useful hook hook_rules_action_info() provided by rules api to create custom rules programmatically. Using this We can use our custom functions to perform the actions that we require.
The drupal_static() function provides a temporary storage for data that should stick around even after execution. It also provides the central static variable storage. It preserves the data within a page request as well.
Stay secure with our step-by-step guide to installing Drupal security updates. Protect your website against vulnerabilities and potential threats. Learn how now.
[Drupal] How can we assign different groups for a user and retrieve using Organic Group in Drupal 7?
In one of my Drupal project, we had a requirement to set a 2 level arrangement for users group. That means, we want to add more than one group for a user, in one of our Drupal site. Our experts find a solution for this by implementing Organic Group with user's account by some custom codes. Do you have a requirement like this? Connect with us.
JQuery and AJAX are very useful for loading data into the page without refreshing the web page. AJAX tabs can load content from remote files or URLs. In this example, the content of each Tab will be loaded dynamically with Ajax.
JQuery slider allows you to select a value from a numerical range by simply dragging the slider. The following notation notes will help you to configure slider settings in your JavaScript file.
Entity in Drupal 7 makes web development much easier, like building structures using LEGO. We can build Entity types, that can be made Bundles. Here we can add fields and then create Entities. This article explains how to add fields.
I had a requirement to create webform in multiple environments. Webforms cannot be exported as features. Webform_share module helps to export the webform and then imported the same in my different work environment. The Webform_share module requires webform module. For installation, download and enable the webform_share module.
In one of my project, I have a requirement to show the form elements as a popup window on clicking a menu link. I have created the form using the Drupal webforms. I want to make this webform available as a popup window on click of the corresponding link. Drupal popup module helps to meet this requirement.
Often joins are the most required for odd jobs around the site for mining a specific data or field. The efficient way to do this would be to join multiple tables having a common field and arriving at the field. This is also the reason why joins are the most confusing to apply on more than 2 tables.
In my project I have a requirement to display the error message of webform submissions in a popup window. Webform is a module for creating simple or multi-step forms in Drupal in an easy way. To display the webform in popup is very hard to me. Webform Ajax module helps to meet this requirement. Its is very useful module for single or multi-step forms with pagination's in a popup box.
We were working on creating a custom Drupal 7 module for making the comment management better. At some point, we started getting an error. Since the error came during the development, we were almost sure that it was from the custom module only.
While working with a project, I need to display a view in colorbox popup. I have done the following steps for processing popup for views. You may also look into other solved issues and details related to colorbox over here.
While working on a Drupal website recently, I wanted to add a pop-up in some of the selected pages in a website with a delay of 15 seconds after page load. For all users, pop-up should be displayed only once in a day.