Technical Blog

Zyxware default image1
| 3 min read
We know Drupal 8 is the latest version of Drupal. It has lot's of difference from the previous version of Drupal. One of the major difference in Drupal 8 is in Configuration Management. In Drupal 7 there is version control system is used and for that there is different running site environments like staging, live etc are there. In Drupal 8 also have this environments but Drupal 8 comes with a file system-based configuration management system.
Zyxware default image2
| 5 min read
Ever since we have used computer, all might have heard of command line tool. Most commonly called bash. Command line is capable of taking input and outputting its results from and to computer. One of the features command line offers is it lets the users to create their own instructions. In this article we will take a tour through the steps on creating our own bash command.
Zyxware default image2
| 4 min read
Today, people are looking for free and easy to use content management systems to run their website. Drupal is an open source content management system (CMS) which help users create, structure, and publish content. From a company perspective the priority will be on saving costs and shifting attention back to customers. Here is a useful checklist for developers, to meet the above needs for building a small business website without compromising the quality.
Zyxware default image4
| 6 min read
CiviCRM is an open source tool which provides a web-based interface for Constituent Relationship Management. The main advantage is that it could be coupled with the Drupal environment (or any other CMS) and used as a Relationship management tool. Using the functionalities we can handle the relationships with the people, households, organizations etc. It also help us to create events, make personalised campaigns, make contributions etc.
Zyxware default image2
| 6 min read
In Drupal 7 by default we can't send html mail, since Drupal will convert all emails to plain text before sending. This could be overridden using Drupal 7 htmlmail contributed module. We may also need i>mailsystem module for implementing htmlmail, which is a dependency. The module also give html mail template, which could be customized as well in same way of theme templates.
Zyxware default image4
| 3 min read
In this article you can get an idea about how to share a link to user wall with the uploaded photo in Facebook from Drupal sites. To share a link on Facebook, we need to use the Facebook API so we have to download Facebook SDK for PHP. Facebook SDK allows developers to get access to the Facebook API. First, you need to create an app (https://developers.facebook.com/apps), because to reach Facebook we need app id and a secret code.
Zyxware default image3
| 2 min read
Flexslider is one of the most popular modules in Drupal to build responsive slideshows. The Drupal flex slider module integrates with flexslider library for creating slideshows. As per user reviews/feedbacks you could notice certain bugs reported mainly cross browser compatibility issues which you may face while integrating this module.
Zyxware default image1
| 3 min read
Email spamming, in simple words misusing the emails of a website is a common concern today. There are many ways by which this malpractice could be prevented. You might be familiar with 'captcha', one of the method used to prevent spamming. (For test cases for captcha refer: http://www.zyxware.com/articles/3308/websoftware-testing-checklists-cap…). Drupal provides some modules like Spambot, Honeypot etc for blocking spam.
Zyxware default image1
| 3 min read
Authorize.net is payment gateway service allowing users to accept credit cards or other payment mode through websites. It allows users to manage transactions, manage payments on the basis of low-cost without any extra transaction fees. Authorize.net deals with many transactions through payment gateway from simple to complex e-commerce products and reports. The only need by a customer to choose an appropriate API suiting your business and transactions and thereby directly creating an account with Authorize.net.
Zyxware default image2
| 3 min read
Webform module is a perfect solution, if you are looking for a more complex contact form or multiple feedback forms to add to your Drupal 7 website. This module will enable you to create and manage as many forms as you need. Recently, we had a need to create three different feedback forms for a Drupal website. One of the webforms was a contact form to connect with different contact persons of the company where as, another one was to send enquiries about the products and there was a guest book page to leave feedback. Here is how we achieved all these requirements in one shot using the webform module.
Zyxware default image1
| 2 min read
Suppose your Drupal projects handles products which can be purchased through online. And you are using Ubercart PayPal and Ubercart Payment modules to handle payments related to purchase. Either registerd or non registered user can buy the product. User can use paypal through two ways. "Can purchase through sandbox environment or Can purchase using credit card". So a tester can test the paypal functionality using both these ways. Here I am going to explain how can you test the purchasing functionality through Sandbox.
Zyxware default image2
| 3 min read
This is a simple and easy way to theme an ubercart shopping cart block in a Drupal site. When we enable ubercart in our Drupal website we will get a block called shopping cart. This block will show us number of items in which are added to cart. When we use our own theme this block may not looks good, but we can theme it in a very easy manner. This article can be useful if you want to theme shopping cart block in Drupal.
Zyxware default image2
| 2 min read
We had faced an issue with invoice sent by authorize.net, for anonymous purchase a product in ubercart in one of our Drupal 7 site. After the purchase is completed, the user receives an invoice from authorize.net. But if the user is anonymous, the invoice's customer id is set as zero. We had sorted out the issue and fixed it. Read on to know how to solve this problem
Zyxware default image4
| 2 min read
While working on Drupal sites, we could come across a requirement to show the contents aggregated from different domains. The content could be a blog of the site, list of recent articles and comments etc. For Aggregating contents into Drupal, feeds system is used. By aggregating the contents we can show the combined collection of data/content from different Drupal sites on one single domain.
Zyxware default image4
| 3 min read
Drupal 7 has a contributed module "Nodequeue" which allows users to collect nodes in an arbitrarily ordered list. It provides a simple drag-and-drop interface to manually order any queue. If you want to create a node to the nodequeue programmatically then you need to read this article. For creating you need to have two things: node id $nid and the queue name queue_name. Here how it can done, we firstly load the nodequeue by name and then add the node to the queue using function nodequeue_subqueue_add. Below code snippets adds a node to the queue.
Zyxware default image4
| 2 min read
Drupal 7 provides a flexible supports to create a Taxonomy. There is powerful core module called Taxonomy which allows us to create, manage and apply vocabularies. In Drupal, the terms are gathered within "vocabularies". Taxonomy has a ability to add taxonomy fields to vocabularies and terms. When we come across inserting the taxonomy terms programmatically, we will need to add fields values to that taxonomy term. So In this section we are going to create a custom field values to the taxonomy terms. Below is the code snippet, that is the array structure to create field values.