Does have to write test cases MUST for all custom modules ?

I am making small small modules mainly to over ride or alter the functionalities like i am using Webform on submission of webform i need to trigger an email to some one so i create a small custom module with two files only.

1. mymodule.info.yml

2. mymodule.module

in mymodule.module i just write one function alter hook and my php code there.

Beginner asks how to publish current webpage to drupal site

Hi,

I'm new with Drupal.

I have a webpage that has to be published to a Drupal 8 site.

This webpage consist of an index.html file with some subdirectories with javascript and css files.

These files are maintained outsite Drupal, I deliver it to the webmaster/contentmanager of the Drupal environment

How can this webpage be published on the website that is based on Drupal 8?

The website based on Drupa 8 is a operational enviroment.

Thank you very much for your help

Jan

Churchill China - A visually rich experience for B2B ecommerce

Churchill are a premium supplier of high-quality tableware for the hospitality industry. With a long-established history, trading and developing since 1795, Churchill now supplies the hospitality industry in over 70 countries worldwide. They combine historical origins with ever-evolving technological advancements, ensuring the company’s authority and longevity.

Sectors: 
E-Commerce

Redesign of a popular Education school website

Education

The website served as the front-facing marketing portal. The three main objectives of the Portal redesign included :

  1. A modern and contemporary design
  2. Making content findable 
  3. Ensure content updates could be performed by the marketing teams with minimum dependency on IT

The website has a large volume of information and making content findable was the most important aspect of the redesign. Key aspects implemented to improve the findability of content include:

Sectors: 
Education

Error while using Mpdf and pdf download

Hi,

I am trying to download content in pdf.

I have done composer require mpdf/mpdf

Then in my code I have used the following:

use \Mpdf\Mpdf;

$mpdf = new Mpdf();

$filename = 'file.pdf';

$mpdf->Output($filename, 'D');

But I am getting error Class 'Mpdf\Mpdf' not found in Drupal. Following some forums I have tried using 

$mpdf = new mPDF()

Embed Vue.js app in Drupal loading as a library.

I wanted to create a small app in Vue.js and display it in my Drupal site. The motivation to embed an app in the twig template is possibility to better integrate with other elements of the site (e.g. navigation bar, footer, etc.) making navigation through the app-embedded page seamless to the user.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x