Newsfeeds

Advanced Designers & Dragons: The Future of Designers & Dragons

RPGNet - 7 February 2018 - 12:00am
Four or five new books, coming to a game store near you ... eventually.
Categories: Game Theory & Design

Zhilevan Blog: What's new in Drupal 8.5

Planet Drupal - 6 February 2018 - 10:48pm
  It's long time Drupal 8 has been released, it's in the middle of the way but it's going to get matured. Drupal 8.5 is going to release on  March 7, 2018. good features are going to released, significant improvements. you can the list of them Drupal Core RoadMap(8.5 + 8.6)   
Categories: Drupal

Overlay panel

New Drupal Modules - 6 February 2018 - 8:17pm
Categories: Drupal

ADCI Solutions: Cloud hosting platforms. Part two: Acquia Cloud

Planet Drupal - 6 February 2018 - 7:32pm

Acquia Cloud is one of the modern hosting platforms that can enhance your work in a number of ways. If you consider yourself a good Drupal developer, you must know what possibilities Acquia Cloud provides.

Isolated environments, git support, extensive documentation, and even the Acquia Insight tool for website’s performance evaluation - Acquia Cloud has it all.

 

Learn more about Acquia Cloud

 

Categories: Drupal

PreviousNext: New in core: a layout builder for Drupal 8.5.0

Planet Drupal - 6 February 2018 - 5:14pm

Drupal 8.5.0 will come with a new experimental module, Layout Builder.

What is layout builder? Well its basically panelizer in core.

Watch the screencast for a quick run down of how to setup, configure and use it.

by Lee Rowlands / 7 February 2018 Tagged Drupal 8, Layouts, Blocks
Categories: Drupal

Skirmisher Publishing Releases 100 Oddities for an Egyptian Tomb

Tabletop Gaming News - 6 February 2018 - 3:00pm
I just saw that there was a new tomb found in Egypt that’s giving more insight into one of the most intriguing civilizations in world history. All sorts of things have been found in Egyptian tombs. They’re a great thing to toss into your RPGs, too. But it can be hard to come up with […]
Categories: Game Theory & Design

Wizards of the Coast Announces Mordenkainen’s Tome of Foes For Dungeons & Dragons

Tabletop Gaming News - 6 February 2018 - 2:00pm
It’s always nice to have options for your RPG character. Those that pick up Mordenkainen’s Tome of Foes will have plenty of new options available to them. Wizards of the Coast has announced this new book for Dungeons & Dragons, brimming with story hooks for your games, background options for characters, new alternate race traits […]
Categories: Game Theory & Design

Workhouse Games Posts New Awful Orphanage Teaser

Tabletop Gaming News - 6 February 2018 - 1:00pm
The folks over at Workhouse Games have posted up a new preview of their upcoming board game, Awful Orphanage. In the game, players will take on the role of an orphan, trying to escape the nightmarish realm of Ms. Pendergast’s Home for Wayward Children. You can get a good look at what you’ll be expecting […]
Categories: Game Theory & Design

Privateer Previews Crucible Guard Storm Troopers Art For Warmachine

Tabletop Gaming News - 6 February 2018 - 12:00pm
Privateer Press will be having their Lock & Load Gamefest soon. There, people will be able to get previews of all the cool things they’ve been working on. But some stuff they’re showing off in order to get you excited about L&L. Makes sense. In this case, we’re getting a look at the artwork for […]
Categories: Game Theory & Design

Podcast Roundup

Tabletop Gaming News - 6 February 2018 - 11:00am
Tuesday. Tuesday. Tuesday. Tuesday doesn’t get a lot of attention, I feel. We talk about Monday, because it’s the start of the week. Wednesday and we’re halfway there to the weekend. Thursday, I could never get a handle on Thursdays. And Friday’s Friday. But Tuesday… Well, we’re here, we might as well make the most […]
Categories: Game Theory & Design

DrupalCon News: Sneak peek at DrupalCon Speakers

Planet Drupal - 6 February 2018 - 10:41am

Our full session list will be announced on February 21 - but we just couldn’t wait to tell you about a few of the sessions that have us really excited.

Categories: Drupal

TGN Review: Munchkin CCG

Tabletop Gaming News - 6 February 2018 - 10:00am
Just about all of us have at least seen all the variations of Munchkin out there. It’s been a staple of Steve Jackson Games’ line since it came out. Most of the sets have been illustrated by the illustrious John Kovalic. Well, a new set of Munchkin is about to come out. One that’s different […]
Categories: Game Theory & Design

No Sender

New Drupal Modules - 6 February 2018 - 9:31am

No Sender suppresses the inclusion of a Sender header in email generated from the site. The Mime Mail module also happens to do what this module does, amidst plenty of other features.

Categories: Drupal

Aten Design Group: Drupal 8 Views: Entity Reference Exposed Filter as a Select List

Planet Drupal - 6 February 2018 - 9:18am

I have two content types: Art and Artist. The first content type, Art, has an entity reference field to the second content type, Artist. I have a view named “Art” which shows all Art content with an exposed “Artist” filter that lets a user pare down their results. For example, a user might use the “Artist” filter to only show art by Cleon Peterson. By default this exposed filter will be rendered by Views as an empty text input, which is pretty much entirely useless! Users may not know of Cleon Peterson and wouldn’t know to search for him.

A much better solution would be to show the options available for this filter as a select list.

This is exactly the problem I was faced with while working on The Octopus Initiative, a soon-to-launch Drupal 8 project by the Museum of Contemporary Art Denver that allows citizens of Denver the opportunity to take art from the museum home with them.

The solution

Let’s jump into the code.  You’ll need to either create a new module or add the code below from mca_artwork.module to the .module file of an existing one.  I created a new module called “MCA Artwork” and placed it in my project’s modules/custom directory.  My file structure looks like this:

- mca_artwork - mca_artwork.info.yml - mca_artwork.module

Here’s my mca_artwork.info.yml:

name: MCA Artwork type: module description: Customizes Artwork Display core: 8.x package: Custom

And here’s the mca_artwork.module file, where the magic happens:

