r/drupal

▲ 1 r/drupal

Hello again everyone, need little more help and showing my progress

Context: https://www.reddit.com/r/drupal/comments/1t884c3/hello_drupal_community_looking_for_help_with/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

Firstly thank you for such detailed suggestions and I am learning Drupal at a good pace, enjoying most of the time and process. I am learning mostly frontend right now and absorbing everything, learning some backend too but not heavily, would go on it later

I would really appreciate some help from your side as you all have been in the Drupal market since so long, I have a drupal interview in coming week, the person said its frontend heavy role, you will be working mostly on the frontend with HTML CSS JS.

While I understand how Drupal architecture works and how to make things and how does this css works here,
I am confused what can I be asked in the interviews, mainly what is asked in Drupal? would they ask me from html css? I come from a full stack web dev background so really no idea how it works in low code interviews, its a part time role. Just 1 round of interview to show my understanding and skills

Any help is good, I will really appreciate, thank you so much !!!

reddit.com
u/Critical_System_39 — 1 day ago
▲ 1 r/drupal

Can Drupal installations be downgraded?

So, like Icarus, I flew too close to the sun, and fucked up. I was trying to upgrade a small site from Drupal 9.3 because something under the hood was stopping image files from uploading. Unfortunately, I didn't read the instructions on upgrading correctly. While going from 9.3 to 9.5 went fine, at the next step, it went all the way to 11.3, which has rendered the site unreachable, except for the update.php page.

The problems I'm facing are:

  1. It wants the CKEditor module installed, but that's only compatible with Drupal 10
  2. I've used Composer to add the MySQL57 module, and added the needed line to my settings.php, but I can't get in to the administrative interface to install the module there.
  3. Something somewhere is reporting that the installed Drupal version is below 9.4
  4. Attempts to access other site pages produce "Uncaught PHP Exception TypeError: "Drupal\Core\Utility\ThemeRegistry::getPreprocessInvokes(): Return value must be of type array, null returned"" at /core/lib/Drupal/Core/Utility/ThemeRegistry.php line 180

So, my question is:

  • Is it possible to rollback to, say, Drupal 10, at this point, or should I just rebuild the site from scratch? (I have access to an ancient backup of the site.)

I should add that there's something weird going on with the installation of Drush I'm working with as it seems to only be interacting with one of the multiple sites we have with this hosting provider, and it's not the problem site.

reddit.com
u/Death_Sheep1980 — 5 days ago
▲ 0 r/drupal

How good is composer at managing Drupal 7 sites?

I've been using Drush on Drupal 7 for a long time, but having started on Drupal 11 I've gotten more used to the Composer approach and see on Drupal.org that many Drupal 7 modules can be installed through composer.

Are there any gotchas installing Drupal 7 and installing/upgrading modules with composer?

Is Composer usage on Drupal 7 mature and comparable or even better than Drush?

reddit.com
u/vfclists — 5 days ago
▲ 4 r/drupal

A template suggestion challenge

Hello fellas,

we often encounter the case of content types with fields grouped in field groups that need to be rendered in a specific fashion (e.g. table, definition list), sometimes each group with its own markup.

The motivation is accessibility.

Our goal is to have a template suggestion for fields that look like:

[entity-type]__[view-mode]__[field-name]__[field-group-name]

so that a field can be formatted differently according to its host group.

At the moment no one in the team has been able to solve the conundrum.

Any suggestion (pun intended) is highly appreciated.

reddit.com
u/flinxo — 6 days ago
▲ 11 r/drupal

Six real AI cases in Drupal this week

Six situations this week working with AI agents on Drupal. Some saved me hours. Others tried to ship solutions that looked right but weren't.

One bug had been stuck at an agency for hours and got resolved in 30 minutes. Another fix, if I had accepted it as-is, would have left me with custom patches on contrib modules.

The AI conversation usually focuses on the speed and skips what you have to catch in review. Wrote it down with the six cases. If you work with Drupal or with code in general, curious what you think.

