Tutorials https://ryanszrama.com/index.php/ en Replace asset-packagist with custom package repositories https://ryanszrama.com/index.php/blog/04-18-2022/replace-asset-packagist-custom-package-repositories <p>Drupal Commerce contributor Ryan Hovland of <a href="https://procycle.us/">ProCycle</a> reached out today in the <a href="https://www.drupal.org/slack">Drupal Slack</a> #commerce channel to let me know the <code>asset-packagist</code> Composer repository is defunct. This repository allowed projects like <a href="https://www.drupal.org/project/commerce_kickstart">Commerce Kickstart</a> to download JavaScript libraries managed by npm to a Drupal codebase via Composer.</p> <p>We still don't know why or how the domain lapsed, but it may have been related to business disruption caused by Russia's invasion of Ukraine, as the repository is maintained by a Kyiv based team called HiQDev. Whether that's the cause or not, I'd like to pause and remember our friends in the Drupal community who are suffering as a result of the war and express my hope for their safety and the end of hostilities. For me that includes several team members we've retained in partnership with <a href="https://lembergsolutions.com/">Lemberg Solutions</a>. Thinking of you all. 😔🙏🏼</p> <a href="https://ryanszrama.com/index.php/blog/04-18-2022/replace-asset-packagist-custom-package-repositories" hreflang="en">Read more</a> Mon, 18 Apr 2022 23:45:11 -0400 Ryan https://ryanszrama.com/index.php/blog/04-18-2022/replace-asset-packagist-custom-package-repositories How to customize Drupal's Olivero colors on deploy https://ryanszrama.com/index.php/blog/02-26-2021/how-customize-drupals-olivero-colors-deploy <p>It's been years since I paid much attention to my personal blog, dropping by only occasionally to post something new, moderate comments, or apply Drupal updates. I've been <em>wanting</em> to upgrade for a while, and the current status of Drupal 9 + its core themes Olivero (front-end) and Claro (admin) convinced me to spend a few evenings making it happen. However, I didn't want to just rock the blue palette the Olivero theme uses by default.</p> <p>In various areas of my life, my motif is late 70's, early 80's ... '77 Alfa Spider, long hair and trucker hat, fleece lined sherpa jacket, etc. I'll work all night grooving to <a href="https://www.youtube.com/watch?v=u1V8YRJnr4Q">CCR</a> or <a href="https://nightride.fm/stations?station=darksynth">Darksynth</a>, and if I can't have an angular <a href="https://bringatrailer.com/listing/1982-lamborghini-countach-2/">Lamborghini Countach</a>, I can at least dream of a Tesla Cybertruck. To make Olivero "mine", I opted for an 80's synthwave inspired palette pairing the Centarro purple with neon pink accents.</p> <a href="https://ryanszrama.com/index.php/blog/02-26-2021/how-customize-drupals-olivero-colors-deploy" hreflang="en">Read more</a> Fri, 26 Feb 2021 12:16:10 -0500 Ryan https://ryanszrama.com/index.php/blog/02-26-2021/how-customize-drupals-olivero-colors-deploy Building a Rotating Image Banner as a Views Slideshow https://ryanszrama.com/index.php/blog/06-08-2010/building-rotating-image-banner-views-slideshow <p>On two separate sites I've recently had to implement a rotating image banner that could optionally be linked to paths within the site or to external URLs. Originally I tried a (mostly) self-contained module that matched the feature set called <a href="https://www.drupal.org/project/rotor">Rotor</a> with some success but really needed greater flexibility. Undaunted, I rebuilt the functionality using a custom content type, a few CCK fields, ImageCache, and Views with the Views Slideshow plugin.</p> <p>This tutorial is for Drupal 6 and walks through the exact steps I took to build the slideshow for the relaunch of <a href="https://www.biblicaltraining.org/">Biblical Training</a>, including enabling the right modules, creating the content type, defining the ImageCache presets, and building the View.</p> <p>Hope it helps!</p> <p><b>1. Enable the dependent modules.</b></p> <a href="https://ryanszrama.com/index.php/blog/06-08-2010/building-rotating-image-banner-views-slideshow" hreflang="en">Read more</a> Tue, 08 Jun 2010 14:11:59 -0400 Ryan https://ryanszrama.com/index.php/blog/06-08-2010/building-rotating-image-banner-views-slideshow