Drupal

Zyxware default image1
| 1 min read
When we were working on a Drupal website using Ubercart, we wanted to override the text content of the default email sent out by Ubercart. Drupal does not give us a configurational method to implement this. If you do not know how to override the default email sent out by Ubercart during checkout, continue reading. Ubercart stores the default content for email in template files. These templates can be found inside the ubercart/uc_orders/templates folder. Ubercart uses three template files.
Zyxware default image3
| 2 min read
If you are working on a Drupal website with Ubercart and if you are handling custom product mechanisms programmatically, one of the main task you may come across can be, 'removing an item from your cart', when a particular condition is satisfied. If you are facing any difficulty with removing items from cart, I may have a solution for you. By default Ubercart provides custom function named uc_cart_remove_item() to remove an item. uc_cart_remove_item(node_id, cart_id, product_data)As you can see that the function requires three parameters:
Zyxware default image2
| 2 min read
We have been offering short term internships to students in different areas of our operations. In the past we have been primarily offering internships in non-drupal related tasks. This year we had offered internships to a batch of students from RV College of Engineering for working with our development team and learn Drupal. We are happy to announce that the first batch of students have successfully completed their internship this month.
Zyxware default image1
| 2 min read
Sometimes we may want to find all unused contributed modules in our site to clean up and all. In that case instead of manually checking all the modules from the sites/all/modules folder we can take it from the database system table. We may want to find these unused contributed modules list to physically remove them from the sites/all/modules folder. But before removing them we have to make sure that none of its sub modules are currently using. So in order to find out the unused modules list we can do the following three steps.
Zyxware default image1
| 4 min read
Drupal sites usually have authorized as well as unauthorized users. The privilege of authorized users is that they can access certain pages of the website in addition to the pages that can be accessed by unauthorized users. A user account page/Login page is included in Drupal for those users who wish to access the website as an authenticated user. Read on to know the test cases to test the login page in Drupal. The default Drupal Login page mainly consists of following three tabs (Check the images for reference).
Zyxware default image1
| 4 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 image1
| 6 min read
When you set out to build a website for your company there are a lot of aspects that you should be considering while deciding on the technology decisions. Based on these different aspects and based on how you prioritize between them the technology decisions that you take would vary. Going for a Content Management System is a no brainer if you wish to manage the content on your site. Both Drupal and Wordpress are good choices for building your new company website. However there are differences between them and this is an attempt to help you make a decision on this.
Zyxware default image4
| 2 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