Drupal Technical

Zyxware default image4
| 3 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
Zyxware default image4
| 2 min read
YAML is a data serialization language which is easily readable to both humans and computers. It is for this very reason that YAML is being used in Drupal 8. YAML stands for YAML Ain't Markup Language.
Zyxware default image2
| 2 min read
Inspectlet is a Website session tracking technology helps in recording videos of users visiting pages in your Websites and allows you to watch what the users(visitors) do in your website. Inspectlet helps to identity why visitors come to your sites and see exactly what the users looking for and how they want to use your site. Using Inspectlet you can get every mouse movements, scrollings, clicks, and keypress on your website.
Zyxware default image2
| 2 min read
If you are a Nginx web server user and using Drupal as your CMS, it is quite different for redirects. Imagine that you have two websites, so if we change from an old site to a new site some of the URL will return 'Page not found'. So for that reason we can redirect them to the correct URL. If you are also looking for a 301 redirect for your Drupal site please read on.
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
| 3 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 image1
| 3 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 image4
| 3 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.