Drupal News

Drupal Console: Drupal Console 1.5.0

Key/Value in yaml files?

  • New to Drupal and frustrated by the documentation. A big and maybe stupid question is where can I find definitions for the key/value pairs in .yml files? For example, in *.info.yml, there's a key/value pair "type: module". Can I type it as "type1: moduleS"? Ok, finally I found an article on Drupal.org(NOT an API document) telling me something about *.info.yml and its key/value. But, where can I find the definition for other .yml like files under "core\profiles\standard\config\install"? And what are rules/conventions for the name of these files? Do I have to read and understand codes of Drupal core?

    submitted by /u/KKwale
    [link] [comments]

    3 days 12 hours ago

Acquia Developer Center Blog: Acquia Headless Lightning and Content API

Acro Media: Drupal Commerce 2: How to set up Product Attributes

  • In this five part Acro Media Tech Talk video series, we use our Urban Hipster Commerce 2 demo site to show you how to set up a new product in Drupal Commerce 2, from start to finish. This is the first video in the series, How to set up Product Attributes.

    If you're creating a whole new product type from scratch, the first thing you want to do is setup any product attributes that your product needs. For example, a shirt product type may have a number of sizes (small, medium, large) and colours available to choose from. Size and colour are both product attributes. As a site administrator, you'll use the attributes to configure your product variations. As a customer, your'll use the attributes to pick the exact product that you want to purchase.

    Next week we'll post part 2: Product Attributes using Rendered Fields

    Its important to note that this video was recorded before the official 2.0 release of Drupal Commerce and so you may see a few small differences between this video and the official release now available.

    Urban Hipster Commerce 2 Demo site

    This video was created using the Urban Hipster Commerce 2 demo site. We've built this site to show the adaptability of the Drupal 8, Commerce 2 platform. Most of what you see is out-of-the-box functionality combined with expert configuration and theming.

    More from Acro Media Drupal modules used in this video

    3 days 17 hours ago

Weekly useful Drupal things to know thread

DrupalEasy: DrupalEasy Podcast 203 - David Hernandez (New Jersey, Governance, Docksal, tiny zoos)

mark.ie: Out of the Box has just been Committed to Drupal Core 8.6.x

  • Out of the Box has just been Committed to Drupal Core 8.6.x

    After two years of planning, discussing, and (eventually) coding, the "Out of the Box" initiative has just been committed to Drupal Core.

    markconroy Fri, 01/19/2018 - 13:30

    One of the things most often requested of Drupal has been a better experience "Out of the Box", so that when a new users installs it they see something more positive than a message saying "You have not created any frontpage content yet".

    To that end, a strategic initiative called the "Out of the Box Initiative" was set up. I was a member of that team. What we sought to do over the past two years was create a website for a (fictional) publishing company. We decided upon the name "Umami" for a food publishing company, publishing articles and recipes. We went through the full web design process - user stories, validation, requirements gathering, wireframes, design, development ... up to creating what we called the "MEGA Patch". And then submitted about 50 versions of it.

    This week we hoped our work would be committed to Drupal 8.5.0-alpha1, but we just missed that deadline. Instead, we had a meeting with the product owners last night to have the final "Needs Product Owners Review" tag removed from the "Create experimental installation profile" issue. Here's the video of that demonstration and meeting:

    Following that meeting, the tag was removed and our code was committed to Drupal 8.6.x. This means you'll see it shipping in Drupal in September at the latest, but we hope to get the final beta blockers fixed to have it backported to 8.5.0-beta. If you'd like to help squash some of the bugs, follow these "Out of the Box" issues. Here's the tweet from @webchick (THANKS!) announcing it:

    So, what is in this commit?

    This commit brings a new installation profile to Drupal. The profile is called "Umami" and has a corresponding "Umami" theme. It creates three content types - basic page, article, and recipe. It has listing pages for articles and recipes, some promotional blocks, a homepage, contact form, and search page. It is a fully-featured (small) website built using only (stable) Drupal core modules.

    We are not using experimental modules such as content moderation, layout builder, media, etc. Once they are stable, we hope to bring them into the "Out of the Box" experience as well.

    If you'd like to install it, try this link on SimplyTest.me.

    3 days 20 hours ago

Pages