05 Dec 2024

feedDrupal.org aggregator

ImageX: Women in Drupal 2024: Exclusive Interview with Award Winner Alla Petrovska from Our Team

It's a great blessing to work alongside outstanding women and an enormous joy to see their efforts and contributions recognized.

05 Dec 2024 3:54pm GMT

Freelock Blog: Automatically tag articles

Automatically tag articles

Configuring an automator for tags

Anonymous (not verified)

Today, another automation using the Drupal #AI module -- automatically tag your articles.

With the AI module, its AI Automators submodule, and a provider configured, you can add an automation to any field. With a Tag field on your content, you can edit the field definition and "Enable AI Automator". Give it a reasonable prompt, and it will tag your content for you.

Like most of the AI integrations, the great thing is you can easily edit the tags later if you want to highlight something specific, or if it comes up with something inappropriate.

05 Dec 2024 3:00pm GMT

Drupal Association blog: One month until Drupal 7 End of Life on 5 January 2025!

Drupal 7 Support ends in one month - photo of two people working on their computers.

As you've most likely heard already, Drupal 7's End of Life is fast approaching. Drupal 7 security support is ending one month from today on 5 January 2025 - fourteen years to the day that Drupal 7 was originally released! If you are still running Drupal 7 beyond this date, your website will be vulnerable to security risks and may face compatibility issues.

With only one month left until Drupal 7 security support ends, now is the time to wrap up any final preparations to get your site ready in time for the end of life. While migrating from Drupal 7 may seem daunting, the Drupal Association is here to assure you that the process can be smooth from start to finish with sources like our Drupal 7 migration resource page.

Hopefully, you have started your plan for life after Drupal 7, but if you are looking for direction, here are some paths you can take:

Extended Security Support for Drupal 7

If you plan on keeping your site running on Drupal 7, check out our Drupal 7 Extended Security Support Program, if you haven't already.

Our D7 extended security support partners are ready to provide you with the support that you need!

Migration partners

On top of engaging an extended support partner, the Drupal Association has also created a list of certified migration partners for sites of all sizes. These partners can help you with your content strategy, audit your existing site, and help you through every step of the migration process to upgrade your site to modern Drupal.

Check out those who have already migrated!

Many folks have already migrated from Drupal 7, and you can find their stories on our case studies page.

Not migrating? Be sure to communicate with your users!

If migrating to a newer version or using extended support isn't feasible right now, it's essential to notify your users of your security strategy. Make sure to inform your customers, managers, CISO, or other stakeholders about your plans for handling support and managing potential vulnerabilities. This transparency is important for maintaining trust and compliance!

05 Dec 2024 3:00pm GMT

ComputerMinds.co.uk: DDEV, solr, and platform.sh

Developers using computers in an office

We use platform.sh to host many of our client Drupal sites, and many of those sites use Solr.

Platform.sh has great documentation for setting up Solr to work with Drupal, and it essentially boils down to something like this in a services.yaml file:

solr94:
  type: solr:9.4
  disk: 1024
  configuration:
    cores:
      main:
        conf_dir: !archive "solr_9.x_config/"
    endpoints:
      main:
        core: main

And then a directory of Solr config.

Platform.sh then gives you a nice PHP library that can wire up your configuration into Drupal's settings.php like this:

$platformsh->registerFormatter('drupal-solr', function($solr) {
  // Default the solr core name to `collection1` for pre-Solr-6.x instances.
  return [
    'core' => substr($solr['path'], 5) ? : 'collection1',
    'path' => '',
    'host' => $solr['host'],
    'port' => $solr['port'],
  ];
});

// The Solr relationship name (from .platform.app.yaml)
$relationship_name = 'solrsearch';
// The machine name of the server in your Drupal configuration.
$solr_server_name = 'solr_server';
if ($platformsh->hasRelationship($relationship_name)) {
  // Set the connector configuration to the appropriate value, as defined by the formatter above.
  $config['search_api.server.' . $solr_server_name]['backend_config']['connector_config'] = $platformsh->formattedCredentials($relationship_name, 'drupal-solr');
}

All nice and simple, and works really well in platform.sh etc.

DDEV

We wanted our DDEV based development environments to match the platform.sh approach as closely as possible, specifically we really didn't want to have two versions of the Solr config, and we didn't want to have one process for DDEV and another for platform.sh.

We are targeting Solr 9, so we are able to use the fantastic ddev/ddev-solr add-on that does the hard work of getting a Solr container running etc.

The add-on has the option of sending the Solr config (which Drupal can generate) to the Solr server, but then that config isn't the same as the config used by platform.sh. So we wanted to use the option where we make a core from existing set of config on disk. To do this we need a couple of things:

First, we make a 'placeholder' configset by creating a file at .ddev/solr/configsets/main/README.md with the following contents:

This directory will get mounted over the top of by the config from the .platform/solr_9.x_config directory at the root of this repository. See: docker-compose.cm-ddev-match-platform.yaml

And then we need a file .ddev/docker-compose.cm-ddev-match-platform.yaml with the following contents:

services:
  solr:
    volumes:
      # We sneakily mount our platform.sh config into the place that ddev-solr wants it.
      - ../.platform/solr_9.x_config:/mnt/ddev_config/solr/configsets/main

As the comment in the file says, this means that the same config is both used by platform.sh and the DDEV solr server for the main core.

Finally, we add a bit of a settings.php config for developers running DDEV:

// Hardcode the settings for the Solr config to match our ddev config.
// The machine name of the server in your Drupal configuration: 'solr_server'.
$config['search_api.server.solr_server']['backend_config']['connector'] = 'basic_auth';
$config['search_api.server.solr_server']['backend_config']['connector_config']['host'] = 'solr';
$config['search_api.server.solr_server']['backend_config']['connector_config']['username'] = 'solr';
$config['search_api.server.solr_server']['backend_config']['connector_config']['password'] = 'SolrRocks';
$config['search_api.server.solr_server']['backend_config']['connector_config']['core'] = 'main';

And that's it! So simple, thanks DDEV!

05 Dec 2024 2:08pm GMT

LostCarPark Drupal Blog: Drupal Advent Calendar day 5 - Blog Recipe

Drupal Advent Calendar day 5 - Blog Recipe james

Door 5 containing a parchment and quill

In the early days of Drupal, it was a popular blogging platform. Nowadays, while it is rare to use Drupal for a pure blog site, it is still quite common for Drupal sites to include a blog. There even used to be a dedicated blog module in Drupal, but it was largely superseded by Drupal's core functionality.

The 'Blog' recipe for Drupal Starshot is designed to facilitate the creation and management of blog posts on a website. It will create the 'Blog' content type, equipped with the necessary fields and features that enable content creators to produce rich, informative, and engaging blog entries…

05 Dec 2024 9:00am GMT

04 Dec 2024

feedDrupal.org aggregator

The Drop Times: Contribution Day at DrupalCon Singapore 2024: A Day of Collaboration and Innovation

As a leading open-source project, Drupal thrives on contributions from its global community. Contribution Day is a focused event at DrupalCon where individuals collaborate to improve Drupal. It's a space for sharing expertise, mentoring others, and making tangible progress on various projects.

04 Dec 2024 4:42pm GMT

The Drop Times: TDT Is the Official Media Partner for DrupalCon Singapore 2024

The DropTimes will provide in-depth coverage of DrupalCon Singapore 2024, happening from December 9 to 11 at PARKROYAL COLLECTION Marina Bay. Follow for updates, insights, and highlights from Asia's first DrupalCon in nearly a decade.

04 Dec 2024 4:04pm GMT

The Drop Times: Meet the Speakers: DrupalCon Singapore 2024 Part 1

As part of the Meet the Speakers: DrupalCon Singapore 2024 series, The DropTimes highlights sessions by Yas Naoi on Behavior-Driven Development, Ajit Shinde on PHP 8 features, and Alexey Murz Korepov on observability in decoupled Drupal. This series provides a glimpse into the conference's rich lineup and offers insights into what speakers are bringing to the event, happening December 9-11 at PARKROYAL COLLECTION Marina Bay.

04 Dec 2024 4:04pm GMT

