Newsfeeds

Midweek Snippets

Tabletop Gaming News - 22 November 2017 - 11:00am
Continuing the theme, in a way, it’s Friday, since it’s the last workday of the week. But it’s actually Wednesday. Thankfully, either way, we’d be having a Snippets post. So, before we all chow down on all that delicious food tomorrow, let’s tide ourselves over with some bite-sized gaming stories now. On the platter we […]
Categories: Game Theory & Design

Platoon Commander Deluxe: Kursk Board Game Up On Kickstarter

Tabletop Gaming News - 22 November 2017 - 10:00am
The Battle of Kursk was the largest tank battle the world had ever seen. It was also a point where the seemingly unbeatable German war machine was halted by the Russians. A true turning point in history, it will soon be brought to your tabletops in Platoon Commander Deluxe: Kursk, a new board game up […]
Categories: Game Theory & Design

Drupal blog: An update on the Workflow Initiative for Drupal 8.4/8.5

Planet Drupal - 22 November 2017 - 9:57am

This blog has been re-posted with permission from Dries Buytaert's blog. Please leave your comments on the original post.

Over the past weeks I have shared an update on the Media Initiative and an update on the Layout Initiative. Today I wanted to give an update on the Workflow Initiative.

Creating great software doesn't happen overnight; it requires a desire for excellence and a disciplined approach. Like the Media and Layout Initiatives, the Workflow Initiative has taken such an approach. The disciplined and steady progress these initiative are making is something to be excited about.

8.4: The march towards stability

As you might recall from my last Workflow Initiative update, we added the Content Moderation module to Drupal 8.2 as an experimental module, and we added the Workflows module in Drupal 8.3 as well. The Workflows module allows for the creation of different publishing workflows with various states (e.g. draft, needs legal review, needs copy-editing, etc) and the Content Moderation module exposes these workflows to content authors.

As of Drupal 8.4, the Workflows module has been marked stable. Additionally, the Content Moderation module is marked beta in Drupal 8.4, and is down to two final blockers before marking stable. If you want to help with that, check out the Content Moderation module roadmap.

8.4: Making more entity types revisionable

To advance Drupal's workflow capabilities, more of Drupal's entity types needed to be made "revisionable". When content is revisionable, it becomes easier to move it through different workflow states or to stage content. Making more entity types revisionable is a necessary foundation for better content moderation, workflow and staging capabilities. But it was also hard work and took various people over a year of iterations — we worked on this throughout the Drupal 8.3 and Drupal 8.4 development cycle.

When working through this, we discovered various adjacent bugs (e.g. bugs related to content revisions and translations) that had to be worked through as well. As a plus, this has led to a more stable and reliable Drupal, even for those who don't use any of the workflow modules. This is a testament to our desire for excellence and disciplined approach.

8.5+: Looking forward to workspaces

While these foundational improvements in Drupal 8.3 and Drupal 8.4 are absolutely necessary to enable better content moderation and content staging functionality, they don't have much to show for in terms of user experience changes. Now a lot of this work is behind us, the Workflow Initiative changed its focus to stabilizing the Content Moderation module, but is also aiming to bring the Workspace module into Drupal core as an experimental module.

The Workspace module allows the creation of multiple environments, such as "Staging" or "Production", and allows moving collections of content between them. For example, the "Production" workspace is what visitors see when they visit your site. Then you might have a protected "Staging" workspace where content editors prepare new content before it's pushed to the Production workspace.

While workflows for individual content items are powerful, many sites want to publish multiple content items at once as a group. This includes new pages, updated pages, but also changes to blocks and menu items — hence our focus on making things like block content and menu items revisionable. 'Workspaces' group all these individual elements (pages, blocks and menus) into a logical package, so they can be prepared, previewed and published as a group. This is one of the most requested features and will be a valuable differentiator for Drupal. It looks pretty slick too:

An outside-in design that shows how content creators could work in different workspaces. When you're building out a new section on your site, you want to preview your entire site, and publish all the changes at once. Designed by Jozef Toth at Pfizer.

I'm impressed with the work the Workflow team has accomplished during the Drupal 8.4 cycle: the Workflow module became stable, the Content Moderation module improved by leaps and bounds, and the under-the-hood work has prepared us for content staging via Workspaces. In the process, we've also fixed some long-standing technical debt in the revisions and translations systems, laying the foundation for future improvements.

Special thanks to Angie Byron for contributions to this blog post and to Dick Olsson, Tim Millwood and Jozef Toth for their feedback during the writing process.

Categories: Drupal

Indiana University Paragraphs

New Drupal Modules - 22 November 2017 - 9:40am
Paragraphs for Indiana University

