Building custom themes for Drupal can be done with tons of approaches and many different ways of automating routine CSS operations. Here is the short list of tools I use with Gulp that I find solve close to 100% of the most common needs for Drupal (as well as for other CMS custom development). Feel free to share your thoughts on this list in the comments below. Continue reading
Category Archives: Drupal
Drupal 8: Taxonomy Terms by Level
In Drupal 8, sometimes we have a lot of levels of taxonomy terms and we need to manage this in our code. For example, what if we need to get a specific level of the taxonomy?
So let’s imagine the following taxonomy tree:
A fix for Drupal 8’s broken preview
Drupal 8 is still beta-ish in so many aspects, that “workarounds” is becoming a separate genre of Drupal development tips and tricks.
The today’s workaround is for the bug in “node preview” functionality. It is not frequently used, but can be rather convenient for large websites with moderation enabled. The bug can be spotted only when CSS styles, applied to the node/page template rely on the <body> CSS classes, namely the core-added page-node-type-[node bundle] body class. It helps to effectively distinguish different node templates, and therefore are widely relied on by front-end developers. However, in preview mode, this class appears entirely missing, which breaks the styling.
A Drupal Tune-up for the Bike Club
We spend a good deal of time touting our work for “bigger” clients – but we take just as much pride in our work for the “smaller” ones. Over the years we have done lots of work for non-profits like NYC Swim and the Byrd Hoffman Water Mill Foundation and we’re pleased to have recently added the Five Boroughs Bicycle Club to our client roster.
Drupal 8 Migration: Field Updates
By default, the migrate module in Drupal 8 updates existing nodes by completely overwriting all the fields in the target node with the data from the migration. But what if your client has modified content on the target (D8) system, and still wants to update the content with newly-mapped fields? For instance, there is a “description” that has been updated after the first migration, but now the client wants “subtitle” field to be migrated (which was empty or not present during the first pass), without overwriting the description field changes. Continue reading
Drupal 8 migration: taxonomy term lookups
By resorting to YAML files for configuration, Drupal 8 achieved a huge boost in flexibility and understandability of the parameters. Even more it is useful for such a “commonly uncommon” task as migration.
Indeed, in D7 you had a set of forms to match source to destination, using some limited set of processing options. Now, in D8, these three stages of migration are totally separated out, unleashing a (nearly) unlimited power of building processing pipes and referencing other migrations. Continue reading
Want 11 CDs for free?
It was completely unexpected. Out-of-the-blue I was asked today by one of my co-workers to write a blog post. I thought hard about which new front-end development tools I have been using lately, but couldn’t think of anything that had had a significant impact on my professional life recently. Then I looked at today’s date and I realized that it is my 20-year anniversary here at Boyle Software. These twenty years certainly had a significant impact on my life…
Decoupled Drupal for NEO U
We are currently working on the mobile and desktop presence for RhinoCo’s new flagship NEO U Fitness, a state-of-the-art fitness facility that is going to open soon in New York City.
Ready to sweat for RhinoCo Fitness
We are excited to announce that Boyle Software has started working with RhinoCo Fitness on exciting new projects.
RhinoCo Fitness was founded in 2007 with the goal of making fitness more accessible by using connected technology to deliver essential tools, supplements, and training programs to people across the world. In 2010 RhinoCo partnered with Reebok to open the first Reebok Crossfit Gym, which quickly became the highest-grossing retail store for Reebok and a world-renowned fitness center for RhinoCo.
Drupal 8: Views scrollTop behavior
It’s a weird piece of Drupal 8 out-of-the-box behavior: each time after you AJAX-load a views block with exposed filter, you are scrolled to the top of the block! It’s especially tiresome for mobile device users… Is there a way that we can fix it??
Removing this behavior entirely is a massive improvement. Here is a recipe to circumvent the issue for Drupal 7 – but it won’t work for Drupal 8! But search no more. Here for you is the exact solution: