❌

Reading view

Is Drupal goodbfor higher education with three 3000 page websites?

As said in the title, a small university wants to move from modern campus to something else. I mentioned Drupal even though I have no experience with it but I saw that other large universities use it.

So can you give me some idea, thoughts and insides into it. What do you think the initial cost would be to have a 3rd party transfer and redevelopment the pages? The university wants to switch within the next few months.

I have to adjust my page count as today was the first day I could actually crawl my own websites and we have probably less than 1500 pages. I still want to go with this as it will be ready for the future and yearly less than what currently is paid.

submitted by /u/HikeTheSky
[link] [comments]
  •  

What Is the actual Drupal Way to Build list of teasers in Canvas?

With some excitement, I tried to build a site using Drupal Canvas. Not Drupal CMS, but actually building it from a clean installation. I rewired my thinking toward SDC, canvas pages, and canvas node templates, and after I fully understood it, I really thought Drupal might become a free-of-charge competitor to SaaS website builders like Webflow.

We talk about Drupal Canvas with excitement, but using it introduces two regressions for standard use cases compared to the old Drupal approach. Until these are solved, I do not see a wide adoption on production sites. The following:

First, it is not possible to switch other display types besides "full" to Canvas template. Drupal CMS somehow defines the Card display as managed by Canvas, but there is too much magic happening behind the scenes, which I was unable to replicate on my site. So if I have any view that should list some nodes in a form of a card/teaser, and let’s be honest, almost every site does, I am forced to use both a Canvas template for the full node and an old-style template file such as node--blogpost--teaser.html.twig, where I pass the props to SDC and mimic the Canvas usage for a teaser.

The second issue, no less important, is that the SDC with Canvas approach makes it impossible to use image styles. We are forced to use original images, and the canvas:image component has very limited functionality. Really? Image styles are one of the biggest advantages of Drupal.

How do you approach it? What is the actual "Drupal way" to build a list of cards with teaser images in Drupal Canvas based project? Is it there, or not yet?

Here are two related issues that i found regarding that, worth sharing:

https://www.drupal.org/project/canvas/issues/3562276
https://www.drupal.org/project/canvas/issues/3574412

This post is not intended to discredit Canvas, but simply to share a user’s experience and maybe help guide its development. Big thanks so far, keep going!

submitted by /u/Firflant
[link] [comments]
  •  

[Help] PHPUnit in Drupal Multisite loading 'default' instead of specific site directory

Hey everyone, I'm running into a frustrating issue with a Drupal Multisite setup and could use some help.

I'm on a Linux server running Drupal 10.6.2 and Drush 12.5.3.0. My working directory is /var/www/uat.

Here is my /var/www/uat/phpunit.myWebsiteBBB.xml:

<?xml version="1.0" encoding="UTF-8"?> <phpunit bootstrap="/var/www/uat/bootstrap.myWebsiteBBB.php" colors="true"> <php> <env name="DTT_SITE_DIR" value="myWebsiteBBB"/> <env name="SIMPLETEST_BASE_URL" value="https://uat.myWebsiteBBB.com"/> <env name="SIMPLETEST_DB" value="mysql://lmuat:Bwurp9vS(CQSbd5F@localhost:3306/myWebsiteBBB"/> <env name="BROWSERTEST_OUTPUT_DIRECTORY" value="/var/www/uat/web/sites/simpletest/browser_output"/> <ini name="memory_limit" value="-1"/> <server name="HTTP_HOST" value="uat.myWebsiteBBB.com"/> <server name="SERVER_NAME" value="uat.myWebsiteBBB.com"/> <env name="DTT_BASE_URL" value="https://uat.myWebsiteBBB.com"/> <env name="DTT_API_URL" value="https://uat.myWebsiteBBB.com"/> </php> <testsuites> <testsuite name="MyWebsiteBBB Existing Site Tests"> <directory>/var/www/uat/web/modules/custom/lps_api/tests/src/ExistingSite</directory> </testsuite> </testsuites> </phpunit> 

And my /var/www/uat/phpunit.myPageAAA.xml:

