@drupalthoughts@fosstodon.org
@drupalthoughts@fosstodon.org avatar

drupalthoughts

@drupalthoughts@fosstodon.org

https://linktr.ee/joehahn
#Drupal is the worst CMS; except for all those others " ― Winston S. Drupal

This profile is from a federated server and may be incomplete. Browse more on the original instance.

drupalthoughts, to drupal
@drupalthoughts@fosstodon.org avatar

In the KB, I see this note: "Projects should live under the home directory of the Linux filesystem. WSL2’s Linux filesystem (e.g. /home/ <your_username> ) is much faster and has proper permissions, so keep your projects there and not in the slower Windows filesystem (/mnt/c)."

I understand how NTFS adds overhead for reading/writing files, and can cause potentially confusing permission issues, but is "much faster" really true? Like how much much faster?

https://ddev.readthedocs.io/en/stable/users/install/ddev-installation/

drupalthoughts,
@drupalthoughts@fosstodon.org avatar

@kgaut I spoke too soon and should have tried before I asked. I moved the existing repo from /mnt/d/ddev/😬 to ~/ddev/😎 and it IS (literally) much faster :]

drupalthoughts,
@drupalthoughts@fosstodon.org avatar

@ddev That makes sense. I was expecting maybe a 25% performance increase, assuming it was solely typical NTFS issues, but it is literally a 5x-10x speed increase now that I tested. I use WSL on my main filesystem all the time seemingly without the same impact, so it made sense to use my dev drive to host the code

drupalthoughts, to drupal
@drupalthoughts@fosstodon.org avatar

What's your solution in #drupal for note titles that need formatting like bold and italics?
I almost always create separate "Title" (plain text) and "Display Title" (html) fields for content types, but I've never heard anyone else suggest this or seen it in practice. The bonus benefit of this is that it allows the plain text title to be used for sorting while displaying the desired Display Title, like if you want to prepend an emoji to the display title, or prepend an event title with CANCELLED:

drupalthoughts, to random
@drupalthoughts@fosstodon.org avatar

i think this is my fav email campaign of all time. never much of a fan, but just about any band could be used for this format.

drupalthoughts, to drupal
@drupalthoughts@fosstodon.org avatar

what are some of our favorite tools for screen recording training presentations for #cms like #drupal and #wordpress ?
I'm finding recorded #zoom screen sharing sessions to be ineffective, and I want to start cranking out short lessons and how-tos on a regular basis for adding to the #wiki
Essential features will be mouse click indicators, various visual aids, and anything that might make the recording and editing process easier.

drupalthoughts, to drupal
@drupalthoughts@fosstodon.org avatar

Any ideas why a #VPN service might severely slow down loading of a #Drupal 10 site?
🐌Overall network speed is the same
🐢vpn is using the system DNS
⌛the vpn doesn't have any ad-blocking or other filtering features enabled
🙃async or defer could be applied to fontawesome and some tracking scripts
🪳dev tools does show it is likely related to many/all of the various externally hosted tracking scripts not being able to phone home how they'd prefer, so probably not a cache/bigpipe issue
🤮

drupalthoughts, to drupal
@drupalthoughts@fosstodon.org avatar

i ran into some peculiar speedbumps building a very basic 10 site that would be showstoppers for novices:
😬 5 inline images and default admin themes don't apply height:auto, but do set image max-width to 100%, so my giant pixel art displays at the wrong aspect ratio before correcting it in both the admin and default themes
😬this haunted windows vs linux syntax issue with db config https://www.drupal.org/forum/support/post-installation/2024-03-09/error-drupalmysqldriverdatabasemysqlconnection-not-found
😬the generate-theme based theme ignores block layout order

drupalthoughts,
@drupalthoughts@fosstodon.org avatar

@wimleers I should have clarified this was for inline images with a manual image url entered for an already uploaded image.

drupalthoughts,
@drupalthoughts@fosstodon.org avatar

another speedbump was how in no longer supports link target, title, etc. I wound up needing this contrib module https://www.drupal.org/project/editor_advanced_link

drupalthoughts, to drupal
@drupalthoughts@fosstodon.org avatar

I 🖤 #drupal again! The growing pains from 7 to 8 to 10 made me worry about the future of Drupal and caused me to explore alternate paths of focus for career opportunities, like #salesforce, but seeing how great d10 has become, and looking forward to 11, I want Drupal to be my main squeeze.

drupalthoughts, to drupal
@drupalthoughts@fosstodon.org avatar

I've been tasked to upgrade another inherited 9 site to 10, apply a some major updates to the existing theme, and stage it on
As-is, none of the contrib modules had been defined in its config, and it has quite a few complex added features and content types that may no longer be required. Let's see how this goes! 😎

drupalthoughts,
@drupalthoughts@fosstodon.org avatar

for starters, it's #drupal 9.3, so I'll need to get it to 9.5 before upgrading to 10. That requires #composer v1, so I'll need to 'composer selfupdate --1' and then switch back to 2 after the update, IF that's successful

drupalthoughts,
@drupalthoughts@fosstodon.org avatar

