Chapter Three: Drupal & Pretty Paragraphs: Build better content with Layout Paragraphs
What are Layout Paragraphs? According to their project page, Layout Paragraphs provides an intuitive drag-and-drop experience for building flexible layouts with paragraphs. Paragraphs are the preferred method of dealing with complex content structures inside of Drupal, and Layout Paragraphs are for dealing with complex layout structures in those paragraphs.
ComputerMinds.co.uk: Entity Extra Field module: display blocks & views amongst fields
I'm a fan of configuring things for display through Drupal's admin UI. It gives site builders confidence and power. What if you want to place blocks or views listings in amongst fields on pages of content? For example, to display: A listing (view) of related content, such as accessories for a product A standard contact block, advert, or some other calls to action in the middle of the content, exactly where the user is best 'caught' in their journey, rather than having to stick those in sidebars or after all the content fields. Some specific value(s) pulled from fields on some indirectly related entity, through a token, such as details from a taxonomy term representing the 'section' that a page is in. Consistent relevant links on user profiles to take people to common destinations Drupal's usual blocks system allows you to put these in sidebars or above/below the usual node fields, but not between them. You could use a 'heavyweight' system like Layout Builder, Panels, or Display Suite, but those tend to entirely change the way you configure or edit your content. You could get a developer to override twig templates or write custom PHP. But is there a middle ground? Well, of course! You might have noticed some modules already allow their page additions to be moved around amongst the usual fields on content. See these rows without widget or format settings in...
Golems GABB: Upgrading to Composer 2: good reasons and key instructions
Upgrading to Composer 2: good reasons and key instructions Editor Mon, 06/14/2021 - 09:45 One of the goals of our blog posts is to spread the word about the best web development practices. When it comes to the best practices for PHP-based CMSs like Drupal, the famous package manager Composer is always on top of the list. Some time ago, we published an article about the superpowers of Composer in Drupal development but would also like to dedicate a special post to its new release. Read on to see why it’s a great idea and how to upgrade to Composer 2. Why upgrade to Composer 2 Composer has been around for 8 years performing its mission of a great assistant to developers in installing, updating, or removing all kinds of PHP packages. The major new version of this dependency management CLI tool was released in October 2020.
Sergiu Nagailic (Nikro) Blog: Drupal Redirects in Gatsby.JS
If you’re running Drupal + Gatsby.JS website, you’ll inevitably change the URLs of some of these articles (i.e. by changing the title) → and this will change the slug (URL) →and this will cause 404s (i.e. break all Social Media posts, etc). There’s a way to fix it. The Reason This depends on the case, in my case (and many other examples I’ve seen) - the slugs are generated by using Drupal's path aliases. And Drupal’s paths depend (usually) on the node’s title. This has unforeseen consequences, once you change the title, the path is changed too and on the next build, Gatsby will stop recognizing the old paths, resulting in 404s. This happened to me - when I wanted to rename the initial article as “Part 1” (because I’ve written a “Part 2” later), all my social-media posts were broken and Goo...Read the Full Article
Lucius Digital: How to get the 'image field url' from a referenced node in a Drupal Twig node template
OpenSense Labs: The Ins and Outs of Project Ownership Transfer
The Ins and Outs of Project Ownership Transfer Gurpreet Kaur Fri, 06/11/2021 - 16:15 Is it possible for us to finish everything we start? Is it possible for us to achieve every milestone that we set for ourselves and stick to every new year’s resolution we make? In a perfect world it would be, but sadly we do not live in a perfect world. And it’s not necessarily a bad thing to take a step back from a project you know you won’t be able to finish. I started painting my room when the pandemic began as a way to waive off the boredom, and half-way through I realised painting wasn’t for me. It was too exhausting and I wasn’t even good at it and most importantly it made me lose focus from my actual paying job. You can write a lot when you have paint all over your work desk, trust me. So, these unfinished projects have to be taken on by someone else, right? You can’t leave the room half painted, that would be a look the 21st century isn’t ready for. So what happens? Do you hand over the paint and the brush to the person taking over and forget about it? Not exactly. There are a whole bunch of things that you have to relay during the handover and keep a diligent eye on the new person to ensure that he is taking the project into the desired direction. You have to have the room painted as you had initially planned, you can’t expect a subtle lavender theme to turn...
Talking Drupal: Talking Drupal #298 - Solving and Sharing w/ Matthieu Scarset
Today we are chatting with Matthieu Scarset about two modules he created to solve common Drupal problems. www.talkingdrupal.com/298 Topics Stephen - Moonlander Keyboard John - 300th Show call for videos Nic - Seeing friends again Jason - Launching 4 sites tomorrow for RI eCMS Matthieu - Moving back to Spain from France Menu Manipulator Solves language issue in core Hides non translated content Entity Media Usage No DB tables Essentially a view to show media or other entities on content type Can easily be disabled Approach to creating small modules that overlap with larger modules Prolific module creator User Info Block Twitter API Block Flag Rating Drupal version tag Resources https://www.zsa.io/moonlander https://drupal.org/project/menu_manipulator https://drupal.org/project/entity_media_usage https://www.drupal.org/project/drupal/issues/2466553 https://www.drupal.org/project/entity_usage Guests Matthieu Scarset @MatthieuScarset Hosts Stephen Cross - www.stephencross.com @stephencross Nic Laflin - www.nLighteneddevelopment.com @nicxvan John Picozzi - www.oomphinc.com @johnpicozzi Jason Pamental - rwt.io @jpamental
Ben's SEO Blog: How to Configure the Meta tags Module for Drupal SEO
How to Configure the Meta tags Module for Drupal SEO The Metatag module gives you a way to set up your metatags that work for both the search engines and humans viewing search engine results. drupal drupal seo Planet Drupal Read more about How to Configure the Meta tags Module for Drupal SEO
Palantir: Creating a More Equitable and Agile Hiring Process
How we’re evolving the way we screen and interview applicants As a company that believes that the best outcomes are achieved when people are able to create and collaborate in open, diverse, and inclusive environments, we’ve spent the last few years strengthening Palantir’s commitment to being an equitable and just organization. We have evolved our compensation, performance, and reporting structures in an attempt to proactively identify and remove systemic barriers to equality, becoming less hierarchical and more agile. To date, these efforts have included: Establishing an equitable compensation structure with defined salary levels that provide equal pay for equal responsibilities. Instead of reporting to a manager, each person now has a P.O.D. (Professional and Organizational Development) team that provides facilitation and coaching in performance, growth, and development. Creating a career grid that’s supported with a role-based structure that demonstrates what opportunities exist for advancement and articulates the skills and expectations for each level so that individuals and P.O.D.s are orienting learning and growth conversations around a standard for promotions and opportunities. We know, based on our experience with the Drupal open source community, that diverse teams drive innovation and improve quality. As Drupal’s Values and Principles state, “the people...
Oomph Insights: Platform Metrics: Using Measurement to Optimize Performance
If you can’t measure it, you can’t improve it. It’s true for your business, and it’s true for your digital platform. Yet we’ve seen organizations from startups to enterprises neglect to incorporate measurement into their platform strategy. Data shows you what is and isn’t working in your platform. And, unlike most websites, platforms provide detailed information about known users across specific touchpoints — accurate, first-party data that doesn’t rely on cookies or fuzzy analytics. Actionable insights await; you just have to know what you’re measuring for. Here’s how to take a strategic…
Lullabot: Understanding Create Once Publish Everywhere (COPE)
Do you ever stop to think about how many "things" make up the internet? Not necessarily websites and social media networks, but instead the individual pieces of information. Every button. Every callout. Every image. Every teeny-tiny item description in your shopping cart. A long time ago, if you wanted to write about something on the internet, you had to create it and publish it. And if you wanted to write about it again somewhere else, you had to create it again and publish it again.
Axelerant Blog: Developing a custom CSV validator in Drupal 8
In our recent project, we had a requirement from one of our clients where we need to validate data in CSV files based on custom requirements. This validated CSV would need to be imported into Drupal 8 into various content types. In this article, we will look at the requirement, the library, the architecture of the custom module, the different components of the module with some code samples and finally adding some ideas on how this module can be made more reusable and even contributed. Introduction Our client is a well known international NGO with offices worldwide, each with different types of data management systems and frameworks. They wanted a centralized system to manage the data from each of these offices. Having concluded that Drupal 8 was the ideal solution to implement that centralized system, the challenge was to set up a migration pipeline to bring in data from all of the offices and their varying frameworks. Consequently, the files generated by these systems needed to be validated for specific constraints before being imported into our Drupal system.
Axelerant Blog: Axelerant Celebrates Drupal By Giving Back
Open-source has the power to change the world, but, as we depend on it for democratic innovation, open-source also depends on us to thrive. At Axelerant, we know and own this; hence we’re constantly engaging in different open web communities, including Drupal’s. Why are we writing this? First of all, we are always keen to shine a light on our team members because our people-first culture makes Axelerant succeed. Second, in a knowledge sharing spirit, we are willing to put out what has worked for us (and what we struggle with) regarding contributing and our community involvement. We are celebrating Drupal’s 20th Anniversary, and we are proud of being part of that history for over a decade. What better way to celebrate than recognizing and sharing the stories of the people involved, the makers that keep the ball rolling. Celebrating our people and the community has been among our values since the beginning. Drupal’s 20th anniversary is one of those occasions where both of these values come together in demonstrating Axelerant’s commitment to be a productive part of the amazing Drupal community through its team. Here, we want to share a few stories from team members who recently contributed and inspired us with their Drupal journey.
Axelerant Blog: Managing Third-Party Authentications In Mautic Plugins
Learn about standard Authentication-Protocol methods supported in Mautic via the Integration bundle.
Join the first Drupal Project Browser Initiative meeting
When I ask people why they fell in love with Drupal, most often they talk about feeling empowered to build ambitious websites with little or no code. In fact, the journey of many Drupalists started with Drupal's low-code approach to site building. With that in mind, I proposed a new Project Browser initiative in my DrupalCon North America keynote. A Project Browser makes it easy for site builders to find and install modules. You shouldn't need to use the command line! Making module discovery and module installation easier is long overdue. It's time to kick off this initiative! I will host the first meeting on May 24th between 14:30 UTC and 15:15 UTC. We'll share a Zoom-link on the Project Browser Slack channel before the meeting starts. Join our Slack channel and mark your calendars. We'll start the meeting with high-level planning, and we need people with all kinds of skills. For example, we'll need help defining requirements, help designing and prototyping the user experience, and much more.