Drupal

Zyxware default image1
| 2 min read
In Drupal we can create a time based subscription for a user for a given role. The user will be assigned to that role for a certain limit of time, after that the role will expire. The subscription will be based on Ubercart product. When a user purchases the product, account of user is upgraded to a specified role for a given time limit. The user can also renew for the role by purchasing the product after end of subscription.
Zyxware default image1
| 2 min read
Syncing means importing all files, permissions and data's from master to the development site, so that we have a two copies of live sites to test our new developments. In Drupal, its very easy to create versions of websites using this syncing process. Once the site is live to Production, the above process helps to fetch the sites data in the current scenario and to update few more features in the live site. I had a task to sync live database to development site's and came across some issues while syncing live database with the dev database.
Zyxware default image1
| 3 min read
While working on a report generating system, I wanted to display footer value that should reflect based on the date filter, added in the report. I thought of creating a block in the content region and manage the contents in the block. But when I went to know about header and footer options in views module, I decided to go for it. This article is on how to use header or footer in views pages.
Zyxware default image1
| 3 min read
Being an open source content management platform, Drupal powers millions of websites and applications, from whitehouse.gov to the economist.com. It is built, used, and supported by an active and diverse community of people around the world. Though there are hundreds of content management systems, Drupal scores high when compared to all the others. Here are the three reasons why you should build your website using Drupal.
Zyxware default image3
| 4 min read
Commerce Giftwrap module provides a very quick and easy way to offer a gift wrapping option to your Drupal Commerce checkout. This module adds a new checkout pane with configuration settings to allow users to select a gift wrapping option to add to their order along with a message to the recipient. People often buy products hoping they can gift it to a certain address. If they can get it gift wrapped, it would be an added advantage as they could deliver it directly to the person instead of buying it and then gift wrapping it and then delivering it!
Zyxware default image4
| 1 min read
Consider that you are working on a Drupal website. It is not possible to work on the live website because it will result in crashing of the site if we make some mistake. So the best way to avoid this problem is by setting up the same site in the local machine and after that working on it. The following steps have to be performed if you want to setup a Drupal site in your local machine.
Zyxware default image3
| 3 min read
It is important to keep our drupal site up-to-date. New releases of contributed modules and Drupal core come out periodically to address critical security fixes, and it's important to stay on top of updates as they are released. It is difficult to download the latest version of each module separately and then remove the old one from the sites/all/modules folder and put the the new one in that place and all. Drush comes to help us in updating the modules in an easy way. The following are the steps to update the non hacked modules using drush
Zyxware default image2
| 2 min read
In a drupal site if you want to display the location of a particular place then there are many modules to help you out. In this article I am writing about such a module. The name of the module is 'Location Map module'. In this article you can read about the configuration that has to be done while using the module. The module uses google maps to locate the particular locations.
Zyxware default image3
| 2 min read
Recently, I got stuck with a strange issue while using CKEditor. The problem was, When code such as v-aligns for tables or inline styles are added in ckeditor and saved then everthing things works fine, but as soon as the page is edited inline css and classes gets stripped off the content.If you are also facing the same problem then read on to know how to solve this.
Zyxware default image3
| 2 min read
Webform has inbuilt functionality to provide reports for the data submitted. The datas submitted to the webform can be setted to a limit or can be unlimited with respect to the feedbacks needed to be collected.To implement custom reports page using webform views, we need to get the web-form submissions data value by installing the following modules
Zyxware default image4
| 3 min read
Drupal has a lot of contributed modules. Today, Facebook is one of the most popular social networking sites and almost all the websites are connected with it. So, how can you connect your Drupal site with Facebook? In Drupal 7 there is a contributed module called Facebook Events. This Facebook_Events module allows to show RSVP of Facebook event in Drupal node. This is very useful module for Drupal sites Facebook connection and also FBConnect module which can also be preffered as a linkage to Facebook events.
Zyxware default image4
| 4 min read
The radical changes that Drupal 8 brought forward have been reflected in Drush 7 as well. Drush 7 now uses composer to download its dependencies. Before installing Drupal 8 you must make sure that Drush 7 has been installed. This is because Drupal 8 can be downloaded and installed using Drush like in the previous versions of Drush and also, Drupal 8 only supports Drush 7. Unlike earlier versions, Drush 7 cannot be installed using "sudo apt-get install drush" nor can it be updated by running "drush self-update" because that will result in updating to Drush 6 and no more. Hence the purpose of this article. Drush is a powerful tool to manage routine tasks in a Drupal site. Downloading, installing or enabling modules, running cron and much more can be accomplished using Drush. This is why its important to have Drush 7 before a Drupal 8 installation. Drupal 8 requires minimum version of PHP 5.4. Apache requirements haven't been mentioned, but I recommend apache2.4. After this we can begin installing Drush 7. Installing Composer