Drupal News
rachel_norfolk: Is a project meeting “activity” or “documentation”?
It has been interesting talking with colleagues about how we best record things like meetings in the project I’m now involved in, GovStack.
To encourage contribution, volunteer contributors, especially but not exclusively, need to feel that the decision making in the project is clear and open - there should never be a difficulty in finding how decisions were made.
Rachel Thu, 06/09/2022 - 16:16 Tagsrachel_norfolk: Is a project meeting “activity” or “documentation”?
It has been interesting talking with colleagues about how we best record things like meetings in the project I’m now involved in, GovStack.
To encourage contribution, volunteer contributors, especially but not exclusively, need to feel that the decision making in the project is clear and open - there should never be a difficulty in finding how decisions were made.
Rachel Thu, 06/09/2022 - 16:16 TagsPeoples BLOG: Configuration management via Quicksilver on Pantheon
Peoples BLOG: Configuration management via Quicksilver on Pantheon
Peoples BLOG: Configuration management via Quicksilver on Pantheon
Mike Herchel's Blog: Thoughts and Experiences at DrupalCon Portland
Web Wash: How to Manage Comments in Drupal
Drupal ships with flexible commenting functionality out of the box. Although there is a bit of a learning curve (as with many things in Drupal), once you understand the core concepts and how to manipulate the different features, you will be exposed to the power of managing comments within Drupal.
This tutorial will teach you how to manage comments in Drupal. We’ll cover the following:
- Add comments within Drupal
- Allow anonymous users to comment in Drupal
- Moderate comments in Drupal
- Create your custom comment type in Drupal
Web Wash: How to Manage Comments in Drupal
Drupal ships with flexible commenting functionality out of the box. Although there is a bit of a learning curve (as with many things in Drupal), once you understand the core concepts and how to manipulate the different features, you will be exposed to the power of managing comments within Drupal.
This tutorial will teach you how to manage comments in Drupal. We’ll cover the following:
- Add comments within Drupal
- Allow anonymous users to comment in Drupal
- Moderate comments in Drupal
- Create your custom comment type in Drupal
Bellamy
Specbee: Creating custom design systems with Tailwind CSS and implementing it in Drupal
Do you find it frustrating to style your websites sometimes because of constraining design decisions that are hard to undo? Do you want a CSS framework where you can build bespoke designs easily with less-to-no coding? Let us introduce you to Tailwind CSS - a utility-first CSS framework that can revolutionize the way you style your website and applications with a unique approach. Read to find out more about Tailwind CSS and also learn how to implement it in your next Drupal project.
What is Tailwind CSSTailwind CSS is a CSS framework used for styling websites and applications. A framework that offers an easy styling process similar to bootstrap but with many useful features. It is a utility class based framework in that it has tons of pre-existing classes that work according to values, prefixes, and abbreviations that are self-explaining. Which means that with Tailwind, you can create custom components without writing any custom classes or code.
Why use TailwindAs we previously mentioned, Tailwind CSS eases the frontend work because of its extensive built-in classes that you can simply call into any HTML element. So, this means you don’t have to leave your HTML file to customize any HTML code. It provides a default theme with preset values for color palette, fonts, breakpoints, spacing and much more. This theme is also highly customizable.
- Powerful - Makes the styling process faster because of it’s ready-to-use classes that can be further extended
- No-more Naming - You don’t have to rack your brain to come up with the most apt class name
- Reusability - Save your CSS file from bulking up by using and re-using classes
- Global Warning - Worry less about breaking the design because you don’t need to make global changes in the CSS file
- Responsive - Lets you build complex responsive interfaces with its broad set of utilities and breakpoint prefixes
- Improved Site Performance - Cleans out all the unnecessary code from your bulky CSS file. Usually ships less than 10kb of CSS.
- Easy Maintenance - maintaining HTML is much easier than maintaining a large CSS codebase
There are many ways you can install Tailwind CSS. We’re going to discuss installing with the help of package managers, CDN and Drupal’s contributed modules.
Method 1: Using Package Managers1. First, install a package manager like npm or yarn to install Tailwind.
2. Execute the following commands in order:
npm install -D tailwindcss npx tailwindcss init3. Configure the Tailwind config file
4. Import the following directives in the CSS file:
@tailwind base;
@tailwind components;
@tailwind utilities;
5. Generate the CSS output by using command
npx tailwindcss -i ./src/.css -o ./.css --watch6. Link output CSS file to HTML
Method 2: Installing it in Drupal using contributed modulesYou can implement Tailwind CSS within Drupal using the following contributed modules:
- Tailwind CSS Starter Kit
- Tailwind CSS Utility
Tailwind CSS starter kit module is a starter kit or demo theme that you can use in Drupal. Simply install it using Composer or manually using Drush and enable it as your default theme. You are now ready to use all the Tailwind classes!
The Tailwind CSS Utility module adds tools for the Tailwind CSS framework. It lets you add styles to pages, sections, blocks and also integrates with Layout Builder.
Method 3: Using Tailwind CDNTo install Tailwind CSS using a CDN, add the following script to the section of your HTML:
Example:
DocumentHowever, I do not recommend installing it using the CDN method as it lacks some functionality. For example, you cannot customize Tailwind’s default theme or install 3rd party plugins.
How to use it?Now that you know how to install Tailwind CSS and add it in your project, using it is a breeze.
Simply head over to your HTML or Twig file. Add the CSS classes provided by Tailwind to any HTML element.
Now check output on the browser.
Final thoughtsTailwind CSS is a highly customizable and lightweight framework that offers a lot of flexibility and control over HTML elements. It improves the speed and efficiency of development and results in an optimized application. However, because of its highly customizable and non-semantic utility classes, Tailwind could take longer to get familiar with. If you found this article helpful, consider subscribing to our weekly newsletter and get expert insights delivered to your inbox.
Author: Pratik
Meet Pratik, a Drupal developer by profession. He enjoys reading and is always eager to learn new languages. Someday, he would love to visit Italy, his dream travel destination. He enjoys diverse cuisines and has a passion for food.
Drupal Drupal Development Drupal Module Drupal 9 Drupal Planet Subscribe to our Newsletter Now Subscribe Leave this field blankLeave us a Comment
Recent Blogs Image Creating custom design systems with Tailwind CSS and implementing it in Drupal Image Build marketing landing pages quickly and easily with Drupal 9 Image What to expect in Drupal 10 Want to extract the maximum out of Drupal? TALK TO US Featured Success StoriesUpgrading and consolidating multiple web properties to offer a coherent digital experience for Physicians Insurance
Upgrading the web presence of IEEE Information Theory Society, the most trusted voice for advanced technology
Great Southern Homes, one of the fastest growing home builders in the United States, sees greater results with Drupal 9
View all Case StudiesSpecbee: Creating custom design systems with Tailwind CSS and implementing it in Drupal
Do you find it frustrating to style your websites sometimes because of constraining design decisions that are hard to undo? Do you want a CSS framework where you can build bespoke designs easily with less-to-no coding? Let us introduce you to Tailwind CSS - a utility-first CSS framework that can revolutionize the way you style your website and applications with a unique approach. Read to find out more about Tailwind CSS and also learn how to implement it in your next Drupal project.
What is Tailwind CSSTailwind CSS is a CSS framework used for styling websites and applications. A framework that offers an easy styling process similar to bootstrap but with many useful features. It is a utility class based framework in that it has tons of pre-existing classes that work according to values, prefixes, and abbreviations that are self-explaining. Which means that with Tailwind, you can create custom components without writing any custom classes or code.
Why use TailwindAs we previously mentioned, Tailwind CSS eases the frontend work because of its extensive built-in classes that you can simply call into any HTML element. So, this means you don’t have to leave your HTML file to customize any HTML code. It provides a default theme with preset values for color palette, fonts, breakpoints, spacing and much more. This theme is also highly customizable.
- Powerful - Makes the styling process faster because of it’s ready-to-use classes that can be further extended
- No-more Naming - You don’t have to rack your brain to come up with the most apt class name
- Reusability - Save your CSS file from bulking up by using and re-using classes
- Global Warning - Worry less about breaking the design because you don’t need to make global changes in the CSS file
- Responsive - Lets you build complex responsive interfaces with its broad set of utilities and breakpoint prefixes
- Improved Site Performance - Cleans out all the unnecessary code from your bulky CSS file. Usually ships less than 10kb of CSS.
- Easy Maintenance - maintaining HTML is much easier than maintaining a large CSS codebase
There are many ways you can install Tailwind CSS. We’re going to discuss installing with the help of package managers, CDN and Drupal’s contributed modules.
Method 1: Using Package Managers1. First, install a package manager like npm or yarn to install Tailwind.
2. Execute the following commands in order:
npm install -D tailwindcss npx tailwindcss init3. Configure the Tailwind config file
4. Import the following directives in the CSS file:
@tailwind base;
@tailwind components;
@tailwind utilities;
5. Generate the CSS output by using command
npx tailwindcss -i ./src/.css -o ./.css --watch6. Link output CSS file to HTML
Method 2: Installing it in Drupal using contributed modulesYou can implement Tailwind CSS within Drupal using the following contributed modules:
- Tailwind CSS Starter Kit
- Tailwind CSS Utility
Tailwind CSS starter kit module is a starter kit or demo theme that you can use in Drupal. Simply install it using Composer or manually using Drush and enable it as your default theme. You are now ready to use all the Tailwind classes!
The Tailwind CSS Utility module adds tools for the Tailwind CSS framework. It lets you add styles to pages, sections, blocks and also integrates with Layout Builder.
Method 3: Using Tailwind CDNTo install Tailwind CSS using a CDN, add the following script to the section of your HTML:
Example:
DocumentHowever, I do not recommend installing it using the CDN method as it lacks some functionality. For example, you cannot customize Tailwind’s default theme or install 3rd party plugins.
How to use it?Now that you know how to install Tailwind CSS and add it in your project, using it is a breeze.
Simply head over to your HTML or Twig file. Add the CSS classes provided by Tailwind to any HTML element.
Now check output on the browser.
Final thoughtsTailwind CSS is a highly customizable and lightweight framework that offers a lot of flexibility and control over HTML elements. It improves the speed and efficiency of development and results in an optimized application. However, because of its highly customizable and non-semantic utility classes, Tailwind could take longer to get familiar with. If you found this article helpful, consider subscribing to our weekly newsletter and get expert insights delivered to your inbox.
Author: Pratik
Meet Pratik, a Drupal developer by profession. He enjoys reading and is always eager to learn new languages. Someday, he would love to visit Italy, his dream travel destination. He enjoys diverse cuisines and has a passion for food.
Drupal Drupal Development Drupal Module Drupal 9 Drupal Planet Subscribe to our Newsletter Now Subscribe Leave this field blankLeave us a Comment
Recent Blogs Image Creating custom design systems with Tailwind CSS and implementing it in Drupal Image Build marketing landing pages quickly and easily with Drupal 9 Image What to expect in Drupal 10 Want to extract the maximum out of Drupal? TALK TO US Featured Success StoriesUpgrading and consolidating multiple web properties to offer a coherent digital experience for Physicians Insurance
Upgrading the web presence of IEEE Information Theory Society, the most trusted voice for advanced technology
Great Southern Homes, one of the fastest growing home builders in the United States, sees greater results with Drupal 9
View all Case StudiesCocomore: Drupalcamp Zaragoza 2022: the deeply missed event is back!
Drupalcamp Zaragoza 2022: the deeply missed event is back!
sandra.bloem Tue, 06/07/2022 - 11:49 Expanding virtual companies internationallyCocomore: Drupalcamp Zaragoza 2022: the deeply missed event is back!
Drupalcamp Zaragoza 2022: the deeply missed event is back!
sandra.bloem Tue, 06/07/2022 - 11:49 Expanding virtual companies internationallyCocomore: Drupalcamp Zaragoza 2022: the deeply missed event is back!
Drupalcamp Zaragoza 2022: the deeply missed event is back!
sandra.bloem Tue, 06/07/2022 - 11:49 Expanding virtual companies internationallyAgiledrop.com Blog: Consistency in multichannel digital experiences – Part 3: Implementation considerations
Agiledrop.com Blog: Consistency in multichannel digital experiences – Part 3: Implementation considerations
Talking Drupal: Talking Drupal #350 - Accessibility Scanning & Testing
Today we are talking about Accessibility Scanning & Testing with Mike Gifford & Daniel Mundra.
Topics- Accessibility Scanning and Testing
- Goals
- Popular tools
- Drupal tools
- Storybook
- VPAT
- OpenACR
- How it replaces VPAT
- OpenACR and Drupal
- Tackling Accessibility
- Tools to use
- Automation
- CI/CD
- Issues that will not be caught
- OpenACR
- Accessibility Scanner
- Editoria11y
- Pa11y + Axe
- Cypress-axe
- Open source & accessibility (including list of open source tools)
- Site improve
- Purple hats
- WCAG-EM
- Fable tech labs
- Least accessible site
- Spoke truing tool
- GAAD Pledge
Mike Gifford - mgifford.medium.com @mgifford Daniel Mundra - danielmundra.com
HostsNic Laflin - www.nLighteneddevelopment.com @nicxvan John Picozzi - www.epam.com @johnpicozzi Mike Herchel - herchel.com - @mikeherchel
MOTWEditoria11y Editoria11y (“editorial accessibility”) is a user-friendly checker that addresses three critical needs for content authors
- It runs automatically. Modern spellcheck works so well because it is always running; put spellcheck behind a button and few users remember to run it!
- It runs in context. Views, Layout Builder, Media and all the other modules Drupal uses to assemble a complex page means checkers that run on individual fields cannot “see” errors that appear on render.
- It focuses exclusively on content issues: things page editors can easily understand and easily fix. Editoria11y is meant to supplement, not replace, testing with comprehensive tools and real assistive devices.
Talking Drupal: Talking Drupal #350 - Accessibility Scanning & Testing
Today we are talking about Accessibility Scanning & Testing with Mike Gifford & Daniel Mundra.
Topics- Accessibility Scanning and Testing
- Goals
- Popular tools
- Drupal tools
- Storybook
- VPAT
- OpenACR
- How it replaces VPAT
- OpenACR and Drupal
- Tackling Accessibility
- Tools to use
- Automation
- CI/CD
- Issues that will not be caught
- OpenACR
- Accessibility Scanner
- Editoria11y
- Pa11y + Axe
- Cypress-axe
- Open source & accessibility (including list of open source tools)
- Site improve
- Purple hats
- WCAG-EM
- Fable tech labs
- Least accessible site
- Spoke truing tool
- GAAD Pledge
Mike Gifford - mgifford.medium.com @mgifford Daniel Mundra - danielmundra.com
HostsNic Laflin - www.nLighteneddevelopment.com @nicxvan John Picozzi - www.epam.com @johnpicozzi Mike Herchel - herchel.com - @mikeherchel
MOTWEditoria11y Editoria11y (“editorial accessibility”) is a user-friendly checker that addresses three critical needs for content authors
- It runs automatically. Modern spellcheck works so well because it is always running; put spellcheck behind a button and few users remember to run it!
- It runs in context. Views, Layout Builder, Media and all the other modules Drupal uses to assemble a complex page means checkers that run on individual fields cannot “see” errors that appear on render.
- It focuses exclusively on content issues: things page editors can easily understand and easily fix. Editoria11y is meant to supplement, not replace, testing with comprehensive tools and real assistive devices.
Drupal Association blog: Strategic Initiatives Now Have Logos!
Strategic initiatives have been an integral part of Drupal’s growth as an open source project. Their goal is to solve impactful problems and foster continuous innovation through collaboration. While the community is busy working towards executing 7 of the current strategic initiatives, did you know they also have their own unique logos now? For those of you who missed taking a peek into the logos at DrupalCon Portland 2022, read on to find out!
Why logos for the initiativesOne of our goals as members of the marketing team for the Promote Drupal initiative was to build excitement among the community about the initiatives. More excitement means more involvement and contributions that can help push the strategic initiatives to the finish line faster.
But in a community as large as ours, not everyone is aware of the impact created by the strategic initiatives.
Logos are memorable and create a long lasting impression. We wanted everyone in the community and beyond to connect with each of the initiatives. Having a logo will give them a visual identity that triggers a positive recall of what the initiative represents and how it makes them feel. Undoubtedly, the logos also serve as a great marketing asset for:
- Prints
- Presentations
- Cons and events
- Website
- Shirts
- Stickers
- ..and more
Every logo needed to tell a story behind the initiative. And who better than the initiative leads themselves to be the narrators? We reached out to the leads of each initiative to get their opinion on the logo design. A questionnaire survey was sent out in which we asked about their opinions regarding the initiative, what it meant to them, what they hoped it would accomplish, etc.
Based on the responses received, we drafted a design brief that included the goals and logo ideas of each initiative. We then collaborated with community member and product designer - Vinicius Custodio, who immediately commenced working on turning the ideas into reality (DrupalThanks, Vinny!). Take a look at the results.
Automatic Updates InitiativeThe automatic updates Drupal logo signifies a constant and automatically updating project. It needed to express that automatic updates will make life easier for Drupal site owners.
Drupal 10 Readiness InitiativeThe logo ensures Drupal's longevity with updated components and a slimmed down core system. It represents the future of the web with a feeling of modern, fresh and cleaned up.
Decoupled Menus InitiativeThe logo communicates the decoupled nature of the work and also ideally sets a pattern for logos for future decoupled initiatives. It also elegantly represents Drupal and the menu icon.
Easy Out Of The Box InitiativeThe logo emphasizes the “easy” part of Easy out of the box initiative. The brand new drop emerging out of the box represents ease, modernity and empowerment from the moment Drupal is installed.
GitLab Acceleration InitiativeThe team was clearly looking for a mashup between the Drupal drop and the GitLab logo and this logo is a perfect blend of them both.
Olivero - New Frontend Theme InitiativeOlivero is a minimal but practical theme for Drupal. The idea behind the logo was to highlight its simplicity with clean shapes and clear typography. It needed to look modern, friendly and represent accessibility.
Project Browser InitiativeProject browser works like an app store for Drupal. The idea behind the logo was to skin the Drupal drop logo as a download button.
What are your thoughts on the logos? Let us know in the comments below. If you’d like to join the Promote Drupal team to help us create a variety of marketing assets for Drupal like these, learn more about getting involved.
And here’s a huge #DrupalThanks to all the initiative leads who collaborated with the marketing team to help build better material.
Drupal Association blog: Strategic Initiatives Now Have Logos!
Strategic initiatives have been an integral part of Drupal’s growth as an open source project. Their goal is to solve impactful problems and foster continuous innovation through collaboration. While the community is busy working towards executing 7 of the current strategic initiatives, did you know they also have their own unique logos now? For those of you who missed taking a peek into the logos at DrupalCon Portland 2022, read on to find out!
Why logos for the initiativesOne of our goals as members of the marketing team for the Promote Drupal initiative was to build excitement among the community about the initiatives. More excitement means more involvement and contributions that can help push the strategic initiatives to the finish line faster.
But in a community as large as ours, not everyone is aware of the impact created by the strategic initiatives.
Logos are memorable and create a long lasting impression. We wanted everyone in the community and beyond to connect with each of the initiatives. Having a logo will give them a visual identity that triggers a positive recall of what the initiative represents and how it makes them feel. Undoubtedly, the logos also serve as a great marketing asset for:
- Prints
- Presentations
- Cons and events
- Website
- Shirts
- Stickers
- ..and more
Every logo needed to tell a story behind the initiative. And who better than the initiative leads themselves to be the narrators? We reached out to the leads of each initiative to get their opinion on the logo design. A questionnaire survey was sent out in which we asked about their opinions regarding the initiative, what it meant to them, what they hoped it would accomplish, etc.
Based on the responses received, we drafted a design brief that included the goals and logo ideas of each initiative. We then collaborated with community member and product designer - Vinicius Custodio, who immediately commenced working on turning the ideas into reality (DrupalThanks, Vinny!). Take a look at the results.
Automatic Updates InitiativeThe automatic updates Drupal logo signifies a constant and automatically updating project. It needed to express that automatic updates will make life easier for Drupal site owners.
Drupal 10 Readiness InitiativeThe logo ensures Drupal's longevity with updated components and a slimmed down core system. It represents the future of the web with a feeling of modern, fresh and cleaned up.
Decoupled Menus InitiativeThe logo communicates the decoupled nature of the work and also ideally sets a pattern for logos for future decoupled initiatives. It also elegantly represents Drupal and the menu icon.
Easy Out Of The Box InitiativeThe logo emphasizes the “easy” part of Easy out of the box initiative. The brand new drop emerging out of the box represents ease, modernity and empowerment from the moment Drupal is installed.
GitLab Acceleration InitiativeThe team was clearly looking for a mashup between the Drupal drop and the GitLab logo and this logo is a perfect blend of them both.
Olivero - New Frontend Theme InitiativeOlivero is a minimal but practical theme for Drupal. The idea behind the logo was to highlight its simplicity with clean shapes and clear typography. It needed to look modern, friendly and represent accessibility.
Project Browser InitiativeProject browser works like an app store for Drupal. The idea behind the logo was to skin the Drupal drop logo as a download button.
What are your thoughts on the logos? Let us know in the comments below. If you’d like to join the Promote Drupal team to help us create a variety of marketing assets for Drupal like these, learn more about getting involved.
And here’s a huge #DrupalThanks to all the initiative leads who collaborated with the marketing team to help build better material.