Drupal

Zyxware default image1
| 1 min read
We had faced a peculiar problem with slideshow in colorbox in one of our Drupal projects. Everything works well before an image cache is set to slideshow images to make them same in size. After setting this image cache, colorbox slideshow begin to behave so strangely by showing a very small window with scroll bar and images are hardly visible. Please refer the image below. But after refreshing page images appears with expected size. But loading another page, and returns to the previously loaded page also make the situation again.
Zyxware default image4
| 2 min read
Are you looking for a way manipulate dom elements using javascript based on some values from PHP, then this article is for you. We had recently worked in a Drupal 6 site having the same scenario. Our requirement was to enable some checkboxes using javascript based on the values of some variables available in the backend, This was accomplished using Drupal.settings
Zyxware default image4
| 3 min read
The last version of Drupal 5 was released on Aug 11, 2010 and the maintenance of Drupal 5 was stopped on Jan 5, 2011. The current stable branch of Drupal (as of March 2013) is Drupal 7 and the previous version Drupal 6 will be maintained till the release of Drupal 8 which is expected to happen towards the end of 2013 or early 2014. Drupal 7 will be maintained till the release of Drupal 9 which should happen probably in 2015.
Zyxware default image3
| 3 min read
Global Redirect is a functional module which ensures the correct redirection of users to the alias of a given drupal path, thus avoiding duplicated content from multiple URLs. This is very important for SEO because otherwise search engines will see the same content at the Drupal path as well as at its alias causing it to believe that the site is duplicating content at two different URLs
Zyxware default image2
| 4 min read
Blocks in Drupal can be assigned to regions in specified pages. Two options which are already in Drupal 7's block configuration page are: All pages except those listed Only the listed pages And if you have enabled the PHP filter module, you may find another option: Pages on which this PHP code returns TRUE (experts only) In this article,I am going to explain to you, how you can display a block on pages based on the value returned by PHP code.
Zyxware default image1
| 4 min read
Coupons are used to redeem discounts while purchasing products from a store. They are mainly used for sales promotion. Here we are considering a coupon to be set for our products in our Drupal / Ubercart store so as to enable us to provide rebate or financial discounts for our products. Coupons can be set for products as a product feature. These coupons will be emailed to the user after the checkout.
Zyxware default image3
| 3 min read
Nowadays we can easily access internet in different devices such as mobile, tablet etc. So its necessary to make a website compatible with popular devices like iPhone, iPad etc. In Drupal, we have a simple method to make a website adapt to different devices. In this method we can convert a normal theme to responsive theme easily. To get this we have to modify the .info file and add the media query stylesheets in .info file. We will also have to add the responsive style rules to the separate media query stylesheets
Zyxware default image2
| 2 min read
Just as for File Upload fields, Image Upload fields are equally prone to hack attempts. They also have additional functionality to do post-upload, such as passing the image through various image processing filters / presets. While testing Image Upload Fields, you have to take into consideration all these points. Here are some test cases to help you test image upload fields on a Drupal site:
Zyxware default image1
| 3 min read
Using Ubercart and the Drupal Rules modules, it is possible to alter the behavior of the Ubercart checkout process. We had came across a situation on one of our Drupal sites where we needed to add an additional feature during the checkout process. If you are faced with a similar scenario in your Drupal site with Ubercart then read on know how to create a custom Rule condition for the Ubercart module?
Zyxware default image4
| 4 min read
It is very good if we can create a pure CSS multilevel drop-down menu in Drupal. We can simply avoid adding additional modules or jQuery for the multilevel drop-down menus. As we had a requirement to create a multilevel drop-down menu without using jQuery, we created it in pure css. And it works well in different browsers. We created this menu as main menu for the header navigation part. And there is a region for the header part called "region-header" and it wrapped in a class called .header-wrapper. Also Drupal provides a class called 'menu' for ul. So we had to define the class-name along with the ul.
Zyxware default image2
| 4 min read
When focusuing on Drupal website development, user roles and permissions are an important way of controlling access to the site. This is more so important when there are multiple individuals besides the website owner who administers the site. Other people can be assigned certain 'roles' which define the kind of access that is to be granted. Basically in Drupal, the Site maintainer and Administrator roles are given all the available permissions and Drupal Administrator role receives all permissions throughout the lifespan of the site. This is not the case for other 'roles', where access within admin permissions and time limits only are granted to users linked to those roles.
Zyxware default image4
| 3 min read
You might ponder as to why test a link, or even include it as a test case when there are several other major functionalities to be tested in a Drupal website. Every site, be it Drupal or non-Drupal, contains numerous links, some of which lead to external sites and some that whirl within the site. The 'web' works extensively through links, and it is through links that sites are navigated to and get found. Links are also the underlying indicators for security of a site. So links should be paid attention to and be tested thoroughly. Here are some test cases to help you get started: