Normal view

Can some gauge my skill set level?

I consider myself a junior dev. I have been with a Drupal site building company almost 3 years now.

I started with zero experience in mid 22'.

Now I have or can: - Built sites from scratch in 9, 10 and 11 - Built easy to somewhat complex custom modules - Built custom themes - Maintain and added custom features(modules, views) to drupal 7 sites - Installed Solr on the servers and configured with multiple sites - Installed Varnish on servers and configuring for multiple sites (not complete, Plesk has been difficult) - Installed and configured DDos and bot attack mitigation software on server eg fail2ban, warden, etc - Written custom scripts in bash to run periodically on servers the recognize http(s) request patterns from logs and bann IPs that fit patterns using with firewall and fail2ban - Considered the jump in dev for any issues with servers (my familiarity with linux systems) eg bots, ddos, slow, etc - I use drush and composer almost daily - Wrote a bash script, that would install Drupal 9 or 10 site, using composer and drush. Along with installing and enabling modules to be used. That had cut out like a 1-2 hour process to 5 minutes for the company. You just provided a list of the modules you want installed in a .txt file and site/db usrname/pswd in the script. - Also use version control everyday Git. - Know my way around plesk and some other server management systems. - Recently set up a paypal webhook for a site - Built custom modules to work with ubercart - Done migrating with feeds import and the migration toolkit. From d7 to d9 and d10 - Upgraded sites from d9 to d10 and 11 - Use DDev

Things I have not done: - Set up a site for payment with Ubercarts or Ecommerce - made contributions to any contrib modules or themes - uploaded any contrib modules of my own

What would you'll suggest to get me, so I could get to mid and senior level? I know there is a lot of necessary unknown unknowns.

Additionally, I like server and security stuff. Any certification recommendation? I am preparing for a RHCSA and Security+ to start.

submitted by /u/Queasy_Rule3768
[link] [comments]

Is Drupal Canvas not compatible with Hostinger?

Sorry to be bothering you all again.

The good news is thanks to your help I have a site working on local and I'm very happy with how it looks and how its functioning!

The bad news is I cannot seem to deploy it to Hostinger. I chose it for hosting because it was mentioned on the Drupal website.

But when I upload the files from my project I get a 403 error. I've tried just adding the necessary modules to remake my site, however when I enable the Drupal Canvas module I get a message saying "The website encountered an unexpected error. Try again later."

I'm not sure if I'm missing a step preparing my local project for deployment to Hostinger and I'm concerned it won't work at all because I used the Canvas module.

submitted by /u/bebebeanboi
[link] [comments]

jdrupal-dev/drupal_ls: Now available in VSCode Marketplace!

jdrupal-dev/drupal_ls: Now available in VSCode Marketplace!

Hi community,

A while ago I announced the existence of "drupal_ls": https://www.reddit.com/r/drupal/comments/1nd6z36/announcement_new_language_server_for_drupal/

Drupal LS is a language server providing IDE-like intellisense features for Drupal 8+.

Until today the language server could only be used in Neovim, Emacs, or similar editors.

Now the language server can be used in VSCode as well! You can install the extension from the Marketplace: https://marketplace.visualstudio.com/items?itemName=jdrupal-dev.drupal-ls

Enjoy :)

submitted by /u/Western_Crew5620
[link] [comments]

Struggling with page logic in drupal (and drupal themes)

Struggling with page logic in drupal (and drupal themes)

I'm very new to drupal, so I apologize if this is a dumb question.

I'm trying to set up a drupal theme to use for my webcomic, however I'm struggling with the logic for the page navigation.
How do I point to the next/previous and first/last items? I found some resources using php, but I don't know where it would go in the code and I'm not sure if I should be setting up the page navigation as part of the custom theme.

this is not the drupal theme (though I do hope to get it here) I started in react before I abandoned my original idea of hooking a react front end to a drupal back end and instead just decided to do the whole thing in drupal

The goal is for each page to have buttons at the bottom that point to the next comic page, previous comic page, first page, and latest page (which is also the home page). I saw a post from 6 years ago with a similar question, but the top comment only said to 'theme it in HTML/CSS/JS' first, but I'm stuck on how to set up the page logic, which would be interacting with the cms?
I set up my project with composer and am currently using ddev if that is relevant.

submitted by /u/bebebeanboi
[link] [comments]

[Drupal 10] How are file-type icons handled after migrating from Drupal 7?

[Drupal 10] How are file-type icons handled after migrating from Drupal 7?

I'm new to Drupal development and recently migrated a Drupal 7 theme to Drupal 10. In Drupal 7, the file fields displays file-type icons (e.g., icons/application-pdf.png) next to file links, but after migrating to Drupal 10, those icons are no longer displayed, and I’m unsure how file-type icons are handled in the newer versions of Drupal. While searching the codebase, I found the following icon files:

$ find . -type f -iname "application-pdf.png" ./core/themes/claro/images/classy/icons/application-pdf.png ./core/themes/starterkit_theme/images/icons/application-pdf.png ./core/profiles/demo_umami/themes/umami/images/classy/icons/application-pdf.png 

I can confirm that file metadata (such as file size) is still available and rendered correctly via my custom Twig template my_custom_theme/templates/field/file-link.html.twig (this file is a copy of core/modules/file/templates/file-link.html.twig without any change. I can remove it when suggested) as shown below:

<!-- BEGIN OUTPUT from 'core/modules/system/templates/field.html.twig' --> <div> <div>Paper</div> <div> <!-- THEME DEBUG --> <!-- THEME HOOK: 'file_link' --> <!-- 💡 BEGIN CUSTOM TEMPLATE OUTPUT from 'themes/custom/my_custom_theme/templates/field/file-link.html.twig' --> <span class="file file--mime-application-pdf file--application-pdf"><a href="/sites/default/files/manual/computer.pdf" type="application/pdf">computer.pdf</a></span> <span>(2.26 MB)</span> <!-- END CUSTOM TEMPLATE OUTPUT from 'themes/custom/my_custom_theme/templates/field/file-link.html.twig' --> </div> </div> <!-- END OUTPUT from 'core/modules/system/templates/field.html.twig' --> 

However, there is no CSS style named file in Chrome developer tools. See the screenshot below:

Screenshot of the Chrome developer tools

What I’d like to achieve is to display a file-type icon (say icons/application-pdf.png or svg whatever Drupal 10 default is) before the file link, similar to Drupal 7.

A workaround would be to copy the icons from core/themes/claro/images/classy/ into my custom theme and adjust the CSS in my_custom_theme accordingly, but this doesn’t feel like a clean or recommended solution.

What is the proper way to display standard file-type icons next to file links in Drupal 10?

submitted by /u/Great_Banana_123
[link] [comments]

Migrating Gutenberg-based website to Drupal Canvas

I have gutenberg-based websites running with domain module to host multiple URLs. I had a bit of performance issues, and it was difficult to control 10+ domains with current setting, so I have waited for months to update the entire system.

Now that Drupal Canvas is rolled out its official version, I wonder if it is worth the try, or should I wait more.

Together with 11.3 upgrade (currently rolling 11.2.3), I want to put all these website issues behind, and move on. I am not sure how the Drupal Canvas's sub-module ecosystem is forming and how much dependency it still has to legacy ones like paragraph.

submitted by /u/keithkhl
[link] [comments]

How to publish distributions as Composer templates

Hi folks, I've contributed a Drupal 11 distribution (install profile with distribution key in *.info.yml). Everything works as expected with that.

Nevertheless, now to install a new Drupal instance with my install profile, I need to create a Composer Drupal project, pull my installation profile and then proceed with the installation, which succeeds my needs.

Instead, I'd like to go for "composer create-project drupal/vikttorius-distribution" which does all the above in one step.

What I'm missing is the procedure for Drupal.org to publish Composer projects under drupal namespace. Something is slipping through my slipping my mind.

IA is telling me to open a support ticket in Infrastructure issue queue, which doesnt sound right to me.

Also I read, but unsure about that, the Drupal Recipe Initiative is related to me topic.

Could you add some light to this topic?

submitted by /u/vikttorius
[link] [comments]

New to Drupal , looking for beginner advice

Hi everyone,

I’m new to Drupal and just getting started with it. I’ve mostly worked with other CMSs before, so Drupal feels a bit different and powerful at the same time.

I wanted to ask: what are the best things a beginner should focus on first? (modules, theming, configuration, etc.)

Any tips, learning resources, or common mistakes to Avoid would be really helpful.

Thanks in advance,,,,,

submitted by /u/ActNew5818
[link] [comments]

People as content types

As I’ve been exploring Drupal more and more, it has dawn on me that “Content Types” do not necessarily have to only be public facing things for a site - articles, posts, videos, etc. It occurred to me that I could manage my organization’s roster of members and students by making each its own content type and building Views to display them.

I would appreciate hearing from some of the experienced site builders here about some of the less conventional Content Types you’ve used.

submitted by /u/myoldtweets
[link] [comments]

Rich editing with custom fields

I’m primarily a Laravel dev with a mix of React and Vue. I’ve been just barely dipped my toe into experimenting with Drupal since a lot of the things I build are really centered around content management.

My question is how much of an uphill battle down the road will it be to integrate very customized fields into the admin UI? I’m thinking things like maps, basic multimedia editing, niche drag-and-drop stuff. If there’s a library or I have the hours to build it out in React this is pretty straightforward in Laravel, but I haven’t found a ton on this in Drupal. I don’t believe in forcing systems to do things that aren’t a good fit, and I’m wondering if I’m trying to fit a square peg in a round hole by looking at Drupal for this kind of thing.

submitted by /u/Miserable-Claim-7370
[link] [comments]

Module Spotlight: Changelogify

Module Spotlight: Changelogify

Hey Drupal community!

I want to highlight a really useful module I’ve been exploring called Changelogify. If you manage Drupal sites where tracking and communicating what’s changed over time matters, this thing can be a serious quality-of-life boost. 

What It Is

Changelogify is a contributed Drupal module that helps you automatically collect changes happening on your site and publish them as a public changelog. It listens for various site events, groups them into releases, and then makes those changes visible in a structured way on your site. 

Why It’s Handy

Whether you’re maintaining a client site, building a product with frequent updates, or just want better visibility into what’s happened between deployments, this module lets you:

• Automatically capture tweaks and updates instead of manually jotting them down • Organize changes into releases so editors and users can see what changed and when • Surface a public changelog that keeps stakeholders informed and helps reduce support questions 

It takes a lot of the manual bookkeeping out of tracking what’s happened during a sprint or over a release cycle. 

Who Might Like It

• Site builders who deliver regular feature updates • Teams with editors who want transparency into site revisions • Maintainers who want a lightweight way to publish update history without crafting change logs by hand 

If you’ve ever wished Drupal could write its own release notes for you, Changelogify is worth checking out.

🔗 Drupal.org project page: https://www.drupal.org/project/changelogify

Have you tried it yet? What workflows do you use for keeping changelogs up to date on your Drupal projects?

submitted by /u/don__swan
[link] [comments]

Certain Drupal batch functions not working with Cloudflare - returning 502 Bad Gateway

I noticed that the XML Sitemap generation stopped working a couple of weeks ago. When I go to rebuild the sitemap manually, we immediately get a 502 Bad Gateway error.

After much unsuccessful troubleshooting, we tried the Simple XML Sitemap module and surprisingly got the same error.

Disabling Cloudflare fixes the issue but since we need Cloudflare to be active, we need to find out the cause.

  • Using Cloudflare Free Tier
  • Some /batch functions cause a 502 error
  • Pausing Cloudflare fixes the issue
  • We tried creating a rule to bypass caching for the /batch path (no change in the error)
  • The issue occurs with XML Sitemap, and Simple XML Sitemap. However, other batch operations, like rebuilding the permissions work as expected
  • Sitemap generation worked correctly for years, until a couple of weeks ago

I'm hoping for any insight as to what may be causing the failure.

submitted by /u/quantumized
[link] [comments]
❌