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,
Articles
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
The GovCMS initiative of the Australian Government is to promote a culture of digital service to the Australian citizens making it easy for people to interact with and get information from the government. It helps the government transform its services to be citizen-friendly, transparent and fast.
Have you been trying to index your node to Apache immediately after its been created, updated or deleted! Read On!!
By default Apache Solr uses a queue system to index data to Solr. We can preconfigure the interval in which the indexing should perform. Still, there occurs a delay for the node to get indexed.
The European Union Data Protection Regulation(GDPR) law is going to be effective from May 25th 2018 and if you have clients and services across EU, then you should definitely make your website compliant with the regulations.
It is high time to make your website GDPR compliant, as the regulation is going to be effective from May 25th, 2018. If you would like to revisit our article on what GDPR is and how it can affect a site owner or developer, you can read our previous article here.
What do you have to do to comply with GDPR?
Now that you know what GDPR is and what it is about, here are the steps to follow to be compliant with GDPR.
As we fast approach May 25th 2018, organizations all across the European Union (and organizations that deal with European citizens and their data) are working to ensure that their business processes are compliant with the General Data Protection Regulation (GDPR) that comes into effect on that date.
You would have heard about the European Union Data Protection Regulation(GDPR) law that will take effect on May 25th, 2018. The aim of this regulation is to give EU citizens the right to control what information is being collected from them by various businesses. GDPR will apply to the processing of personal data by controllers and processors in the EU, regardless of whether the processing takes place in the EU or not. GDPR will replace the prior EU directive known as Directive 95/46/EC (the “Directive”), which has been the basis of European data protection law since 1995.
Efficient Inventory management is critical for any eCommerce store. The inventory management system tracks inventory levels, orders, sales, and deliveries. The system makes sure that you have the necessary resources available for the seamless functioning of your eCommerce store. A lag in the operations of the store can cost money, customers and even create a not-so-good impression. A robust inventory management system will help to deliver orders to customers on time, receive necessary resources on time and ultimately improve the efficiency of the eCommerce store.
Most often we may want to show our custom forms in blocks. Here are the simple steps to accomplish this.
In the below code we will create a form called “MymoduleExampleForm” and this form will be placed in a custom block called “MymoduleExampleBlock”.
Step 1 – Create a custom module say 'mymodule'. For details on how to create a custom module in Drupal 8 See here
Step 2 – Create a php file named MymoduleExampleForm.php in mymodule/src/Form and place the following code.