Blog

  • Saturday, April 13th, 2019

    My Drupal update process used to involve downloading the core update as a zip, unpacking it, deleting from the host, and FTP uploading everything back up again. When I started working on Drupal 8 sites the crazy number of Symfony files and everything made the process take close to an hour. I was able to get that down to about 15 minutes if I had shell access. A decent cpanel that had a file manager with extract operations was about as quick too. Once the vendor and core folders are zipped up I can upload them, delete the old directory and extract the new.

  • Sunday, March 17th, 2019

    Happy New Year! 

    A couple of weeks ago I quietly relaunched my site in Drupal 8. It was a great opportunity to refine my update processes and come up with some new ones. It also gave me a chance to review my content. It's pretty humbling to look back at my blog posts and realize a little painfully how far I have come and how far I have yet to go.

  • Sunday, September 18th, 2016
    I have a site where we want to add a NextGen Gallery slideshow into a page template only for certain pages. The slideshow will appear outside of the loop just above the main content blocks. In order to make it totally customizable from page to page I'm adding the ability to use a Custom Field value to select which gallery to display.
  • Wednesday, August 10th, 2016
    A few years back I set up a Drupal Webform as a contact form for county legislators. It was linked from their bio page and for the sake of reusability and not adding 20+ webforms I set it up so the recipient field would be dynamically set based on what bio it was coming from.
  • Saturday, April 23rd, 2016
    This week I had a bit of a struggle figuring out how to access a value in a PHP array with stdClass Objects all nested together.
  • Tuesday, May 19th, 2015
    I got Drush working on my site the other day. It was pretty cool doing the Drupal 7.37 from a command line.
  • Wednesday, April 1st, 2015

    I've been trying to get around to doing a re-design of my site and a new theme for a few months now. Recently a number of articles have come out regarding how Google will punish you if your site is not mobile-friendly. So rather than wait on design I put a stop-gap in place by taking the Bootstrap Drupal theme and making a child of it and put some really quick design shoehorning to make it look like my original theme. The Bootstrap theme is really nice to work with as a base theme.

  • Friday, March 13th, 2015

    I typically use the theme Seven when I work in Drupal's admin zone. It does the job fine and I'm familiar with it. In the course of developing some sites I'm starting to think of some things to add to the interface to make my life easier and I thought I'd share them here.

    So I just added a folder to /sites/all/themes/seven and put my overridden files in there.

    Show the current Drupal Version.

    At the top of page.tpl.php inside the div id="branding" immediately after <?php print $breadcrumb; ?>

  • Thursday, February 19th, 2015

    I built a website in Drupal that uses a node type with an abundance of fields. Its purpose is for listing different types of local food suppliers that fell into other areas such as tours, activities and so forth. The nodes had so many fields because the owner's of the site wanted to attach a lot of different data pieces to each listing so they can track when they signed up, paid for print listing, how they paid, etc. This is in addition to all the data fields the site visitor would be interested in while browsing these members.

  • Sunday, January 18th, 2015

    There's a right way to do something, a wrong way to do something and the way I did it.