the initial strategy is uninstall and remove any #drupal modules that aren't required. Use #drush to update any that are required (since they aren't in composer.json), see if I can get it to 9.5 and then 10, then worry about wrangling and composerizing the existing contrib modules that are wandering around

drupalthoughts,
@drupalthoughts@fosstodon.org avatar

Not a disaster, yet. Upped to #drupal 10.2.1. No #WSOD on the homepage or admin interface, though I haven't tested any other pages or views yet. I thought the #Radix based theme would be a showstopper, but that went ok. There was an odd theme function using hook_preprocess_image() that I had to disable, so now I'm just in the process of testing everything on the frontend :]

Tim Curry twisting a doorknob that turns on a shower which sprays him in the face, from Clue

drupalthoughts,
@drupalthoughts@fosstodon.org avatar

😬 fwiw, this #drupal 9.3 to10 upgrade was all done with a #WAMP dev environment in Windoze 11, #git for #windows with the little git Bash terminal, #vscode, manually installing the latest cacert.pem, and #dbeaver for creating backups at each major step. I'm OS ambidextrous, having been a datacenter tech and sysadmin, and always with a #linux vm running for various tools as well as #wsl. I just think most people believe this can't all be done on win.

drupalthoughts,
@drupalthoughts@fosstodon.org avatar

ok.. on to testing and migrating this into #pantheon #drupal hosting 🙃

drupalthoughts,
@drupalthoughts@fosstodon.org avatar

but first, I ran composer require 'drupal/[module]' for each #drupal contrib module that had been installed manually into the root module folder (years ago), first verifying the same version would be installed (into ./contrib), deleting the old version, running drush cr, and performing some basic tests. After doing that ten times, this site is now composerized :]

drupalthoughts,
@drupalthoughts@fosstodon.org avatar

this process wound up working to get two other sites from #drupal 9.3 to 9.5 to 10.2.1.
I had to fix some issues with #Twig 'spaceless' being deprecated in the custom themes, and the profile_switcher #drush module saved me from remnants of Lightning 2.x beta something, though some time ago a lot of effort was put into disabling and removing all lightning workflow related features. 🦤 I think I like drupal again!

drupalthoughts, to drupal
@drupalthoughts@fosstodon.org avatar

getting around a lot of the chicken+egg probs with 8 to 9 upgrades, though the destination server still needs to be upgraded from 7 to 8, and versions are either non d9.5 compatible or non php7.4.? compatible so it's like the chicken is a dodo 🦤 and the egg is a russian doll 🪆

drupalthoughts, to drupal
@drupalthoughts@fosstodon.org avatar

using one of the node revision bulk delete modules is very helpful since there doesn't seem to be many sane ways to go about it. Now it only takes a fraction of a second to delete each revision, times 20,000 😬

drupalthoughts, to drupal
@drupalthoughts@fosstodon.org avatar

i'm updating a #drupal 8 site to 10 and tumbling through some of the changes in #css #scss #sass class conventions, maybe due to the outdated #radix theme? where underscores are now hyphens and various <div> have appeared and disappeared 😬
is there a standard/programmatic way to update the classes at least? 🤔

atomicpoet, to fediverse

#Mastodon tried hard to kneecap social discovery on the #Fediverse in the name of preventing toxicity and abuse.

Little did they know that lack of social discovery would be a catalyst for toxicity and abuse.

It’s this lack of social discovery that causes Reply Guys to randomly pop into threads with neither sensitivity nor context, demanding people educate them on things when they’re called out on bad behaviour.

If only these people would read threads before talking—but they don’t because social discovery is kneecapped on Mastodon.

drupalthoughts,
@drupalthoughts@fosstodon.org avatar

@atomicpoet Thanks for clarifying. I was reading about your comments on #barcelona (terribly obfuscating codename) the other morning, and wanted to learn more in general, but found it difficult to find relevant links, blogs, summaries, etc. Do you have any good resources to link to stay informed? I hope this doesn't make me a reply guy person

drupalthoughts, to php
@drupalthoughts@fosstodon.org avatar

I discovered and solved an oddity in #Drupal views twig implementation. Yes you can use twig in views, but what I was using in a twig template to offer one link to {% if logged_in %} users and a login link to anon users doesn't work in the limited twig support in views, so I had to create two duplicate views, one for logged-in and one for anon, with the prepopulated link or login link being the only difference :]

drupalthoughts, to php
@drupalthoughts@fosstodon.org avatar

okfine "...require php ^7.3 -> your php version (8.1.9) does not satisfy that requirement." 😬

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • InstantRegret
  • ethstaker
  • magazineikmin
  • GTA5RPClips
  • rosin
  • modclub
  • Youngstown
  • ngwrru68w68
  • slotface
  • osvaldo12
  • kavyap
  • DreamBathrooms
  • Leos
  • thenastyranch
  • everett
  • cubers
  • cisconetworking
  • normalnudes
  • Durango
  • anitta
  • khanakhh
  • tacticalgear
  • tester
  • provamag3
  • megavids
  • lostlight
  • All magazines