The client requirement was to add an option to enable the purchase of free products in an eCommerce site implemented using the Ubercart module of Drupal. This option can be implemented using the module named 'uc_free_order'(with Ubercart and other dependent modules installed). At the time of purchase, the 'uc_free_order' module checks the price of the product to verify if the amount is less than or equal to zero. In this scenario, the checkout page and the credit card options will not be displayed. Instead 'No payment required' message will be displayed inside the 'Payment method' box. Read on to know how to configure it in the site.
Technical Blog
In Drupal, all content is stored and treated as "nodes" - an abstraction to process data. A node is any posting, such as a page, article, or blog entry. Comments are not stored as nodes but are always tied to one. Treating all content as nodes allows the flexibility of creating new types of content. It also allows you to effortlessly apply new features or changes to content.Read on to know how to save node programmatically
SugarCRM is a popular open source CRM software. We had integrated data from Drupal 7 to SugarCRM recently on one of our Drupal projects. This article gives an overview about how to create modules in SugarCRM and connect them to a Drupal site. Read on to know how to integrate SugarCRM with Drupal
If you are a Drupal developer, you would often encounter a situation where your Drupal module needs to create a custom table automatically when enabled. If you are new to Drupal, Checkout How to create your own Drupal module to know how to do it. Drupal provides you this option using hook_schema. Read on to know how to use hook_schema in your Drupal module .
You might think what is the big deal if your Drupal site performs badly.To put it simply, if the performance of your site is poor,you will lose a lot of potential customers. So, one of the core aspects of a Drupal website is its performance. We had worked on a Drupal site that had several blocks. To enhance the site's performance, one of the steps we had taken was to set up a time base caching for all blocks. Are you curious to know how we did this? Read ahead.
In one of the Drupal projects I was working on, the site had a content type with a field image which had multiple number of values for that field. We were required to create a separate slide show for each content of this content type. Using the jQuery Cycle plugin, you can create the slide show quite easily. Read on to know more
In one of our Drupal 7 sites, recently, we came across a situation where we wanted to set a menu link that redirects users to different pages based on their roles. Usually, we create separate menu items for each user and apply permissions based on their roles. However,since we wanted to avoid redundant menu items and didn't want to duplicate an entire menu branch for a shared parent menu item, we decided to set single menu item with different pointing locations. Here is how we achieved it.
Boost is one of the most widely used Drupal modules designed for static page caching. It creates html files for Drupal pages.When an anonymous user visits the page for the first time, boost generates an html page and then serves the html directly to the other anonymous users of the site, till the page cache expires, which increases the performance of the site for anonymous users, as everything is handled at the Apache level. Nevertheless, there will be situations where boost might not cache a page. Read on to know if you have faced a similar problem.
In this article, I would explain how to configure Alexa API to work seamlessly with your Drupal site. We have implemented this module in our site Top Drupal Sites. This module enables you to get the details of a site by passing the URL of the website. Read on to know more
Drupal 8 is the latest version of Drupal. There are significant differences between Drupal 8 and Drupal 7. Firstly, Drupal 8 requires the latest version of php5 to run. Drupal 8 uses a PHP framework called Symphony, which relies heavily on OOP. Another major change in Drupal 8 is the folder structure. In Drupal 8, all core modules are placed within core/ and all other modules are placed in root modules folder. Moreover, there are changes in the way modules are created. Read on to know how to create a custom module in Drupal 8.
In this article, I would explain how we can add a new set of categories to an already existing node by using existing taxonomy terms as reference id in Drupal 6. In order to achieve this, the following functions can be used: taxonomy_get_parents_all(), taxonomy_get_term(), node_save().
FSF-CiviCRM is a popular Customer Relationship Management (CRM) system. The first step in getting started is understanding the CiviCRM codebase. For better understanding, please download CiviCRM zip file from https://civicrm.org/download and install.
[Drupal] How to update an existing user's profile data programmatically using user_save() in drupal?
User profile plays a significant role in identifying and categorizing users based on their characteristics or preferences, planning specific features, influences navigation, and the way interaction happens in the system.Today, almost everyone creates a profile in jobsites or social media websites. Frequent updation of a user's profile data is extremely important. In this article, we will see how can we update an existing user's profile data. Below is the code snippet that is used to update user's profile data.
Sugar CRM is a web application used for customer relationship management. Checkout our article on How to integrate Drupal with SugarCRM.Now, let's see how to push the data from Drupal to SugarCRM
Theming with Drupal is extremely simple. You can build a simple theme from scratch. When you are developing a new theme, you have to follow certain methods i.e. creating a .info file and template files. If you want to create a custom Drupal 7 theme for your site, read the following tips.
Opacity is the CSS property that allows image transparency. All modern browsers support CSS opacity. However, if you want it to function in the older versions of browsers, some cross browser tricks are required. Follow these CSS rules to enable cross browser compatible opacity settings for your HTML elements
One of the requirements of the client was to play video in the pop-up window instead of playing it in Iframe. We accomplished this by adding overlay div over Iframe, which would suppress the ability of Iframe to play video. Read on to know how we did it.
In a drupal website, it is easy to add the font styles provided by drupal itself. If the user wants to add a font which is not present in the drupal site by default, the process given below can be followed. Read on to know more.
Defect density could be defined as the value of the total defects which are known to the size of the software product calculated. i.e. Defect Density= Total defects/Size
For better understanding, consider the following example.
Internet is overhauling every piece of human life. As the resulting phenomenon of booming telecommunications market, around 60% of people access sites through smartphones, tablets etc. Why say this? How web developers are related to telecommunications booming? We might have seen some sites look good in few devices and not in others. As all these devices have a different display, here comes the relevance of discussing responsive designs. The advantage of responsive designs includes,
1. It will simultaneously adjust its width with the device.