How To

Zyxware default image4
| 2 min read
Here is a document which describes how the contents in a View can be displayed in a table format as well as it can be dragged and dropped from one row to an another row without using any additional jQuery functions. We have done this in Drupal 7 and this can be achieved using a module named 'DragabbleViews'. You can download it from this link: http://drupal.org/project/draggableviews. This module requires the 'Views' module to be installed already in your system.
Zyxware default image1
| 2 min read
By default in drupal if we click on any taxonomy term, it will execute the taxonomy/term/% menu. We can change this default taxonomy/term/% menu path to a custom menu path. In one of my project I had a requirement to execute a custom function for my vocabulary in stead of executing the taxonomy/term/% menu and I had found a solution for this. The following are the steps to be done.
Zyxware default image4
| 2 min read
The Apache Solr module integrates Drupal with the Apache Solr search platform. Solr search can be used as a replacement for core content search and boasts both extra features and better performance. The apachesolr module requires the external PHP library,"SolrPhpClient". If this is missing in your apachesolr module directory, it will show the following fatal error after installing or updating this module.
Zyxware default image3
| 2 min read
The following is the shell script that will shutdown all computers in the network. This script will be really help full for system administrators who need not want to check all systems, whether all the systems in the office has been shutdown properly when the employees leave the office. The script will check all the active ips in the network and write the those ips to a file. It also login to each system and execute the shutdown command. The things that are to be done before running the script is to 'Make sure your public-key has been added in the authorized_keys file in .ssh folder of root'. This allows the script to login to each system by the method of public-key authentication rather than prompting for password. And also the 'StrictHostKeyChecking no' will avoid all prompts during ssh.
Zyxware default image2
| 4 min read
As you know that it is not easy to check manually the broken links in a website. Suppose if the site contains thousands of web pages and the pages keeps on getting added or deleted at the same time. In this situation it is impossible to manually test the broken links in a site. So in this case you need a tool to do this job. 'Xenu's Link Sleuth' free application helps you to check all links on web pages for errors. The application will shows which links are broken and which are active. So here I am explaining how to test broken links in a website by this application.
Zyxware default image1
| 4 min read
Getting search fields inside a view is easy that is adding a field in 'Filter :Criteria' and exposing it, so we get the search field and now you can search based on that field.And when we require more than one field to be searched we need to include it by adding the fields in 'Filter Criteria' and exposing it , which looks weird when we have 3 fields in a single search form.So what if we have an option to make it a single field say we have to search the contents based on 3 fields with a single search field.Isn't that interesting?Here comes the use of 'Finder' module which is safe and sound.
Zyxware default image3
| 3 min read
Suppose your Drupal project handles products which can be purchased through online and you are using Ubercart 'taxes' module to handle tax rates which are applicable to your product. Also Admin has the permission to add tax rates and conditions. And a registered user can buy the product. Here I am going to explain some of the test cases which you have to execute while testing this functionality. The cases you have to test are:
Zyxware default image4
| 5 min read
Twig is a modern template engine for PHP. It is fast, flexible, and more secure. Twig is a template framework and is a direct replacement for PHP Template. There are lots of differences between PHP template and Twig. Drupal 8 is developed with help of Symfony2 framework, and the template files in Drupal 8 are in twig format.Read on to find out more about twig and debugging of twig.
Zyxware default image1
| 3 min read
The term 'RSS' refers to Really Simple Syndication(Rich Site Summary). RSS allows you to group the content in your website and provides an easy way to view and share the contents in the site. RSS files are automatically updated whenever new content is published in the site. A user can subscribe to the RSS feed of a website using feed readers, such as Google, My Yahoo, Bloglines, Live Bookmarks etc. This keeps the user updated when new content has been added to the site. RSS is written as an XML file.
Zyxware default image2
| 2 min read
Webform is a helpful module that enables you to submit information such as contact forms, surveys etc. It is easy to configure webform in a drupal site. Now, what about displaying a webform inside a colorbox? Although it is easy to install colorbox module and write custom code to display webform, we also have to effectively handle form submission and validation errors. However, there is an easy way in drupal7 to display a webform inside a colorbox.