Drupal VM comes preconfigured to support Xdebug but being super new at Twig debugging/Xdebug, it took quite a bit of research to get it to the point where I can debug Twig templates within PHPStorm. I tried to document my journey for others to check out, hopefully it helps! Requirements: Drupal 8.6.x site running in […]
Category Archives: Tutorials
Getting started with GridSome and Drupal 8
One of my biggest gripes about Drupal is how complicated it can be to do a simple task. Drupal 8’s JSON API has made giant gains in having a pretty close to “out of the box” solution for a robust JSON API. With GridSome, you barely even need to know how to use Drupal. GridSome […]
Fix for Vetur not formatting Vue file’s <template> html in VS Code
After installing Vetur and enabling Hit CMD + Shift + P in VSCode and start typing “User Settings” until you can select it from the dropdown under Preferences: User Settings. Add the following to your user profile. After some Google-fu, I eventually landed on this Github issue which bestowed the fix.
Switching my WordPress sites to https on GreenGeeks
I’ve used GreenGeeks hosting for years now and I really enjoy their services. I’m going to briefly talk about my experience moving two of my WordPress sites to SSL on GreenGeeks shared hosting. Moving to https used to be a little more of a pain in the butt, however thanks to Let’s Encrypt and forward-thinking […]
Adding a ‘thousands’ separator to ChartJS’s Y axis and tooltips
I learned the toLocaleString() method for adding thousands separators from this Github issue (https://github.com/chartjs/Chart.js/issues/411) These options in your options config will add a thousands separator to your tooltips and yAxes.
Drupal 7: Implementing designs & patterns using Paragraphs
I know the sun is setting on Drupal 7, but I think it’s still got a few good years left and someone may find this useful. Design systems and pattern libraries are all the rage now. If you’re on Drupal 7 and using Paragraphs, you may be wondering how you can go about implementing patterns […]
Using different template (tpl.php) files for a specific content type in Drupal 7
Use case In one of our sites, we post email communications that were sent out as all-campus announcements on our website. The problem is, our basic web template does not look like an email template. So I thought, “I wonder if I could just load a separate set of tpl.php files based on the content […]
How to do a basic accessibility audit on your site
Here are some tools and methods for running an accessibility audit on your site. This can be a little bit easier if you already have a design system or component library in place, but it isn’t necessary to gain some insights into how your site can be more accessible. The way I usually do it […]
Launching a college news site with Drupal
SUNY Oswego recently switched from a legacy install of Expression Engine to integrating with the rest of our web platform and using Drupal hosted by Acquia to “re-design” our new News site. Hopefully this post will help others thinking of migrating to Drupal and provide some helpful tips if you’re already in the process of […]
Using your Android phone as a pet/security camera with IP Cam and Ivideon
My wife and I just got a new puppy and are crate training him. We’d love to know how he’s doing if we’re not there so I decided to look into some DIY pet-cam solutions. Using the IP webcam app for Android and Ivideon cloud streaming service, I was quickly able to get up and […]