<?xml version="1.0" encoding="UTF-8"?> <phpunit bootstrap="/var/www/uat/web/core/tests/bootstrap.php" colors="true"> <php> <env name="DTT_SITE_DIR" value="default"/> <env name="SIMPLETEST_BASE_URL" value="https://uat.myPageAAA.ca"/> <env name="SIMPLETEST_DB" value="mysql://lmuat:Bwurp9vS(CQSbd5F@localhost:3306/multisite"/> <env name="BROWSERTEST_OUTPUT_DIRECTORY" value="/var/www/uat/web/sites/simpletest/browser_output"/> <ini name="memory_limit" value="-1"/> <server name="HTTP_HOST" value="uat.myPageAAA.ca"/> <server name="SERVER_NAME" value="uat.myPageAAA.ca"/> <env name="DTT_BASE_URL" value="https://uat.myPageAAA.ca"/> <env name="DTT_API_URL" value="http://localhost"/> </php> <testsuites> <testsuite name="MyPageAAA Existing Site Tests"> <directory>/var/www/uat/web/modules/custom/lps_api/tests/src/ExistingSite</directory> </testsuite> </testsuites> </phpunit> 

The tests are located in: /var/www/uat/web/modules/custom/lps_api/tests/src/ExistingSite/

I added some lines to debug the environment in /var/www/uat/web/modules/custom/lps_api/tests/src/ExistingSite/ClinicImagesConsistencyTest.php:

public function testClinicImagesMatchJson(): void { // --- HOME SAFE DIAGNOSTICS --- $site_path = \Drupal::getContainer()->getParameter('site.path'); $db_name = \Drupal\Core\Database\Database::getConnection()->getConnectionOptions()['database']; $dtt_url = getenv('DTT_BASE_URL'); fwrite(STDERR, "\n--- SCAN RESULTS ---\n"); fwrite(STDERR, "1. Environment URL (DTT_BASE_URL): " . ($dtt_url ?: 'VACÍO') . "\n"); fwrite(STDERR, "2. Folder you chose to upload : " . $site_path . "\n"); fwrite(STDERR, "3. Final database : " . $db_name . "\n"); fwrite(STDERR, "------------------------------\n"); // --- END OF SAFE DIAGNOSIS --- 

In /var/www/uat/web/sites/sites.php:

<?php $sites['upcore.branchmanager.myWebsiteBBB.com'] = 'myWebsiteBBB'; $sites['dev.branchmanager.myWebsiteBBB.com'] = 'myWebsiteBBB'; $sites['myWebsiteBBB.com'] = 'myWebsiteBBB'; $sites['uat.myWebsiteBBB.com'] = 'myWebsiteBBB'; 

I have two sites: uat.myPageAAA and uat.myWebsiteBBB. Inside /var/www/uat/web/sites, I have the following folders: myWebsiteBBB and default.

So, what's the problem? When I execute: ./vendor/bin/phpunit -c phpunit.myWebsiteBBB.xml

This is the output I get:

--- SCAN RESULTS --- 1. Environment URL (DTT_BASE_URL): https://uat.myWebsiteBBB.com 2. Folder you chose to upload: sites/default 3. Final database: multisite 

Basically, when I run the tests for myWebsiteBBB, it does not load the myWebsiteBBB site data. Instead, it falls back to the default directory. Because of this, everything goes wrong when I execute my test script: /var/www/uat/run_multisite_tests.sh

#!/bin/bash # Ensure we run everything from the directory where this script is located SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" cd "$SCRIPT_DIR" # Define base log directory LOG_BASE_DIR="$SCRIPT_DIR/logs" # Create the logs directory if it doesn't exist mkdir -p "$LOG_BASE_DIR" # Define static log files for this execution MYPAGEAAA_LOG="$LOG_BASE_DIR/uat_myPageAAA.log" MYWEBSITEBBB_LOG="$LOG_BASE_DIR/uat_myWebsiteBBB.log" echo "===================================================" echo "πŸš€ Starting tests for MyPageAAA..." echo "πŸ“„ Logging output to: logs/uat_myPageAAA.log" echo "===================================================" # Run PHPUnit and pipe the output to 'tee' to overwrite the log file ./vendor/bin/phpunit -c phpunit.myPageAAA.xml | tee "$MYPAGEAAA_LOG" MYPAGEAAA_RESULT=${PIPESTATUS[0]} echo "" echo "===================================================" echo "πŸš€ Starting tests for MyWebsiteBBB..." echo "πŸ“„ Logging output to: logs/uat_myWebsiteBBB.log" echo "===================================================" ./vendor/bin/phpunit -c phpunit.myWebsiteBBB.xml | tee "$MYWEBSITEBBB_LOG" MYWEBSITEBBB_RESULT=${PIPESTATUS[0]} echo "" echo "=================== SUMMARY =======================" if [ $MYPAGEAAA_RESULT -eq 0 ]; then echo "βœ… MyPageAAA: SUCCESS" else echo "❌ MyPageAAA: FAILED (Check logs/uat_myPageAAA.log)" fi if [ $MYWEBSITEBBB_RESULT -eq 0 ]; then echo "βœ… MyWebsiteBBB: SUCCESS" else echo "❌ MyWebsiteBBB: FAILED (Check logs/uat_myWebsiteBBB.log)" fi echo "===================================================" # If any test failed, return an error code for continuous integration systems if [ $MYPAGEAAA_RESULT -ne 0 ] || [ $MYWEBSITEBBB_RESULT -ne 0 ]; then exit 1 fi exit 0 

Has anyone run into this before? Why is PHPUnit ignoring my myWebsiteBBB environment variables and forcing the default site directory? Any pointers would be greatly appreciated!

submitted by /u/ScriptNone
[link] [comments]
  •  

How do I override individuel Nodes with Canvas?

Could somebody help me and take a look at this question please?
I want to use a Canvas Content Template as default for a Content Type (e.g. "Projects"), BUT be able to override individual nodes.

Example:

  • Template has Title + Subtitle + Image
  • For one specific Project node, remove subtitle (or completely different layout)

What I've tried:

  1. Content Type β†’ Manage Display β†’ "Allow each content item to have its layout customized" is not a visible option
  2. Canvas enabled for View Mode
  3. Edit Node β†’ looking for "Layout" tab / Canvas override checkbox β†’ nothing visible

Questions:

  1. Where exactly does the "Override default template for this node only" checkbox from Issue #3567225 appear?
  2. Do I need to create Content Template first (/canvas/content-templates)?
  3. Missing permission or feature not in Canvas 1.0?
  4. Is there a Workaround like Custom Block per node or other solution?
submitted by /u/probefahrer
[link] [comments]
  •  

Time to tackle Drupal's deployment complexity once and for all?

Forgive this Drupal noob for being blunt, but maybe something good can come out from this seemingly naive question.

Drupal and the newly launched Drupal CMS are powerful and reasonably easy to setup, but they are rather complex to deploy from testing (edit: from a dedicated development environment) to production. They have always been that way, as if suffering from a chronic blind spot, that over time was taken for granted.

Drupal funding comes largely from companies providing (expensive) Drupal hosting services, which include testing (edit: various) environments and migration. In general we are all grateful to these companies. But the harder it is to host Drupal, the more customers these companies have. They may not be discouraging development towards ease of deployment, but they don't seem to incentivize it either. Forking on the other hand would be highly impractical due to a large and complex code base.

If the premise is correct, then I suggest someone within the Drupal community to propose an official goal and funding target, to finance the development of a comprehensive one-click automated deployment functionality with rollback, in both Drupal core and Drupal CMS. Something similar to the Drupal CMS local backup and restore functionality, but remote and more comprehensive.

Edit 1: typo

Edit 2: as noted by some comments, the module "workspaces" (included in core since Drupal 11) can migrate contents between multiple environments within a single instance

Edit 3: the requested cross-instance deployment feature is not provided by other CMS so it's probably unreasonable to request it specifically for Drupal

Edit 4: the official Drupal guide includes a chapter on manual code and content migration at https://www.drupal.org/docs/user_guide/en/install-dev-making.html

submitted by /u/uomo-col-megafono
[link] [comments]
  •  

drupal cms error

drupal cms error

hello,

im a newbie and i have installed drupal cms, but every time im working on the site , after few changes it get stuck , and the website on localhost is not possibel to acces annymore.

Already happend 4 time.

anybody know what is wrong?

i will put printscreen from the error here.

Thx in advance!

https://preview.redd.it/s1p8noxg8gkg1.png?width=786&format=png&auto=webp&s=3ba68a2f801789faf538c8e036f8b435fcf9c34b

submitted by /u/freelancer1978
[link] [comments]
  •  

The new content metrics module discussed yesterday

The new content metrics module discussed yesterday

Contributors, editors and other content maintainers of long-running Drupal sites should be able to easily see how their content has evolved over time. While analytics modules illustrate the consumption of our site content over time, we needed a tool to illustrate the creation of it.

To enable that, I've just published a new module called Content Metrics. It provides charts illustrating content activity, such as articles created per month over the past 12 months. It also has additional related charts (content type counts, and comments over time), and I'll add others soon.

My goal was to keep it very simple to start with, without loads of dependencies and without promising too much. It also needed to be helpful out-the-box, without requiring admins to spend ages setting it up.

Aren't there enough good modules like this already?

Before making this, I did a bunch of investigating of the current contrib modules, and I only decided to make this after confirming that there just isn't a simple, useful, well-maintained module that provided this sort of information in a a visual format (charts).

You're probably well aware of the many analytics modules: Statistics β€’ Statistics Counter β€’ Statistics Advanced β€’ Statistics rolling period β€’ Entity Metrics β€’ Google Analytics β€’ Page Analytics β€’ AI Google Analytics β€’ Visitors (Web Analytics) β€’ Analytics

However they track site visitor data; they don't report on internal info.

There are also several modules that do report internal site info: Yet another statistics module β€’ Statistics Pro β€’ Metrics β€’ Drupal Metrics β€’ Prometheus Metrics β€’ Users Metrics β€’ Redirect Metrics β€’ Cache Metrics β€’ Server and Db metrics

However each of them had one or more of the following downsides: It didn't show helpful info about content over time, or it didn't show the data in charts, or it wasn't actively maintained, or it just took way too much time to set up. Most of them are great modules, but they're not what my team needs.

So if this is useful to your team or your clients, please give it a try and let me know how you'd like me to improve it; additional charts, exposed filters, different chart styles, etc.

submitted by /u/Droces
[link] [comments]
  •  

Drupal Views Exposed Filters causing SEO Issues

How do you deal with Views Exposed Filters and ajax links that cause SEO errors in tools like Semrush?

Or Search Console yelling at you for Views Exposed Filters with param links like /blog?combine=&tid=469&viewsreference%5Bcompressed%5D=eJxdkEEOgyAQRe8yaxdtutLLkLGMOOmABkcbY7x7IVpJuyDw570PCRtYVIRmA4xu9hQUmjCLVN that cause 404s or the dreaded pagination causing Alternate page with proper canonical tag on links like /blog?8f6666e1_page=27&921a62f2_page=9&aa16511d_page=17&page=12?

I have good experience with Drupal and Views but don't see any options to clean these issues up. Im about to output json and use some js script to provide better filtering options. I'd hate to have to hack views to get proper filters because it would feel too much like webflow + finsweet.

Any pros out there have a solution for this or did I Drupal myself into a corner?

submitted by /u/ExcitingSpell4918
[link] [comments]
  •  

Node auto post on X, Facebook, Instagram, Linkedin ?

If someone has experienced on auto post on social network ? I see there is a social_post module but its stop updating since 2024, I want to create node with image field in Drupal1o, then auto post the image with content on X, Facebook, Linkedin, and maybe Instagram, please suggest if you know about this , Thank you.

submitted by /u/wayle9
[link] [comments]
  •  

DrupalCon Chicago 2026 - Drupal In A Day materials?

I'm new to Drupal and unable to attend the upcoming DrupalCon, but I'd love to get the presentation materials for the Drupal In A Day presentation after it's over. Is that something that's done after the convention is over?

I mean, I recognize that the point is a hands-on experience, and to be fair, I have stumbled my way through setting up a couple of sites, but I'd love to have the official materials to fix my process so that I'm doing it "right" according to actual experts.
Either way, if those materials will be available, how can I get them or request them?

submitted by /u/RyuMaou
[link] [comments]
  •  

Is there a good "internal metrics" module like this?

Is there a good "internal metrics" module like this?

Hi everyone. I've just had a discussion with my colleages (I work at the Uni. of Cambridge), and they'd love to have metrics of how content (and other entites) have changed over time; how content, comments, users, etc. have changed over the past days, weeks months, etc.

The idea is for the "editors" of a popular website - who have created a lot of content over a long period of time - to get an idea of how their content has changed over time, along with other helpful things like comments, user signups, etc.

I know there are a lot of typical analytics modules, but are there any good modules that calculates these sorts of things? And do they have nice charts like the attached pic?

*The attached pic is a mockup I just made to discuss this with my team, and to clarify what I'm wanting.

If no module exists like this, would it be helpful if I built it and put it on D.o?

submitted by /u/Droces
[link] [comments]
  •  

Keeping two distinct environments in sync

I'm helping to maintain a website for a non profit - Drupal, obviously, Drupal 11.

They have two environments on a hosted site, staging and prod, but they don't have much process in place.

A general question is how to keep two environments in sync, and verify that they're in sync. A complicating issue is that staging at this point lags way behind prod, they've tended to just make changes directly on prod.

I've been trying to diff the database, but this is pretty unwieldy. A further issue is that, even when people make changes on staging first, they don't always do precisely the same thing on prod.

I'd like to lock down both envs so that all changes route through me. That might prove difficult politically though. But the initial idea is to bring staging up to date with prod and then verify that. I'm not clear on the best way to do that though.

submitted by /u/Severe-Distance6867
[link] [comments]
  •  

Instagram feed from different accounts as a block.

hey I was wondering if there exits a module which can display an instagram feed from an account as a block, to be shown on the site (Drupal 11). I know these Moduls exists, my main problem ist, that they only can be linked with one account and I would like to display different instagram feeds from different accounts depending on the sites the block appears.

does somebody know if a Modul like that exist ?

submitted by /u/JamesMxJones
[link] [comments]
  •  

Enhanced Taxonomy Manager (ETM) β€” looking for beta testers for Drupal's taxonomy UI overhaul

Hey r/drupal,

I've been building Enhanced Taxonomy Manager β€” a drop-in replacement for Drupal's default taxonomy management UI. It adds drag-and-drop reordering, inline rename, drill-down breadcrumb navigation, find & replace, bulk operations, import/export, health checks, and keyboard shortcuts β€” all without leaving the page.

It's currently in beta and I'd love some real-world testing before a stable release. Works with Drupal 10/11.

Install: composer require drupal/etm

Project page: https://www.drupal.org/project/etm

If you give it a spin, I'd appreciate any feedback β€” bugs, UX issues, missing features, whatever. Thanks!

submitted by /u/Intelligent-Dingo878
[link] [comments]
  •  

Just tried Drupal CMS, Wow

I've been a Wordpress user and dev for many years. I really appreciate Drupal but I've rarely had projects that require that tool. Many clients have needed WP.

I just tested Drupal CMS and I am impressed. WP's launch of their online editor features was messy and confusing. It looks as though Drupal CMS has maybe skipped some of that. Probably had the benefit of witnessing WP's growing pains.

I have to say I'm surprised Drupal CMS wasn't developed earlier. It provides a very sensible UX.

submitted by /u/rpeg
[link] [comments]
  •  

Can we migrate data from Drupal 8 to Drupal 11 using the Migrate module? If yes, how?

Hi everyone,

I have a Drupal 8.9.x site (non-Composer based) and I need to move it to Drupal 11.

My goal is to migrate:

  • Content (nodes, users, taxonomy, media)
  • Configuration (content types, fields, views, etc.)
  • Files directory

I tried enabling:

  • Migrate
  • Migrate Drupal
  • Migrate Plus
  • Migrate Tools
  • Migrate Upgrade

I also connected the Drupal 8 database using:

$databases['upgrade']['default'] = [ 'database' => 'd8_db', 'username' => 'db', 'password' => 'db', 'host' => 'db', 'driver' => 'mysql', ]; 

However, when I run:

drush migrate:status 

I do not see upgrade_d8_* migrations being generated.

So my question is:

πŸ‘‰ Is it possible to migrate from Drupal 8 to Drupal 11 using the Migrate module like we do for Drupal 7 β†’ Drupal 10/11?

Or is the recommended approach to:

  1. Convert the D8 site to Composer
  2. Upgrade step-by-step (8 β†’ 9 β†’ 10 β†’ 11)
  3. Keep the same database

If migration is possible, what is the correct approach?

Thanks in advance πŸ™

submitted by /u/VishalYadav-09
[link] [comments]
  •  

We're a small agency looking to grow our client base and we want to build you a website! We have Drupal Certified Developers

A small South African web agency mostly female coders are looking to grow their client base and offering free sites and e-commerce solutions.

They build your company website OR e-commerce store completely FREE
Max 1 week turnaround time, all support is free – always

The Catch? only pay $5 per month for hosting (that's it!) if you don't want to host with us them then they charge a once off fee of $60
Domain registration paid on your own account (annual renewal only).

No hidden fees, No banners, No Adds Just a functional, professional website built by a local african team.

Don't need a site know anyone who does? They pay YOU 50% commission on any paid referrals you send our way.

They you want to to build relationships, help local businesses get online, and prove what they can do.

DM me if you want more info!

submitted by /u/Accomplished_Put5135
[link] [comments]
  •  
❌