In one of my Drupal 8 work I needed to configure SMTP using swiftmailer Module. The module extends the basic mail sending functionality which is provided by Drupal by delegating all mail handling to Swift Mailer library. This library provides features, such as :
Drupal Technical
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.
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.
In Drupal 8, variable_set() and variable_get() is deprecated. The variables database table in Drupal 7 is now removed in Drupal 8, and is replaced with config table. We can create a variable while installing the module using MODULE.setting.yml and MODULE.schema.yml files.
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. A recent study conducted by TheDropTimes find that 80% of Top 100 Universities use Drupal. 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.
Security Audits play a crucial role in an organization’s ongoing effort to address security concerns. After identifying any potential security issues, remedial steps need to adopt; in fact, a Security audit is one of the first steps that need to be taken. No organization in its right mind would want to leave its websites vulnerable to hacking, and conducting a security audit is the best way to tackle security issues.
E-commerce businesses depend on electronic transactions to receive payment from customers for products and services. The massive volume of electronic transactions has lead to a rise in fraudulent activities. As per the data released by Global Fraud Attack Index TM, the number of attacks by fraudsters increased by 163 percent in 2015, rapidly growing two and a half times in a three-quartered period. Credit card fraud impacts all those involved in it: the consumer whose credit card information is stolen, the merchant from whom the product is purchased, the bank that enables the transaction and the issuer who is obliged to protect its cardholders. In this dynamic e-commerce landscape, as merchants constantly sell their products through multiple channels and provide different payment methods to cater to local customer needs, keeping abreast of fraud risks is a challenging task. Riskified provides a flexible fraud prevention solution for enterprises.
Most of the operations that are done when developing sites in Drupal deals with enabling and configuring modules that are to be saved for future use. This is most certain times a time consuming process. But what if we could automate these tasks by developing a deployment module. Let's find out how we could achieve this goal.
Fivestar module is a simple module that adds a "rating star" widget to the nodes. This module displays number of stars that you set; a click from a reader rates the page with that number. We can create custom widgets for changing the color of stars or for showing any other images instead of stars. For example, we can use symbols like a diamond, banana, flower etc.
As part of form creation process in one of our recent project we came across one module called 'Client side Validation'. As the name implies the module supports basic as well as most advanced sort of validation methods. Validating the form user inputs is the one task we could not ignore on developing forms for a web project. Let's find out how the 'Client side Validation' will make life easy.
One such feature used widely throughout the site is the use of popups for alerting users. Popups are nothing new to web development. In fact Drupal provides multiple tools to create popups including the more widely used Colorbox plugin. For this project we chose to go with Ctools modal popup as it provided more options than Colorbox. Read on to know how to implement popups using Ctools.
Follow the steps below to implement the pop-ups
We have already created a Drupal wiki page on this on going project. You can find it over here and detailed explanation over here
Planning to create a Drupal website? Explore essential factors and considerations you should keep in mind before embarking on your Drupal web design journey. Ensure a successful project with our expert insights
A Payment gateway tends to offer multiple types of payment services, that provides onsite and offsite options. Onsite payment is processed by a third party API using web services with the information gathered from our site through a checkout form (For example : Credit card/Debit card credentials). Offsite payment method, on the other hand, processes data entered in the payment gateway page. It redirects the users to the processing page of the payment gateway using the checkout form. After the payment is completed, the user will be redirected to the payment page, from where the user can move forward or backward in the checkout process. Here, let's take a look at the creation of custom offsite payment gateway module.
To add a newsletter signup form to your website, you just need to follow these simple steps. Follow these steps in the order they are provided and you could easily embed newsletter sign up form to
where you want on your website.
Drupal community is eager to experience working with Drupal 8. Let us learn how we can install Drupal 8.
Everyone may have faced software dependency issues while installing Drupal 8. Refer this article to resolve those issues.
While installing Drupal 8 you will be guided through several screens to configure the database, add the site administration user account, and to configure basic web site settings like location, time zone, etc.
You all know that, unlike a normal website, an e-commerce website sells its products or services online. Customers visit these websites not only to gather information but to also make a purchase, and this calls for an extremely user-friendly experience.
Have you ever found it difficult to access a private file within drupal, then read on. Below are the steps I followed to create and access the private file.
We would have came across many Drupal sites run down into performance issues and we always start blaming the Drupal framework or MySQL queries, PHP versions. You need to debug into the actual cause for the issues rather than pointing on some non-even solutions.
In one of my recent project I had a task to create a content type with a select list field of all image styles. But how can we get all image styles in Drupal? In Drupal there is an option to create different image styles using a module 'image'. Image module allows users to upload images into Drupal with proper permissions along with this its thumbnails and additional sizes are created automatically. Image module also gives an image_styles() function that can be used to get all image styles and their settings.