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.
Technical Blog
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.
I was deep stuck in a Requirement Analysis, when one of my colleagues came to me asking about a feature in Apache Solr search. You may be wondering why she came to me, Trust me that was the exact thought I had at that time. Well, then I realized that the reason she came to me was because I had previously built a website using the Apache solr search with the help of Facet API. While doing that project I had thought of documenting some of the tasks which I had done, but couldn't do so.
One of our clients was trying to upload a pdf file on a node page in their Drupal website. The file was more than 25 MB in size and Drupal was not allowing them to upload the file as it had crossed the max file upload limit and they needed this to be done very quickly. As we were in charge they requested to come up with an easy way to do that. If you want to now the easiest way to set the max file upload size in a Drupal site read on to know more.
You have heard the word proportion in Architecture. If you want to call a Architecture classical, the key concept should be proportion, i.e, correlation of one element to another. Same in the case of UI. User Interface(UI) acts as a medium of interaction between the User and the Web. In a web application the most important aspect is the user interface, because this is the only part end users are going to view.
Before we start, I want to you to know how we reached to this article"Why is proportion important in UI".
In Drupal, while adding a menu item, we can give it a title, description, path and such details. It is not possible to give images for these menu items at the time of creation, by default. If you are looking for a solution, then read on.
This particular task can be achieved by overriding the theme function theme_menu_item_link() in our theme's template.php
Use the below function in your template.php :