The Drop Times: TDT Partners with Drupal Camp Asheville 2023

Planet Drupal - Mon, 2023/04/17 - 2:17pm
The Drop Times is excited to announce our new partnership with DrupalCamp Asheville, as an official media partner for their upcoming event.
Categories:

LN Webworks: Drupal Website Personalization: The 6-Step Approach to Success

Planet Drupal - Mon, 2023/04/17 - 12:14pm
Have you ever checked out a website and then bounced because it was just meh? You may say “quite a few.” With everyone fighting for attention online, it's essential to make your customer experience stand out. Personalizing a website is an excellent way to achieve this feat. The best part?  It’s easier than ever to personalize a website using Drupal’s powerful tools and features. Personalization is the secret sauce for a killer user experience, as well as higher conversions, customer loyalty, and more cash in your pocket. To back this claim, The Relevancy Group and Liveclicker released a report where they revealed that marketers who prioritize advanced personalization efforts could expect to see significant returns on their investment, with a potential return of $20 for every dollar spent. In the article, you will learn the 6-steps to personalize your Drupal website effectively. 
Categories:

The Drop Times: 5 YouTube Videos to Start with Drupal

Planet Drupal - Mon, 2023/04/17 - 10:04am
Here are a few videos to assist you, in narrowing down your Drupal search and getting just enough information to help you learn more about Drupal.
Categories:

Opensource.com: Preserving the open web through Drupal

Planet Drupal - Mon, 2023/04/17 - 9:00am
Preserving the open web through Drupal Dries Mon, 04/17/2023 - 03:00

Drupal updates create opportunities for everyone to participate in the open web.

Just because I share content online doesn't mean I want to share control over it. My website is a perfect example of what I mean. I take photos nearly everywhere I go: To date…

Categories:

The Drop Times: 7 Reasons Why Top Universities Use Drupal

Planet Drupal - Mon, 2023/04/17 - 8:56am
Massachusetts Institute of Technology (MIT), University of Oxford, Stanford and every Ivy League School use Drupal. There are several reasons why Drupal is considered the best CMS for higher education websites.
Categories:

The Drop Times: Good Design Can Be Measured: Jill Moraca | DrupalCamp NJ

Planet Drupal - Mon, 2023/04/17 - 8:21am
Learn more about how Princeton University became interested in Drupal in 2010. Jill Moraca also shares her thoughts on the success of DrupalCamp NJ 2023 and hopes for a stronger turnout for the 2024 event.
Categories:

Zyxware Technologies: Celebrating Drupal's New Recognition as a Digital Public Good

Planet Drupal - Mon, 2023/04/17 - 7:44am
Drupal Earns Digital Public Good Status: Recognized by the UN for Helping Achieve Sustainable Development Goals. Drupal's recognition as a Digital Public Good by the DPGA is a significant achievement that invites more governments and non-profit organisations to explore the benefits of using Drupal.
Categories:

Freelock Blog: Deploying blocks and content to other site environments

Planet Drupal - Sun, 2023/04/16 - 11:06pm
Deploying blocks and content to other site environments John Locke Sun, 04/16/2023 - 14:06

If you have a current Drupal site (built in Drupal 8 or later) you no longer need to entirely rebuild your site -- ever again. That doesn't mean it couldn't use a freshening up now and then.

We have several clients revamping their home pages, along with key landing pages. As part of this refresh, they are getting new designs in place, new messaging, new content. And they would like to launch the new design, and content, all at once.

Categories:

#! code: Drupal 10: Using Parameter Converters To Create Paths For Custom Entities

Planet Drupal - Sun, 2023/04/16 - 7:56pm

Drupal's path system gives authors the ability to override the path of an item of content. Whilst the internal path of a page might be "/node/1" the external path can be anything you want, and can be set when editing the item of content.

The addition of the Path Auto module makes this change of path easy for your users by using patterns and automatically generating paths based on the data contained within the content item. You might want to use a path that contains the type of entity being presented, what category it was added to, and even the title of the item of content.

This system creates powerful search engine friendly URLs that can add keywords to the paths that Drupal uses to find content.

When building custom entities there are a few things you need to do in order to add Path Auto functionality. It must contain a 'canonical' link that points to the entity and be a fieldable entity with a field called 'path'. A canonical link always points to the basic path of the content entity, which would be "/node/1" for all content type entities.

Outside of the Path Auto module there are a number of internal classes called parameter converters that implement the core \Drupal\Core\ParamConverter\ParamConverterInterface interface and are used to convert an argument within a path into an entity object. This object is then passed upstream to the form or controller that will be using the entity.

Without the parameter converter in place you would have to accept a value to the form or controller that you would then have to convert into an entity of some kind. This can add a lot more code to the those classes that wouldn't be needed as they need to know how to load the entity and also what to do if the entity doesn't exist.

In this article I will create a content entity and then show how to generate custom paths to that entity in via a custom parameter converter class.

Read more

Categories:

The Drop Times: 7 Reasons Why Drupal Is the Best for Travel Agency Websites

Planet Drupal - Sun, 2023/04/16 - 1:00pm
Drupal will be an apt choice to build a travel agency website. A strong web presence is indispensable to connect with the clients.
Categories:

Drupixels: Automatic Entity Label: Automatically generate entity titles in Drupal

Planet Drupal - Sat, 2023/04/15 - 2:09pm
When creating entities in Drupal, "Automatic Entity Label" module will help to automatically generate titles for entities such as nodes, users, or taxonomy terms based on entity tokens.
Categories:

Drupixels: First 5 Drupal modules to install to make your life easy

