Drupal 8

Migration Mess

Submitted by Marc on Sun, 06/17/2018 - 14:44

When I set out to learn Drupal 8, I wanted to do things in the recommended ways - of course! So, when I ran into the challenge of importing items into Drupal, I got a little stuck. In Drupal 7, I've used the Feeds module for MANY uses and it's worked very well. When it came time for D8, however, it seemed as though Feeds hasn't really been a big focus in favor of the core module, Migrate. So, I dove headfirst into the new migrate API and started writing code.

You Say Custom Field Formatter I Say Template Preprocess Field

Submitted by Marc on Sat, 05/19/2018 - 13:31

I must admit that in all the time I've spend developing Drupal 7 modules, I've never quite fully understood render arrays. Oh, I understand that it's basically an array of stuff with some objects mixed in for chaos and I've used preprocess functions to change some of the array adding custom functionality prior to it being rendered in the DOM. But, when it really came down to brass tax, I sort of always felt as if I were "hacking" it a little. Almost like I thought there was some Drupal API call that I was missing to get at the values, set custom values, etc.

Tags

Dependency Injection or: How I Learned to Stop Worrying and Love OO-PHP

Submitted by Marc on Wed, 04/25/2018 - 21:01

I spent much of the past 2 days deep in training on Drupal 8 module development. I'm using the fantastic Drupalize.me and the articles on Drupal.org. Even though I went though the OO-PHP training recently so more of the Drupal 8 stuff makes more sense than before, my head was still reeling from all of the new particles whizzing past.

Trusted Host Localhost

Submitted by Marc on Tue, 04/24/2018 - 20:29

So, the other day I ran into an oddity with Drupal 8 and local development. I've known about how to configure the Trusted Host Settings before. However, this was the first time I decided to try using the settings.local.php file and I thought why not put the trusted host for my local dev environment in there only. And of course keep my main server trusted host in the regular settings.php file. Well, as it turns out, that didn't work at all.

Tags

Where am I with Drupal 8?

Submitted by Marc on Sat, 03/17/2018 - 14:36

One of the original goals of this website was to help me train on Drupal 8 and I promise I will get there! I'm just involved with a Drupal 7 site build at the moment (which is going very well) and so I'm putting off my Drupal 8 training for a little bit. But I'll get back there! One thing to note about this recent build is I've incorporated two new technologies that I've not used in production before - CSS Grid and CSS Variables. I also started with the Tao theme so I could start with as base a level as possible.

First Things First

Submitted by Marc on Mon, 01/29/2018 - 20:50

Starting off with Drupal 8 isn't much different than Drupal 7. Same installation process, same configuration, roughly similar interface once you're in. What's different for me at this stage is a change in hosting. I don't consider myself a "DevOp" in that I don't know much about and don't typically handle server configurations for websites. I'm a developer through and through so I focus on the specific web technologies like PHP, HTML, CSS, JavaScript and the like. So, when it came time to spin up a Drupal 8 site from scratch, I ran into a few bumps.