This module provides custom Paragraph types for building complex pages comprised of elements from the IU Pattern Library like section, grids, and chunks that conform to the design standards in the IU Web Style Guide.

Categories: Drupal

NTools

New Drupal Modules - 22 November 2017 - 9:12am

Access important markup information in 1 click or less to expand faster.
https://github.com/NerOcrO/ntools

Categories: Drupal

MasterSweets Card Game Up On Kickstarter

Tabletop Gaming News - 22 November 2017 - 9:00am
Longtime readers know my love of cooking, especially in the “sweets” realm. Cookies, pies, cheesecakes. I have created and consumed them all. (which reminds me that I need to make a pumpkin pie and some spiced whipped cream for tomorrow…) So, when I see a card game that’s called MasterSweets and puts you in charge […]
Categories: Game Theory & Design

Agaric Collective: Display forms in a modal dialog with Drupal 8

Planet Drupal - 22 November 2017 - 8:54am

Drupal 8 has a great AJAX form API which includes some tools to create modal dialogs using the jQuery modal library. The Examples module even demonstrates how to create a custom form and display it in a modal window. But what if what you want to do is display an already created form in a modal? How do we do that? Let's see how to do it with an example. Let's display the node add form in a modal window.

The first thing that we need to do is create a link which will trigger the modal when the user clicks it. The only special things that this link needs to have are a few attributes that will let Drupal know to display the contents of the link in a dialog:

<a href="http://agaric.com/node/add/article" class="use-ajax" data-dialog-type="modal" data-dialog-options="{'width':800,';height':500}"> Create Node </a>

