Drupal Technical

Zyxware default image3
| 3 min read
We had recently faced an issue in one of our client's website running on Drupal 5. The site had crashed and we were unable to continue development. We began analyzing the problem by checking the free space on the site and came to the conclusion that the now deprecated PHP Ereg function was causing the site to crash. If you are facing the same issue in one of your Drupal sites, read on to know how we successfully fixed the bug.
Zyxware default image1
| 3 min read
When a user frequently visits a webpage, the browser automatically saves or in other words caches that particular page. This helps the user to access those pages in future which saves time. However due to caching, the changes made on a site do not reflect at once and its not useful during development or testing of a Drupal site. Therefore it is important that testers clear the cache before they start testing. Caching can be performed by both the site and the browser. Read on to know how to clear the Drupal cache.
Zyxware default image4
| 3 min read
Drupal modules can be defined as a collective set of functions that can be used to create certain features. There are two sets of Drupal modules - 'Contributed modules' and 'custom modules'. Contributed modules are modules that are contributed by Drupal users for general use whereas modules which we create to achieve certain functions are called 'custom' modules. If you want to know how to create a module on your own in Drupal 7, you may read on.
Zyxware default image2
| 3 min read
For getting started with accepting online payments through your Drupal website, you would require the Ubercart module installed and configured correctly with a desired Payment Gateway enabled. But before going to actual Payment Gateways, let us try out configuring Credit Card Payments with default Drupal Test Gateway. Pre requirements: Ubercart module Installed and configured with store, products and cart checkout. Here are the steps to configure Credit Card Payments,
Zyxware default image4
| 2 min read
Backup! Backup! Backup! Always back up your Drupal site's code and database before you actually start making any changes to your site. Do you have access to the control panel? Cool! Go ahead and create a zip file of your entire site, export your db, download it to your local machine and you are done. Read on to know how to backup your Drupal site.
Zyxware default image4
| 4 min read
Webform is a Drupal module that can help webmasters create submission forms like survey forms, contest forms, contact us form etc without any custom programming. Usually webform submissions will result in the data being inserted as a new row into table 'webform_submitted_data'. But our client requirement was to update an existing submitted data from the table 'webform_submitted_data'. If you want to know how to update an existing webform submission then continue reading
Zyxware default image1
| 2 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 image2
| 3 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
| 6 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 image1
| 3 min read
Social media sites like twitter and facebook are key tools in reaching out to large audiences almost real time. The key part about using these systems is their ability to broadcast real time news and updates. Tweeting content from a Drupal site as soon as a node / content is posted on the site is a good way to use Twitter. If you want to know how to post a published content on twitter in Drupal 7 then continue reading