Planet Drupal - Sat, 2023/04/15 - 7:33am
Starting a new Drupal project? And the first thing you might do is to install a module, but which one first? Let's go through some Drupal modules which will make your life easy.
Categories:

mandclu: Creating Dynamic Tabs on Content Types

Planet Drupal - Fri, 2023/04/14 - 12:24pm
Creating Dynamic Tabs on Content Types mandclu Fri, 04/14/2023 - 06:24 Towards the end of 2021 I had an idea: what if Drupal could expose content in a grid, similar to what users might be used to in database GUIs like Sequel Pro or Sequel Ace? I was able to put together a simple proof of concept, and the Autogrid module was born.I had originally wanted this to be available as a tab on relevant bundles (content types, taxonomy vocabularies, etc) but at the time I wasn't sure how to implement this, so I created a custom menu item where a user could manually choose a content entity type, then a bundle, and then see the grid. After all, as Seth Godin famously said in his book Linchpin, "Real artists ship."I kept wanting to come back to my original vision, however, so I recently decided to invest some time into making it work. It took some investigation, and IMore
Categories:

LN Webworks: Drupal Features:The Essentials You Need to Know

Planet Drupal - Fri, 2023/04/14 - 12:07pm
Are You Wondering If Drupal Will Fit in With Your Business or Organization? Look No Further. This comprehensive Drupal guide has been composed by experienced Drupal experts to give a detailed introduction into this popular content management system. Due to Drupal's frequent iterations releases, this guide highlights key features essential for regular CMS users. What Makes a Good CMS? A good CMS serves as the cornerstone of your digital presence, so choosing one requires both technical and commercial considerations. Your CMS selection must address both current business challenges and opportunities while looking toward your long-term digital goals. As you evaluate a content management system, it's important to keep in mind the following aspects when assessing it: functional requirements of the CMS; users' technical skill levels and delivery channels; costs involved and associated with content delivery channels. An ideal CMS will meet all these needs and more while serving as the backbone of your digital strategy.
Categories:

Dropsolid Experience Cloud: Mautic for Developers: connecting Drupal content to Mautic email marketing

Planet Drupal - Fri, 2023/04/14 - 11:30am
Combining Drupal and Mautic is perfect for managing your omnichannel digital experiences. We built a plugin to allow you to send emails straight from Drupal.
Categories:

LN Webworks: The Power of Experience-led E-commerce: Combining Content and Commerce with Drupal

Planet Drupal - Fri, 2023/04/14 - 10:05am
An E-commerce business must create a compelling and engaging shopping experience for attracting and retaining customers. To achieve this, E-commerce sites are increasingly turning to experience-led approaches, combining content and commerce to make shopping enjoyable for shoppers. When it comes to the experience-led approach, Drupal is an excellent choice for businesses. Drupal’s flexibility, scalability, and powerful CMS are tailor-made to engage and delight your customers. In this article, you will learn why Drupal is best for experience-led commerce and how Drupal Ecommerce Development Services can help your business stay ahead in the market.  Why use Drupal for Experience-led Commerce? Drupal has gained significant attention in recent years for its ability to deliver exceptional user experience for E-commerce businesses worldwide. Discover why Drupal commerce is the best fit for building Experience-led commerce:
Categories:

clemens-tolboom starred cosmologicon/pyjam

On github - Fri, 2023/04/14 - 9:36am
clemens-tolboom starred cosmologicon/pyjam · April 14, 2023 07:36 cosmologicon/pyjam

Code for my Python game jam entries (PyWeek)

Python 7 Updated Apr 2

The Drop Times: Drupal Is Now a Digital Public Good

Planet Drupal - Fri, 2023/04/14 - 7:16am
The concept of digital public good is similar to economic term ‘public good’. In economics, public good refers to something that is non-excludable and non-rivalrous.
Categories:

Gizra.com: How We Theme in Gizra with PEVB and a Composable Approach

Planet Drupal - Fri, 2023/04/14 - 2:00am

Theming is hard. It’s usually the most time-consuming part in our work. Writing a DB query or baking logic into a Drupal hook is the easy part. The main challenge is making an element look like the design and appear correctly on different devices and browsers.

Our main goals remain the same as from this post:

  1. Standardization in multiple projects
  2. Reduction in cognitive load
  3. Optimization for rewrites

All the code examples in this post are inside our Drupal-starter. You can install it locally, and see all the elements under the Style guide page - https://drupal-starter.ddev.site:4443/style-guide. The Drupal-starter code base is used as the starting point of our projects, so you’ll find it very mature!

An example News node on a fresh Drupal starter

A quick reminder is that for theming, we’re using the Pluggable entity view builder module, known as PEVB.

Back to our problem - we don’t want to theme the same things over and over again. This sounds trivial, but I’m sure many are doing that. We have! Here’s an example of two different twig files:

<div class="flex flex-col gap-y-3 md:gap-y-5"> {{ title }} {{ body }} </div> <div class="flex flex-col gap-y-3 md:gap-y-5"> {{ author }} {{ teaser }} {{ date }} </div>

The cards’ contents differ but the wrapper classes are the same. Also, the chances of changing the gap on one twig file and forgetting the other are high. At least for us, on bigger projects, updating the gap on only some files was a common thing.

Let’s think of the designer for a moment. Should the gap between items be 20px or 24px? The answer, for us, is “whatever works best as long as it’s consistent™.” If one card is 20px, then all cards should be the same. To deal with that, we have a limited set of trait methods:

  1. wrapContainerVerticalSpacing (20px)
  2. wrapContainerVerticalSpacingTiny (2px)
  3. wrapContainerVerticalSpacingBig (40px)
  4. wrapContainerVerticalSpacingHuge (60px)
Categories: