Slick view
Slick view is a module which provides new display style to views called Slick Carousel. For this, ‘Views UI’ module is not required. If we need to customize slick slider then we can use Views UI.
Installation
Slick views: Composer requires drupal/slick_views
This will install
Articles
lick carousel has many features. Responsiveness is the main feature, that is the ability to scale according to its container. It provides advanced settings for breakpoints. The slick slider can be scrolled using the auto scroll, mouse wheel scroll, swipe, desktop mouse dragging etc. It provides settings for customizing arrow keys and its navigation also provides settings for dots under the slider for slide selecting. Slick has different skins like Full width, Full-screen Split, Grid and multiple-row carousel.
Increasingly, we hear the term 'Digital Transformation' in the context of the IT Industry and how it is changing the world around us in ways we could not have anticipated just a few years ago. It is real and it has an impact. However, for many, the term is vaguely understood. While many understand the form that Digital Transformation takes - IoT, AI, Analytics and its technology stack - very few understand the content of the term.
To load node details using its id in Drupal 8 uses the following syntax:
$node_details = Node::load($nid);
$node_details->field_FIELD_NAME->value;
We can load multiple nodes in Drupal 8 using load multiple() function. Note that the parameter should be an array of ids.
I had a requirement to add a multi-level responsive drop down menu in a Zyxware theme. Please do refer the below reference links to know more about responsive themes and free Drupal themes. So for that I had to edit page.tpl.php, page--front.tpl.php, style.css, template.php etc.
First I added the following code to template.php of my theme. The steps that I followed here are,
Introduction
A client approached us to add a feature to a site they were building. The site was to be an auctioning platform for football players. Among other enhancements, we worked on a registration confirmation feature. Many of the features in the site like registration, negotiation and other communications are based on an emailing system.
In Drupal 8, the usage of database operations such as select, update and delete are slightly changed from Drupal 7. The db_query() is deprecated in Drupal 8. To fetch a field we can use :
$query = \Drupal::database()->query('SELECT myfield from my_table where
field1 = :value1 AND field2 = :value2', array(
':value1' => $condition1,
':value2' => $condition2,
)
);
$data = $query->fetchField();
Now we can checkout the select, update, and delete operations in Drupal 8. For a field selection use,
We can send emails through HubSpot CRM using SMTP API. For sending email SMTP, first, we need to create the SMTP tokens.
Generate SMTP API Tokens
An API token provides both a username and password which can then be used to send email through the HubSpot SMTP API. We can create an SMTP token using the API link below.
https://api.hubapi.com/email/public/v1/smtpapi/tokens?hapikey=demo
Example: Use the following code for generating json code,
Most of the projects that we work on involve either development or testing on MAC. It is, therefore, essential to know the keyboard shortcuts for MAC. Often the novices find it extremely difficult to garner the required information (in the case of PC Keyboard for MAC), so to make things easy the commonly used MAC commands are compiled and listed in this section.
Before moving on to the shortcuts, the user should be familiar with the keyboard equivalents. The PC equivalent of the MAC keys are as follows :
Next time you’re in a crowded location, count out ten people. Eight of them will have used a mobile device for online shopping, and at least three will do all their online shopping solely on that mobile device1. If you’re an e-commerce store owner, the eight are great news. However, those three might be giving you some anxiety because you’re not sure the best way to reach them.
Running multiple iOS Simulator instances is very helpful for testing purposes. This is helpful in testing same application on different devices simultaneously or with different user credentials simultaneously.
The default behaviour does not allow to run more than one simulator instance from XCode. But it is possible to do it from the command line.
For this change the directory into Developer/Applications in XCode.app package and run simulator with the "open" command.
For upgrading any of your contributed Drupal 7 modules, you just need to follow the few steps shown below. First of all you have to make sure that Drush is installed. If not installed, follow the steps from here.
To implement push notification for a project, we first created a new custom plugin to push messages into a custom table. When the cron runs, the messages stored in the queue table will be processed and saved to the custom table. For this, create a new directory "push" in message_notify/plugins/notifier/ and use it just like email or sms. The directory may contain 2 files:
push.inc
MessageNotifierPush.class.php
In push.inc, create a plugin with class and view modes
For one of my project, I have implemented the Redis module in Drupal 8. I have used the following configurations as follows:
In Drupal, usually the date field value is saved in the database in UTC timezone format. One of our requirements for a project was to show the date in the site's timezone format. So we generated a general function to convert date in UTC timezone to any required timezone and format it.
Just use the below function to convert date in UTC timzone to a given timezone and the format date using a valid timestamp,
We are 11-year-old digital solutions consulting and implementation service provider with a global clientele. Our brand has been present in North America for over a decade. With Drupal as the centerpiece of our digital solutions, we have been a technology partner for many businesses in North America. We are a recognized company in the global Drupal community with us being one of the top contributors to Drupal in the world. We also have one of the largest Drupal teams in India.
As part of a project requirement, we needed to notify users whenever an entity got created, updated, rated, or reviewed. Drupal's 'message' module fulfills this requirement.
We can log and display messages and can even customize the notifier plugins. For creating a notification, we need to install the following modules:
message
message_notify
message_subscribe
The dependent modules are:
Introduction
An international multilateral development financing institution needed a digital platform to share its dynamic contents. Being a global entity they needed to distribute content in multiple languages.
Challenge
The financial institution needed an editorial content workflow customized to each department. The system needed department based content type permissions.
For Instance:
As the GDPR comes into effect, businesses are scrambling to take measures to become compliant with the regulation. If you are maintaining a Drupal website and would like to know how easily you can make your website a GDPR compliant one, read on.
This article focuses on the contributed modules available in Drupal.org, which are aimed at helping website owners become compliant with the new rule.
EU Cookie Compliance
Module: EU Cookie Compliance
Discover how a digital strategy powered by GovCMS can revolutionize e-governance. Explore the benefits, features, and success stories of leveraging GovCMS for efficient and secure digital governance solutions