If you own/manage an online store using Drupal and Ubercart, you would have encountered situations where you wished to set different prices for different options of a product attribute in ubercart. For example, if your store sells books and you want to add extra price for hardbound editions, here's how you can do it. Read on to know how to set this up in Ubercart
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.
We had an issue in views_slideshow_jacrousel module that prevents true circular effect in the carousal even when we configure the module to use the circular effect. Read on to know how to enable true circular effect in Carousel in Views Slideshow jCarousel module.
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().
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.
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.
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.
Adding extra plugins to the CKEditor is like extending Drupal by installing new modules. Plugins can be used to add more functionalities to the CKEditor. In this article I will be explaining how to create a simple custom plugin and how to configure it in drupal 6.
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.
We had earlier published a list of Fortune 500 companies and their websites. We evaluated these websites and have identified those that run on Drupal. The following is the list of Fortune 500 companies that use Drupal for their corporate websites. Do note that this data is current as of the date of publishing this article.
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.
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
Integration testing is grey box testing method in which combined parts of an application is tested to determine whether all these functions works together. Let us learn this with an example.