Drupal also needs to include the JavaScript libraries which will read these attributes and make them work, so let's add the following libraries to your module's dependencies (in your equivalent to this example's modal_form_example.libraries.yml file).

dependencies: 'core/drupal.dialog.ajax', 'core/jquery.form',

If you are unsure about how to add libraries on Drupal 8 you can consult the documentation to either add it in a theme or add it in a custom module. At the end of the post I will provide a repository with the code where I added the libraries in a block.

And that's it! If you click the link, the form will be displayed in a modal dialog! Drupal will automatically detect that you are sending an AJAX request and will display just the form so you won't need to worry about removing the rest of the blocks or hiding undesired markup.

The last thing missing, is what will happen if the user creates a node? By default, the node will redirect the user to another page but if we want to just close the modal dialog and leave the user on the same page we need to tell the form to do that. For this we are going to alter the form and add an AJAX command letting Drupal know that we want to close the dialog as soon as the node is created. In the .module file of a custom module we will add this code:

use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Ajax\AjaxResponse; use Drupal\Core\Ajax\CloseModalDialogCommand; use Drupal\Core\Ajax\RedirectCommand; /** * Implements hook_form_alter(). */ function modal_form_example_form_node_article_form_alter(&$form, FormStateInterface $form_state, $form_id) { $form['actions']['submit']['#submit'][] = '_modal_form_example_ajax_submit'; $form['actions']['submit']['#attributes']['class'][] = 'use-ajax-submit'; } /** * Close the Modal and redirect the user to the homepage. * * @param array $form * The form that will be altered. * @param \Drupal\Core\Form\FormStateInterface $form_state * FormState Object. */ function _modal_form_example_ajax_submit(array $form, FormStateInterface &$form_state) { $response = new AjaxResponse(); $response->addCommand(new CloseModalDialogCommand()); $form_state->setResponse($response); }

The first function adds an extra submit function (which will be executed after Drupal finishes processing the node) and the second function adds the command to close the Dialog when the node has been created.

We can do this with practically any form in Drupal and you can add extra commands to do more complex things. Here are two resources:

Categories: Drupal

Red Panda Miniatures Black Friday Sale Announcement

Tabletop Gaming News - 22 November 2017 - 8:00am
While Heath “BA” Foley has been around in the gaming world for quite some time as an artist now, this is his first year as a game designer with Panda Cult Games. They had their successful Kickstarter campaign for Wander earlier. And now they’ve got their own Black Friday Sale coming this weekend. Be sure […]
Categories: Game Theory & Design

Bookable Entities Everywhere

New Drupal Modules - 22 November 2017 - 7:52am
Categories: Drupal

Solid9 Studio and Exorder: A Story of Perseverance - by Rafal Belke

Gamasutra.com Blogs - 22 November 2017 - 7:28am
This is the tale of Solid9 Studio and their game, Exorder. They set off on a journey and survived many adventures, including an encounter with a stranger bearing a poisoned apple.
Categories: Game Theory & Design

Tencent and NetEase announce Q3 results - by Lisa Hanson

Gamasutra.com Blogs - 22 November 2017 - 7:27am
The gaming trend that cannot be ignored is the global success of Battle Royale games. Not to be left behind, Tencent and NetEase recently unveiled plans to compete in this segment.
Categories: Game Theory & Design

Urza’s Dream Engine &amp; The RoboRosewater RoboDraft: Creating a machine learning algorithm to illustrate Magic cards - by Andy Wallace

Gamasutra.com Blogs - 22 November 2017 - 7:27am
I spent that last two months teaching a bot to create illustrations for Magic: The Gathering cards designed by another bot. How I built Urza's Dream Engine to generate art for RoboRosewater cards and the tournament that humans played with automated cards.
Categories: Game Theory & Design

The Games That Inspired me to Become a Developer - by Michael Smith

Gamasutra.com Blogs - 22 November 2017 - 7:27am
These are the games that changed things for me, the games that made me what I am.
Categories: Game Theory & Design

The Entity-Component-System - An awesome game-design pattern in C++ (Part 1) - by Tobias Stein

Gamasutra.com Blogs - 22 November 2017 - 7:25am
In this article I want to talk about the Entity-Component-System (ECS). It is a design pattern – mostly encountered in video games – which allows you great flexibility in designing your overall software architecture.
Categories: Game Theory & Design

The Entity-Component-System - BountyHunter game (Part 2) - by Tobias Stein

Gamasutra.com Blogs - 22 November 2017 - 7:25am
This is the second part of my series "The Entity-Component-System". This time I am going to show how to use the ECS implementation from my first post and build a game with it.
Categories: Game Theory & Design

Privateer Press Black Friday Sales Announced

Tabletop Gaming News - 22 November 2017 - 7:00am
This is the season of buying things for cheaper than you’d usually have to spend. Pretty much every company out there’s got a sale going, and Privateer Press is no different. Their sale is actually already going. You’ve only got until Sunday to get these special deal pricings, though. From the website: Black Friday Sale! […]
Categories: Game Theory & Design

Dries Buytaert: An update on the Workflow Initiative for Drupal 8.4/8.5

Planet Drupal - 22 November 2017 - 6:57am

Over the past weeks I have shared an update on the Media Initiative and an update on the Layout Initiative. Today I wanted to give an update on the Workflow Initiative.

Creating great software doesn't happen overnight; it requires a desire for excellence and a disciplined approach. Like the Media and Layout Initiatives, the Workflow Initiative has taken such an approach. The disciplined and steady progress these initiative are making is something to be excited about.

8.4: The march towards stability

As you might recall from my last Workflow Initiative update, we added the Content Moderation module to Drupal 8.2 as an experimental module, and we added the Workflows module in Drupal 8.3 as well. The Workflows module allows for the creation of different publishing workflows with various states (e.g. draft, needs legal review, needs copy-editing, etc) and the Content Moderation module exposes these workflows to content authors.

As of Drupal 8.4, the Workflows module has been marked stable. Additionally, the Content Moderation module is marked beta in Drupal 8.4, and is down to two final blockers before marking stable. If you want to help with that, check out the Content Moderation module roadmap.

8.4: Making more entity types revisionable

To advance Drupal's workflow capabilities, more of Drupal's entity types needed to be made "revisionable". When content is revisionable, it becomes easier to move it through different workflow states or to stage content. Making more entity types revisionable is a necessary foundation for better content moderation, workflow and staging capabilities. But it was also hard work and took various people over a year of iterations — we worked on this throughout the Drupal 8.3 and Drupal 8.4 development cycle.

When working through this, we discovered various adjacent bugs (e.g. bugs related to content revisions and translations) that had to be worked through as well. As a plus, this has led to a more stable and reliable Drupal, even for those who don't use any of the workflow modules. This is a testament to our desire for excellence and disciplined approach.

8.5+: Looking forward to workspaces

While these foundational improvements in Drupal 8.3 and Drupal 8.4 are absolutely necessary to enable better content moderation and content staging functionality, they don't have much to show for in terms of user experience changes. Now a lot of this work is behind us, the Workflow Initiative changed its focus to stabilizing the Content Moderation module, but is also aiming to bring the Workspace module into Drupal core as an experimental module.

The Workspace module allows the creation of multiple environments, such as "Staging" or "Production", and allows moving collections of content between them. For example, the "Production" workspace is what visitors see when they visit your site. Then you might have a protected "Staging" workspace where content editors prepare new content before it's pushed to the Production workspace.

While workflows for individual content items are powerful, many sites want to publish multiple content items at once as a group. This includes new pages, updated pages, but also changes to blocks and menu items — hence our focus on making things like block content and menu items revisionable. 'Workspaces' group all these individual elements (pages, blocks and menus) into a logical package, so they can be prepared, previewed and published as a group. This is one of the most requested features and will be a valuable differentiator for Drupal. It looks pretty slick too:

I'm impressed with the work the Workflow team has accomplished during the Drupal 8.4 cycle: the Workflow module became stable, the Content Moderation module improved by leaps and bounds, and the under-the-hood work has prepared us for content staging via Workspaces. In the process, we've also fixed some long-standing technical debt in the revisions and translations systems, laying the foundation for future improvements.

Special thanks to Angie Byron for contributions to this blog post and to Dick Olsson, Tim Millwood and Jozef Toth for their feedback during the writing process.

Categories: Drupal

An update on the Workflow Initiative for Drupal 8.4/8.5

Dries Buytaert - 22 November 2017 - 6:57am

Over the past weeks I have shared an update on the Media Initiative and an update on the Layout Initiative. Today I wanted to give an update on the Workflow Initiative.

Creating great software doesn't happen overnight; it requires a desire for excellence and a disciplined approach. Like the Media and Layout Initiatives, the Workflow Initiative has taken such an approach. The disciplined and steady progress these initiative are making is something to be excited about.

8.4: The march towards stability

As you might recall from my last Workflow Initiative update, we added the Content Moderation module to Drupal 8.2 as an experimental module, and we added the Workflows module in Drupal 8.3 as well. The Workflows module allows for the creation of different publishing workflows with various states (e.g. draft, needs legal review, needs copy-editing, etc) and the Content Moderation module exposes these workflows to content authors.

As of Drupal 8.4, the Workflows module has been marked stable. Additionally, the Content Moderation module is marked beta in Drupal 8.4, and is down to two final blockers before marking stable. If you want to help with that, check out the Content Moderation module roadmap.

8.4: Making more entity types revisionable

To advance Drupal's workflow capabilities, more of Drupal's entity types needed to be made "revisionable". When content is revisionable, it becomes easier to move it through different workflow states or to stage content. Making more entity types revisionable is a necessary foundation for better content moderation, workflow and staging capabilities. But it was also hard work and took various people over a year of iterations — we worked on this throughout the Drupal 8.3 and Drupal 8.4 development cycle.

When working through this, we discovered various adjacent bugs (e.g. bugs related to content revisions and translations) that had to be worked through as well. As a plus, this has led to a more stable and reliable Drupal, even for those who don't use any of the workflow modules. This is a testament to our desire for excellence and disciplined approach.

8.5+: Looking forward to workspaces

While these foundational improvements in Drupal 8.3 and Drupal 8.4 are absolutely necessary to enable better content moderation and content staging functionality, they don't have much to show for in terms of user experience changes. Now a lot of this work is behind us, the Workflow Initiative changed its focus to stabilizing the Content Moderation module, but is also aiming to bring the Workspace module into Drupal core as an experimental module.

The Workspace module allows the creation of multiple environments, such as "Staging" or "Production", and allows moving collections of content between them. For example, the "Production" workspace is what visitors see when they visit your site. Then you might have a protected "Staging" workspace where content editors prepare new content before it's pushed to the Production workspace.

While workflows for individual content items are powerful, many sites want to publish multiple content items at once as a group. This includes new pages, updated pages, but also changes to blocks and menu items — hence our focus on making things like block content and menu items revisionable. 'Workspaces' group all these individual elements (pages, blocks and menus) into a logical package, so they can be prepared, previewed and published as a group. This is one of the most requested features and will be a valuable differentiator for Drupal. It looks pretty slick too:

I'm impressed with the work the Workflow team has accomplished during the Drupal 8.4 cycle: the Workflow module became stable, the Content Moderation module improved by leaps and bounds, and the under-the-hood work has prepared us for content staging via Workspaces. In the process, we've also fixed some long-standing technical debt in the revisions and translations systems, laying the foundation for future improvements.

Special thanks to Angie Byron for contributions to this blog post and to Dick Olsson, Tim Millwood and Jozef Toth for their feedback during the writing process.

Categories: Drupal

Fantasy Flight Previews Different Tones in Genesys

Tabletop Gaming News - 22 November 2017 - 6:00am
No, the headline doesn’t mean that we’re taking a look at the different bardic classes in the game. Here, tone refers to how the game comes across for players. Is it light-hearted and comedic? Is it dark and brooding? Is it gritty? When a system says that it’s universal, it should be able to cater […]
Categories: Game Theory & Design

Workbench Access Menu Link

New Drupal Modules - 22 November 2017 - 5:35am

This module provides access controls for menu hierarchies using Workbench Access and based on menu link fields.

Categories: Drupal

Pages

Subscribe to As If Productions aggregator