https://menetray.com/en/blog/six-real-world-ai-cases-drupal-week

reddit.com
u/rmenetray — 6 days ago
▲ 65 r/drupal+2 crossposts

Composer 2.9.8 and 2.2.28 fix GitHub Actions token disclosure in error messages

Please immediately update Composer to version 2.9.8 or 2.2.28 (LTS) by running composer.phar self-update. The new releases fix a vulnerability where Composer leaks the full contents of GitHub Actions issued GITHUB_TOKENs or GitHub App installation tokens to the GitHub Actions logs. GitHub introduced a new format for these tokens including a - (hyphen). The new format is gradually being rolled out to repositories. The new format fails Composer’s validation, leading to an error message that exposes the full token contents to stderr. A CVE identifier will be assigned and added to this post once available.

blog.packagist.com
u/naderman — 8 days ago
▲ 25 r/drupal

Drupal Astro Kit for local Drupal + static Astro builds

I made a small starter kit for using Drupal without putting Drupal in production.

The idea is simple.

Run Drupal locally with DDEV. Use it as the CMS. Astro fetches the content at build time through JSON:API and Linkset. Then you deploy the static output.

No hosted Drupal.
No production database.
No PHP runtime on the public site.

Repo:
https://github.com/rovo79/Drupal_Astro_Kit

First run:
~~~
git clone https://github.com/rovo79/Drupal_Astro_Kit.git

cd Drupal_Astro_Kit

./setup.sh
~~~

This is not meant to replace every Drupal site. It is for the cases where the public site does not need to be dynamic, but the content editing model still benefits from Drupal.

It is early, but the basic path is there: clone, setup, edit content locally, build static files, deploy dist/.

If you try it and the first run breaks, I’d want to know where.

u/rovo — 8 days ago
▲ 16 r/drupal

Best Sites for Remote Drupal Job Hunting?

Hi, Drupal Developer here with 10+ years of remote experience with Drupal 7-10.

I am now currently working for a full-time remote position; but every application on LinkedIn/Indeed yields no results, not even a mail from recruiter.

So, the question is, which sites are most popular for Drupal positions? Or what approach can I use to land a job with Drupal?

Thank you for all the answers!

reddit.com
u/Longjumping_Chance39 — 10 days ago
▲ 14 r/drupal

Drupal (AI) Playground: AI ate my work, and I need to be okay with that.

I recently released a module called the AI Schema.org JSON-LD module, which I built with AI in 4 days. It replaces a key part of my Schema.org Blueprints module that I worked on for 4 years. AI ate my work, and I need to be okay with that.

jrockowitz.com
u/jrockowitz — 9 days ago
▲ 5 r/drupal

Is Drupal CMS 1.x upgradeable to Drupal CMS 2.x?

I am trying to upgrade a Drupal CMS 1.1.0 installation and Composer says drupal cms is locked to 1.1.0 and causes conflicts with other modules.

Below is a quotation from this link - https://www.drupal.org/project/cms/releases/2.1.0-beta1

> Drupal CMS 2.1.0-beta includes a new site template, Haven, with a warm and bright design and features aimed at non-profit websites. > > This release should be used for testing only and is not suitable for building websites. There is no update path for Drupal CMS.

It may be a glorious journey to upgrade from the current Drupal CMS 1.1.0 but I don't feel that adventurous.

u/vfclists — 11 days ago
▲ 4 r/drupal

Hello Drupal community, looking for HELP with resources to learn Drupal

Hi! I am a full stack developer -- MERN, Django specializing in backend, I have seen many people using platforms like wordpress, shopify, drupal, flutter to make websites rather than coding everything from scratch.

I genuinely have no experience with these apps and want to explore these things.

I learned PHP and how it works recently to understand drupal but I am not finding any good resource to learn drupal, can any gentlemen or woman help me with their knowledge from where I can learn about Drupal architecture?

TL, DR: Looking for drupal learning resources.

Thank you !

reddit.com
u/Critical_System_39 — 12 days ago