DreamForge-Games Two new releases and a crazy good Memorial day sale

Tabletop Gaming News - 27 May 2016 - 12:00pm
Been a while since we heard from the DreamForge-Games crew. But that doesn’t mean they’ve been sitting around doing nothing. They’d taken back over distribution of their products and that can be quite a busy time. They’ve also got a pair of new figures available. Plus, they’re having themselves a sale this weekend. The new […]
Categories: Game Theory & Design

NEWMEDIA: Build robust forms in Drupal 8

Planet Drupal - 27 May 2016 - 11:00am
Build robust forms in Drupal 8 Over the last few Drupal releases, the Webform module has been the standard for creating robust forms and surveys. While this venerable module has served the community’s needs quite well, major releases of Drupal often afford the opportunity to take a fresh look at how common problems are solved, leveraging new technologies and concepts introduced in the release. Tanner J. Ferguson Fri, 05/27/2016 - 18:00 Baked into Core

Since Drupal 4.6, Drupal Core has shipped with a basic contact form module that had limited functionality. Finally, the contact module got some much-needed attention in Drupal 8. Contact forms are now fieldable entities, allowing us to build forms with the same fields we build content types, taxonomies, and other entities with.

Building Out the Form

Forms are created and managed by navigating to Structure->Contact Forms in the Admin menu. From here, choose “Add contact form.”


This takes us to a form for setting the name of the form, email addresses for submissions to be sent to, and optionally an auto-reply message to the submitter. Once saved, we are taken back to the Contact Forms admin page. 

This gives us a basic form with Sender Name and Email, a Subject field, and a basic text area for a Message. To add fields to our new form, we need to select the “Manage Fields” option in the Operations dropdown. From here, we can add any of the field types available on the site.

Form Display

To customize how the form is displayed, we want to select the “Manage Form Display” option in the Operations dropdown. This will allow us to change the order of the fields for the form, change configurations for each field, and allow us to disable any fields that are provided by default that we don’t want to use.

Manage Display

Similar to Form Display, if we want to change the order and display of fields in the submission emails, using the “Manage Display” option will allow us reorder or hide fields from showing in the submission email.

Submission Storage and Export

Everything we’ve covered so far is great if we want to build out a form and start getting submissions by email. However, if we want to save and view submissions in the site or want to export the submissions in bulk, we need to look to some contributed modules to fill in the gaps.

Contact Storage Module

As its name implies, the Contact Storage module addresses the need for a central location from which content editors can review and manage form submissions on the site. The module also provides Views integration as well as some additional customization options for our forms. The default configuration provides these features for us, so we can install the module and start benefitting from it immediately.

Submission Exports

We now have robust forms and a place to centrally store their submissions, with Views giving us the ability to build out lists of submissions. What we’re still missing at this point is a way to download the submissions in bulk, and it’s fairly common to want such an export in a format like CSV that can be loaded into a spreadsheet application. To achieve that, we can put our Views integration to use, along with Drupal 8’s REST Module, and the CSV Serialization module. 

Once these modules are installed, create a new view of Contact Messages and check the “Create a REST Export” option, providing the path we will navigate to trigger the export. Then hit Save and Edit to continue configuring the view.

In the format section of the view configuration page, we see the format is set to “Serializer”. Here, we want to configure the settings for Serializer, and select the “csv” format.

At this point we have a working view that will export all submissions as a CSV. We can leave the view set to show content as “Entity,” which will export all fields for the submission, or we can switch the display to “Fields,” which will allow us to specify the fields we want in the export, and how they are formatted.

With exports now provided by Views, we can create custom exports for specific forms, or we can utilize Exposed Filters and Contextual Filters to provide an export that works for all forms, allowing users to choose how they want the export filtered.

More Form Solutions in Contrib

If we need to provide robust survey forms now, the approach covered here is currently the most stable and ready to implement. If this solution doesn’t meet your use case, it might be worth taking a look at eForm, the Drupal 8 version of the Entityform module introduced in Drupal 7. There is also still some discussion of a Drupal 8 port of the Webform module, so it’s possible with enough interest we could have a few different solutions for providing front-facing forms to end users.

While building forms will be a bit different in Drupal 8 compared to previous versions, the experience is more in line with what we’ve come to expect from building Content Types and other fieldable entities. This provides the opportunity for more flexibility and functionality when building front-facing forms, and the Views integration provides the opportunity to present and export the submitted form data just the way we need.

Categories: Drupal

Friday Snippets

Tabletop Gaming News - 27 May 2016 - 11:00am
It’s almost here, everyone! The weekend will be here before you know it! Along with the gaming, I’m certainly ready for pizza for dinner tonight. The Ramen I’ve been having is getting a bit old on the palate. But in the meantime, I can nosh on some bite-sized gaming stories. Today we have: Syrinscape and […]
Categories: Game Theory & Design

Forge World Discontinuing Certain Items

Tabletop Gaming News - 27 May 2016 - 10:00am
All good things must come to an end. In order to make room for new figures in their warehouse, the folks over at Forge World have decided to discontinue making certain other items. These pieces are never going to be made again. So if you want any of them, you’d better hurry. So whether you […]
Categories: Game Theory & Design

WizKids Shows off Borg Cube Scenario

Tabletop Gaming News - 27 May 2016 - 9:00am
Resistance is futile. You will be assimilated. Or, at least, the Borg are going to do their best to try and assimilate you. Your job is to defeat them. That’s not going to be easy, though. This new Cube has some surprises in store for those that want to take it on in combat. This […]
Categories: Game Theory & Design

