Drupal

[Drupal] How can we programmatically create user roles in Drupal 8?

November 03, 2016 - 16:51

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.

[Drupal] Batch API in Drupal

October 06, 2016 - 18:53

To process a very large data is very much time-consuming, it may lead to PHP timeout error. To process a very large data, Drupal offer a batch API. The Batch API allows you to run one or more operations on to a large set of data without timeout and feedback on the progress of the operation.

List of United Nations and World Bank websites running on Drupal

September 17, 2016 - 02:42

Here is a list of United Nations and World Bank organizations websites built with Drupal. It is interesting to note that 17 out of the 114 different domains of UN and World Bank organizations use Drupal. That is way more than the penetration of Drupal across all websites. Drupal is known to have an edge over other competitors when it comes to the non profit sector.

The Power of Drupal in Educational Website Content Management

September 06, 2016 - 16:05

Think about big names in the education sector and the technology happens to be Drupal. Harvard, Duke, Brown and Rutgers University, all rely on the scalable, flexible, accessible Drupal platform to handle their content. Drupal core records ever climbing usage statistics, showing a marked increase in popularity with every new version available in the market.

[SOLVED] How to include third party libraries in Drupal 8 for custom modules?

September 05, 2016 - 11:44

In Drupal 8, third party libraries are downloaded and managed via composer. In Drupal each project must contain only one vendor folder. Composer Manager allows single vendor/directory shared across all modules which prevents code duplication and version mismatches by merging the requirements of all the found modules into the consolidated composer.json file.

[Drupal 8] How to send a mail programmatically in Drupal 8

August 24, 2016 - 18:03

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.

Why you need to go to DrupalCon Dublin?

August 23, 2016 - 12:17

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.

[Drupal-8] How to send a mail programmatically in Drupal 8

August 17, 2016 - 18:37

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.

[Solved] Drupal 7 Feeds Excel module Upgrade from 7.x-1.0-beta1 to version 7.0-2.x

In Drupal 7 we can upgrade a module in many ways but we fail on upgrade feeds excel module. The reason being the newer version of the module is entirely different from the old version folder structure and file naming. We can overcome this situation by uninstalling the older version and installing the new version. Sometimes we cannot uninstall the module due to the module dependency and data lock. We can achieve this manually using the following steps.

Education Marketing Strategy using Drupal Website

August 04, 2016 - 12:45

Drupal, an Open Source content management system has been gaining popularity over the last decade and is currently in use by reputed names such as The White House, UN, NBC, Ikea, Oxford University, Nike. Interestingly MIT, Stanford, and all Ivy league colleges use Drupal. Close to three-quarters of the top US universities use Drupal. So do many of the best university websites the world over.

All Ivy League Colleges use Drupal for their websites

July 19, 2016 - 18:14

Drupal has established itself as a solid platform for Educational websites. The fact that all Ivy League colleges have Drupal websites is proof enough of Drupal’s popularity as a great Content Management Framework to build educational websites. Brown University, Columbia University, Cornell University, Dartmouth College, Harvard University, University of Pennsylvania, Princeton University and Yale University are the eight old and distinguished colleges in the north east of US are the highly sought after Ivy League colleges.

Drupal 8: An agile and strategic digital marketing platform

Digital trends are evolving and transforming quite rapidly. Digital marketers can monitor what is being viewed, for how long and how often. Being able to analyze what content works, what doesn’t and see the sale conversions should help in making a strategic marketing plan that is agile. Drupal known for its flexibility and scalability, is a great tool for building an amazing digital marketing platform.

Pages