Tag1 Consulting: Migrating your Data from D7 to D10: Public and private file migrations

After discussing how to avoid entity ID conflicts in the previous article, we are finally ready to start migrating content. The first entity we will focus on is files, covering both public and private file migrations. We will share tips and hacks related to performance optimizations and discuss how to handle files hosted outside of Drupal.

mauricio

04 Dec 2024 3:20pm GMT

Freelock Blog: Automatically send notifications to Matrix

Automatically send notifications to Matrix

An ECA diagram showing a send to Matrix action

Anonymous (not verified)

When you work on a team, it's useful to have notifications go to a chat room where you can coordinate any necessary action. Reviewing a comment before publishing, seeing stories as they are written, getting notified of new orders are the kinds of things we like having in a shared room.

04 Dec 2024 3:00pm GMT

Drupal life hack's: How can AI help in understanding regular expressions using Drupal examples?

How can AI help in understanding regular expressions using Drupal examples? admin

04 Dec 2024 1:54pm GMT

The Drop Times: Axelerant’s IDMC Digital Overhaul Earns Splash Awards Asia Nomination

In the second episode of The DropTimes' "Splash Award Finalists" series, explore how Axelerant's innovative work for the Internal Displacement Monitoring Centre (IDMC) has transformed its digital platform. Learn how this project tackles global displacement challenges and why it's a contender for the 'Not-for-Profit' category at the Splash Awards Asia.

04 Dec 2024 1:00pm GMT

LostCarPark Drupal Blog: Drupal Advent Calendar day 4 - Drupal.org

Drupal Advent Calendar day 4 - Drupal.org james

Advent calendar door opening to reveal a web browser containing the Drupal logo

Today Tim Lehnen from the Drupal Association joins us to talk about some of the changes taking place on the Drupal.org website as part of Starshot.

For day 4 of the Drupal Advent calendar, it's a familiar face: Drupal.org! When we say "Come for the code, stay for the community!" Drupal.org is where we welcome everyone to join us. Sure, you can find all the code, extensions, and documentation you need here, but Drupal.org is so much more. It's the place where one of the greatest communities in open source gathers to communicate, collaborate, and celebrate.

Drupal.org is also a part of Drupal…

04 Dec 2024 9:00am GMT

03 Dec 2024

feedDrupal.org aggregator

Freelock Blog: Automatically show this month and next month in a perpetual calendar

Automatically show this month and next month in a perpetual calendar

Events and Celebrations automatic block, showing this month (December) and next month (January) from a perpetual calendar, automatically updated

Anonymous (not verified)

One of our clients is Programming Librarian, a site for librarians to plan educational programs. Programs, like many events, are often seasonal, oriented around holidays and seasonal activities.

The site has a block for each month of the year, containing content for that month. It has a custom field for the month number.

03 Dec 2024 3:00pm GMT

Matt Glaman: The Web APIs powering the Drupal CMS trial experience

This blog expands on my DrupalCon Barcelona talk, which I managed to squeeze into a twenty-minute session slot. You can download a copy of my slides. Unfortunately, I could not dedicate enough time to the project and stepped down as the trial track lead. The Drupal CMS trial is no longer based on my WebAssembly work, and an ongoing process is being conducted to provide an official demo.

03 Dec 2024 2:00pm GMT

Metadrop: A content manager on steroids: combine Drupal with AI to create content efficiently

Revolutionizing Content Editing with AI in Drupal

Nowadays, artificial intelligence (AI) has become a powerful tool to enhance the process of creating and managing digital content. Drupal, known for its flexibility and robustness as a content management system (CMS), has already started to integrate this new technology, adding exceptional capabilities for generating and improving content.

In this detailed guide, as a showcase, we will demonstrate how to install and configure the modules AI (Artificial Intelligence) and Image Genie AI in Drupal, the first to integrate AI with CKEditor, thereby improving its editing capabilities, such as text generation, tone alterations, or translations, and the second to generate images, enabling the creation of complete content , quickly and efficiently.

It is worth mentioning that these modules are currently in development phase, so their use in production is currently discouraged.

Prerequisites

03 Dec 2024 9:22am GMT