RedHen Commerce Addressbook

New Drupal Modules - 27 May 2016 - 8:26am

RedHen CRM integration with Drupal Commerce shipping and billing profiles via Commerce Addressbook.

Categories: Drupal

Stewards of the Secret Hero and Monster Pack Available Now For Descent: Second Edition

Tabletop Gaming News - 27 May 2016 - 8:00am
Descent had quite a lot of expansions come out for it before it changed to the 2nd edition. Making sure that people get to play with all those cool figures if they like the new edition has been a priority for Fantasy Flight Games. Having said that, I’m letting you know that they’ve released the […]
Categories: Game Theory & Design

Growing Esports: Inspiration From Other Industries - by Jake Parmley Blogs - 27 May 2016 - 7:55am
Red Fox Insights found that the number gamers watching esports more than once a week in the US and UK was still relatively low - particularly in the UK. Discover how game brands are borrowing from other industries to improve esports engagement.
Categories: Game Theory & Design

New Ghar Attack Scutters Available For Beyond the Gates of Antares

Tabletop Gaming News - 27 May 2016 - 7:00am
An individual Ghar, without any sort of armor or vehicle to ride around in, isn’t exactly what most people would consider “intimidating on the battlefield.” They tend to be seen as weak, meek, and frail things. However, what they lack in physical prowess they make up for in the ability to craft items to more-than […]
Categories: Game Theory & Design

Third & Grove: The One and Only entity_metadata_wrapper!

Planet Drupal - 27 May 2016 - 7:00am
The One and Only entity_metadata_wrapper! miro Fri, 05/27/2016 - 10:00
Categories: Drupal

6 Trailer tips: Don’t offend your audience—like Mighty No. 9 - by M. Joshua Cauller Blogs - 27 May 2016 - 6:59am
Mighty No. 9’s latest trailer has over ten thousand dislikes—and for good reason. Let's learn from its mistakes.
Categories: Game Theory & Design

YouTuber / Streamer Outreach and the Importance of Starting Small - by Richard Atlas Blogs - 27 May 2016 - 6:59am
In this post I talk about my experience reaching out to YouTubers and Streamers to play our game. We've managed to reach some of the biggest content creators and haven't paid a cent for it. Here are my ideas.
Categories: Game Theory & Design

Mobile is to Become the Top Money Maker in Asia for Game Developers (Report) - by Mantin Lu Blogs - 27 May 2016 - 6:58am
The game market generated 91.8 billion USD globally in 2015, of which Asian public companies shared 32% of it. The revenue of Asian companies is holding its impressive growing trend and mobile will overtake PC became the most important platform in Asia.
Categories: Game Theory & Design

On the subject of being asked, and asking for help with a game. - by Brittany Jackson Blogs - 27 May 2016 - 6:58am
We've all said our piece about the 'Exposure' machine when it comes to ideas and potential pay outs, but what about keeping friendships alive when projects and ideas come around? Here's what I've learned since joining the industry.
Categories: Game Theory & Design

Don Calaca - by Jose Alejandro Silva Ruiz Blogs - 27 May 2016 - 6:56am
Return to programming after a while, I'll keep alive my inclusive one button project.
Categories: Game Theory & Design

Unity: SpriteRenderer vs UIImage (CanvasRenderer) - by Ruben Torres Blogs - 27 May 2016 - 6:55am
Differences between UIImage and SpriteRenderer and performance implications
Categories: Game Theory & Design

Mediacurrent: Friday 5: 5 Tips for Improving Your Site's SEO

Planet Drupal - 27 May 2016 - 6:22am

We made it to the finish line of another busy work week!

Thanks for joining us for Episode 9 of The Mediacurrent Friday 5. This week, Community Lead Damien McKenna discusses 5 Tips for Improving Your Site's SEO with the one and only Mark Casias.

Categories: Drupal

Using virtual users to develop accessible ICT-based applications

Virtual Reality - Science Daily - 27 May 2016 - 6:10am
In a new report, researchers report the development of a set of parametric cognitive virtual models of users with disabilities that can be used to simulate the user interaction with Information and communications technology (ICT) applications. This simulation will allow researchers to develop more efficient and accessible ICT applications for people with functional limitations and disabilities.
Categories: Virtual Reality

Privateer Press Previews Khador for Warmachine MkIII

Tabletop Gaming News - 27 May 2016 - 6:00am
It’s coming down to the wire, folks. The new edition of Warmachine and Hordes is almost upon us. What have you thought about the previews so far? Has it reignited your love for the game? Has it make you look at the system anew? Have you seen one of your favorite units be torn to […]
Categories: Game Theory & Design

Valuebound: Drupal 8 Commerce is on the Way! DrupalCon New Orleans 2016.

Planet Drupal - 27 May 2016 - 4:13am

A lot of thanks to the commerce guys for contributing the Drupal commerce module to Drupal community, which took drupal to a different level in the CMS world. Its very exciting, Commerce 2.x which is the Drupal 8 version of drupal commerce. As like any other drupal developer / architect, I am also excited about Commerce 2.x

Thank God, I was one of the fortunate ones to attend the Commerce Guys session on DrupalCon New Orleans 2016, the very first session after the release of ‘8.x-2.0-alpha4’  version of drupal commerce. It was an amazing session, which made a lot of things clearer,a lot of unanswered questions were answered…

Categories: Drupal


Subscribe to As If Productions aggregator