<?php   /** * @file * Contains mca_artwork.module. */   use Drupal\Core\Form\FormStateInterface;   /** * Implements hook_form_FORM_ID_alter(). * * Alters the artist options on artwork pages. */ function mca_artwork_form_views_exposed_form_alter(&$form, FormStateInterface $form_state, $form_id) {   // If not the view we are looking, move on if ($form['#id'] != 'views-exposed-form-the-art-block-1') { return FALSE; }   // Query nodes $storage = Drupal::getContainer()->get('entity_type.manager')->getStorage('node'); $nids = $storage->getQuery();   // Gather published artist nodes and sort by title $nids = $nids->condition('type', 'artist') ->condition('status', 1) ->sort('title') ->execute();   // If there are no nodes, move on if (!$nids) { return FALSE; }   // Start building out the options for our select list $options = []; $nodes = $storage->loadMultiple($nids);   // Push titles into select list foreach ($nodes as $node) { $options[$node->id()] = $node->getTitle(); }   // Start building out our new form element $artist_field = 'artist'; $form[$artist_field]['#type'] = 'select'; $form[$artist_field]['#multiple'] = FALSE;   // Specify the empty option for our select list $form[$artist_field]['#empty_option'] = t('Artist');   // Add the $options from above to our select list $form[$artist_field]['#options'] = $options; unset($form[$artist_field]['#size']); }

If you read through the comments in the above code, you’ll see we are essentially doing the following things:

  1. We load all published artist nodes, sorted by name
  2. We create an array of Artist names keyed by node id. These will be our select list options.
  3. We change the existing artist form input to a select list and populate it with our new options array.

It turns out this is a common UX need in Drupal 8 Views.  My comrade at Aten, John Ferris, also ran across this problem for a recently-launched Drupal 8 project he worked on for the Center for Court Innovation, a non-profit seeking to to create positive reforms in the criminal justice system.  The code snippet for The Octopus Initiative was largely adapted from his work on the Center for Court Innovation.

For the Center for Court Innovation site, the Chosen JS library was added to provide an interface for searching through a larger list of items.

In summary, the module I created for The Octopus Initiative provides a useful UX over what Drupal Views offers out-of-the-box.  If you have a larger number of items in your select list, then you may consider adding something like Chosen JS to make it easier to sort through, as was done for the Center for Court innovation.  Whatever you do, don't leave your users stranded with an empty text element!

Categories: Drupal

Wreck Age: 2nd Edition Rulebook Now Available

Tabletop Gaming News - 6 February 2018 - 9:00am
Well, the world’s come to an end again. Damnit, Todd, I told you that “the nuclear option” didn’t mean just launching all the missiles and hoping for the best. Now we’ve got to find ways to survive in this post-apocalyptic wasteland. Thankfully, we used to play a bunch of Wreck Age, so we’re well-prepared. And […]
Categories: Game Theory & Design

Acro Media: Introducing the Urban Hipster (UH) Demo for Drupal Commerce 2

Planet Drupal - 6 February 2018 - 8:51am

Because Drupal has so many options and so much flexibility, it can be a bit intimidating to newcomers. It doesn't show you examples of what it can do, and it kind of seems to do nothing by default. We realized people needed to be shown just how cool it really is, so we built a demo site to do just that. Check it out here: http://commerce.acromedia.com

The setup

We focused on making it only with out-of-the-box stuff, restricting ourselves to the features and functionality that exist within Drupal Commerce ecosystem itself. No custom code or modifications other than normal theming. That's right: Using only what's available out there now, we came up with a pretty amazing ecommerce site, if we do say so ourselves.

One caveat: we did make a custom theme for the demo, which you'll probably want to do anyway. There are the default Drupal themes, but most people are going to want to create a custom one. But that's a relatively simple task for a front-end developer; you don't need a back-end developer as well.

All the other setup can be done through basic Drupal UI point-and-click configuration. If you're somewhat savvy with configuring Drupal, you can do it all yourself in a very short time, and produce a truly phenomenal site.

Sometimes you need some guidance

Many people wonder how it could possibly be so easy. We've been getting a lot of questions like, "How did you build this big amazing catalog?" And the truth is we didn't actually do that much. We just enabled and configured the functionality that was already available. Drupal has this great Search API (and associated modules, Solr and Facets) that lets you do a ton of search customizations for anything that's stored in Drupal (blog articles, users, products, whatever), so all you have to do is tweak the configurations and you get this amazing catalog.

It's not that hard, but it's not that intuitive either; you just need a little guidance and direction. Sometimes just seeing an example is enough to make you realize how easy it can be. And that's exactly what the demo provides. It features a checkout, tax configurations, some shipping options, and even a sample payment system. You can click around and check it out without fear of breaking things, the database resets every night.

When you go to the demo site initially, a popup is preseted with a bunch of guided tours, but you are of course free to ignore that and just play around with it yourself. We're also releasing a bunch of tutorial videos to help you. We also have a resources page that shows a lot of the different features you can check out.

Plus, all the source code for the demo, including the custom theme, is available on GitHub. Within the repo is a full database dump so you can set up the entire thing yourself locally (see the README.md). AND one of the Commerce module maintainers, Bojan Živanović, is taking some of the content and configuration from the demo and turning it into an installable demo store module.

It's seriously awesome. Check it out!

Chat with us

If you'd like a personalized tour to discuss how Drupal Commerce fits into your omnichannel solution, give us a shout. We're happy to show and tell.

Categories: Drupal

Smartly containing the cloud increases computing efficiency, says first-of-its-kind study

Virtual Reality - Science Daily - 6 February 2018 - 8:49am
Researchers discovered ways to further improve computing efficiency using management tools for cloud-based light-weight virtual machine replacements called containers.
Categories: Virtual Reality

Anvil Eight Previews The Vector For Aetherium

Tabletop Gaming News - 6 February 2018 - 8:00am
In physics, a vector is something that has both velocity and direction. In Aetherium, it’s a nasty program that is part of the Rhommox faction. That isn’t to say that it doesn’t also have velocity and direction. The velocity is “as fast as it can” and the direction is “into the heart of the enemy […]
Categories: Game Theory & Design

Worm 'uploaded' to computer and taught amazing tricks

Virtual Reality - Science Daily - 6 February 2018 - 7:58am
The tiny worm C. elegans is the only living being whose neural network has been analyzed completely. It can therefore be transferred to a computer, creating a virtual copy of the worm which behaves in exactly the same way to external stimuli. Such a 'virtual worm' can learn amazing tricks -- its neural network can even be used to balance a pole, which is a standard control problem in computer science.
Categories: Virtual Reality

Nice FileMime

New Drupal Modules - 6 February 2018 - 7:10am
Categories: Drupal

Pages

Subscribe to As If Productions aggregator