I'm currently in the process of moving my beloved WordPress blog over to Eleventy and it's been a really awesome opportunity to learn some new things. During the migration, I noticed my syntax highlighting for HTML tags looked a little weird. The lines were highlighted and the text was all caps. Example syntax showing the [...]
This should be the first result when Googling “Drupal 8 jsonapi paragraphs”
If you're looking for a great article that gets right to the point and shows you how to interact with Drupal using the JSONAPI, look no further. This article by Sergey Linkin explains it all.
Is it bad practice to print fields that will use Drupal WYSIWYG in Pattern Lab using |raw?
Probably. This is a question I recently asked in the Drupaltwig Slack #pattern-lab channel. Some background: I recently had a situation where I had a "Page introduction" component. This component has 1 field, and it's a WYSIWYG field, which means it needs to print HTML. Here is the structure of my component: page-introduction |- page-introduction.twig [...]
Photos from Oswego, NY
Sharing content around multi-sites in Drupal 7 using JavaScript
Problem: We have 150+ multi-sites and would like to share certain lists of content (Views) between them. In this specific case, there is a need to show a list of programs on a department site. Each department has their own multi-site, and there is 1 programs site that all the data will come from as [...]
Happy doggo
Treat content as a hypothesis
I'm currently reading through Design Systems by Alla Kholmatova. I would highly recommend the book to any designer or front-end developer who is depended on for delivering design at scale. One part that really stuck out to me is when she talks about treating content as a hypothesis. We've all heard the chicken and egg [...]
Debugging Twig templates with Drupal VM + Xdebug + PHPStorm
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 [...]
This is why I can’t get side projects done
Proper etiquette for the advancement of design
https://youtu.be/PpqOqjid7jM