38 private links
Define and expose self-contained UI patterns as Drupal plugins and use them seamlessly as drop-in templates for panels, field groups, views, Display Suite view modes and field templates.
Emulsify: Pattern Lab + Drupal 8
There is a lot happening in the Pattern Lab and Drupal 8 integration world.
At PNX, style guide driven development is our bag. It’s what we love: building a living document that provides awesome reference for all our front end components. And Drupal 8, with its use of Twig, complements this methodology perfectly. The ability to create a single component, and then embed that component and its markup throughout a Drupal site in a variety of different ways without having to use any tricks or hacks is a thing of beauty.
Cog is a Drupal 8 base theme created and maintained by the Acquia Professional Service Front-end team.
Gulp, Yarn, Sass, KSS-node, Susy etc.
In the previous tidbit, we looked at how Drupal 8 downloads software translations automatically, but what do software translations include? There are several new translation APIs for software translation in Drupal 8. Prior Drupal versions had the rule that you should use t() and format_plural() with little exceptions. Drupal 8 has much more complexity in this area, which may be a bliss or a curse depending on how you look at it. It definitely brings translation support to several areas that were not or poorly covered before. Buckle up, this 'tidbit' is more like a deep-dive into the woods of the API!
I need to take control over the rendering of a field_tags field in a node.html.twig template.
{% for key, item in content.field_tags if key|first != '#' %}
<div class="item-{{ key + 1 }}">{{ item }}</div>
{% endfor %}
Tools to create and run Drupal sites in the VVV virtual machine.
Yep! You'd do the same kind of setup as the multisite docs mention. Instead of pointing each virtualhost to the same docroot, you'd point each virtualhost to a different docroot. And you can add multiple vagrant_synced_folders entries, one for each site.
I have been using Varying Vagrant Vagrants (VVV) for some time now as my development environment for WordPress projects. If you haven’t used VVV, I encourage you to try it out, it makes a lot of things easier in terms of setting up your local server. VVV’s primary use is for the development of WordPress itself but the Auto Site Setup feature allows you to use VVV for developing your own WordPress projects.
[Drupal 7/8 content builder]
Paragraphs is the new way of content creation!
It allows you — Site Builders — to make things cleaner so that you can give more editing power to your end-users.
Put an URL and check!
Drupal project codebase can and should be managed with Composer, as it provides better and more reliable results when building codebase. Drupal Console is replacing Drush -based workflows fast.
We have been loving learning Drupal 8’s theming system over the last year. Drupal 8 core now uses the Twig template engine, which is a fast, flexible, and secure system that allows use to create the markup needed for the modern web.
What you can do with Drupal core’s Twig is pretty great, but the Drupal community always brings so much more to the table after real world use. We don’t use them all, all of the time, but have used many as our design and development needed. Here are our favorite modules to help build out your Drupal themes.
Docker for Drupal presentation
In this article I’ll be taking a look at how to build a simple yet robust workflow for developing sites that require PHP and MySQL. I’ll show you how to use Vagrant to create and run a web server on your own computer, with the version of PHP your live site runs. I also demonstrate a process for using a hosted service to deploy files in a robust way to your live server.
JavaScript code to process elements on page load on a Drupal 7 site uses behaviours.
The comprehensive CMS for small to medium sized businesses and non-profits.
simplytest.me helps you to find the module, theme or distribution that fits your needs.
It provides sandbox environments for testing the functionality of any project before even downloading it.
Drupal VM is A VM for local Drupal development, built with Vagrant + Ansible.
This project aims to make spinning up a simple local Drupal test/development environment incredibly quick and easy, and to introduce new developers to the wonderful world of Drupal development on local virtual machines (instead of crufty old MAMP/WAMP-based development).