Drupal Technical

Zyxware default image3
| 3 min read
Everyone knows Drush is a very important tool in Drupal development, to execute things faster and to manage Drupal websites remotely. Drupal specifically built its shell function to update its configurations, managing modules, running drupal updates, etc.
Zyxware default image1
| 1 min read
While setting up local environments for Drupal 8, everyone may find difficulty in login to the site, if the password is unknown In Drupal core there is a script file that return the hashed password, which is core/scripts/password-hash.sh. Run the following command to get the hashed string for '123' in the terminal. ./core/scripts/password-hash.sh 123 Update the returned string in the password field in the user's table for required users via command line or any MySQL (or any database systems like PostgreSQL, MariaDB, MongoDB) GUI tools.
Zyxware default image2
| 3 min read
Drupal scores better than most platforms for Online Marketing success. For a large part of the online marketing community, this might sound cynical owing to popular Drupal myths. However, Drupal is one of the most powerful content management platforms enjoying a high ranking. Drupal SEO-friendly features help websites achieve better ratings on the search engine for the same kind of content. On the periphery, Drupal does this through several inbuilt features:
Zyxware default image1
| 3 min read
You can create your custom color box styles instead of using a plugin provided styles. For creating custom color box style go to /sites/all/modules/contrib/color box/styles copy any one of the folders. (You can find plain, default, and Stockholm syndrome styles there).Place the copied folder into your theme folder. Rename the folder with your custom name. Also, rename the CSS and js files.
Zyxware default image2
| 3 min read
Drupal 8 was released on Nov 19th, 2015. Though Drupal 6 end of life was declared on February 24th, 2016, there are still over 84,845 Drupal 6 websites on the web. What does end of Life Mean for Drupal 6? As per Drupal 6 end of life, the security team will no longer provide support or security advisories for Drupal 6 and the core of Drupal 6 will no longer receive community support.
Zyxware default image3
| 4 min read
Being one of the few comprehensive CMS’ available today, Drupal continues to be the most preferred brand for building websites. From personal blogs to high-security government sites, Drupal is the favored choice when it comes to building high-performance websites. To date, Drupal powers over 2.2% of the websites running globally. However, there are several tweaks and tips that you can make use of to enhance the site performance and offer a better user experience for online visitors.
Zyxware default image1
| 4 min read
Page load time is one of the most critical aspects of your website, and with Google giving higher rank to websites with faster load times, it gets all the more precedence. Optimizing these core areas can lead to considerable improvements in website performance. Focus on Core Modules for Achieving Fast Page Loads By disabling and uninstalling the modules you do not need, you can save considerably on page load times:
Zyxware default image4
| 3 min read
In one of my project I want to create user roles programmatically and the role should be enable and disable while module install and uninstall process. So first of all I need to create a YAML file based on the user role name with necessary definitions. The name of the YAML file should be the format user.role.sample.yml. Here sample is my user role id. To make the role enable and disable while module installation and uninstall we have to add dependency with enforced property.
Zyxware default image2
| 3 min read
You might be getting the most from your Drupal 6 website, but with versions 7 and 8 already on full gear, you might hurt your web presence sooner than later. Drupal 7 And 8 Offerings You Cannot Disregard It’s time to make a planned move to a more recent Drupal version now. Some of the features that make Drupal 8 move worthwhile include: Better Content Management Experience The content management experience is even more flexible and efficient with in place editing and advanced image handling.
Zyxware default image2
| 2 min read
To process very large data is very much time-consuming, it may lead to PHP timeout error. To process very large data, Drupal offers a batch API. The Batch API allows you to run one or more operations on a large set of data without timeout and feedback on the progress of the operation. Advantage of Batch API: Avoid PHP timeout. Display the progress of the process. Avoid out of memory situations. Let's look a simple example in Drupal 6 that use batch API:
Zyxware default image1
| 2 min read
We were asked to provide an estimate for a Joomla client who wanted to know the feasibility of converting their Joomla site to Drupal. Before we provide an estimate it is our practice to review the existing setup of the client. The version of the CMS is what we check first when we do the review. Read on to know how to know the version of Joomla sit without admin access.
Zyxware default image3
| 3 min read
Advanced REST Client API is used to test interaction between various levels of software components. Testing is done using the API endpoints validation is performed based on the return value. Response can be Success true or Success false which can be tested by common testing techniques.
Zyxware default image1
| 9 min read
Drupal 8's routing system works with the Symfony HTTP Kernel. To do basic route operations, you don't need to learn very much about the Symfony HTTP Kernel. Routing system in Drupal 8 is introduced by replacing the routing parts of hook_menu() in Drupal 7, and its parts, used for creating tabs, menu entries, contextual links, access arguments and actions are taken over by other sub-systems of YAML files (.yml) that provide metadata about each item and its corresponding PHP classes that serves the underlying logic.
Zyxware default image2
| 9 min read
This article covers, how to send email programmatically in your Drupal 8 site. There are two main steps to send an email using Drupal 8. First we need to implement hook_mail() to define email templates and the second step is to use the mail manager to send emails using these templates. Let's see an example for sending an email from the custom module, also the following name spaces.
Zyxware default image2
| 3 min read
DrupalCon Dublin is right around the corner, and the preparations are going full steam ahead. DrupalCon is like a Carnival that has come to town for the Drupal developers especially those in Europe. The excitement is rocketing sky high with a thousand and one things to get done before the 26th of September. The conference is to be held at The Convention Centre Dublin, Ireland from 26th September to the 30th September.